waitingList.remove(copy.getOriginal().getid());
copy.getOriginal().setcurrArrivalTime(time);
setTmpNumCaseParallel(this.getNumCaseInParallel());
copy.getOriginal().setjoinFinished(true);
if (hasFreeCapacity()){
Resource r = getResource();
sim.bindRes(r);
SimActivity act = new SimActivity(copy.getOriginal(), this, r);
SimStartEvent sta = new SimStartEvent(sim, time, act);
sim.addEvent(sta);
incZeroDelays();