public void startMixing() {
synchronized(lock){
if(isRunning == false){
isRunning = true;
ProduceIngredients produceIngredients = new ProduceIngredients(this);
Timer timer = new Timer("mixer");
timer.schedule(produceIngredients, (long) (Clock.convertToSimulatedTime(executionTime)));
completionTime = Clock.addTime(executionTime);
System.out.println("Started mixer "+this.id+", will be completed at "+completionTime.toString());
}