Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.AssemblyLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003789/0.0003789, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0002017/0.0002017, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1501/0.1501, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.0199/0.0199, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(BusinessSimulation.Examples.AssemblyLine,startTime=0,stopTime=25,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.AssemblyLine",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(BusinessSimulation.Examples.AssemblyLine,startTime=0,stopTime=25,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.AssemblyLine",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 8.22e-07/8.22e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 9.017e-06/9.839e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.AssemblyLine): time 0.01087/0.01088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003292/0.01417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.01464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.0152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.01568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.01671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001078/0.01779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0005054/0.0183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0009058/0.0192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.01955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.01965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.01976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000207/0.01997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.02028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0008032/0.02108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001084/0.02119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 9.52e-07/0.02119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.604e-06/0.0212, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00131/0.02251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.11e-05/0.02259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.02294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/0.02374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.02386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.02491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.02493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.02501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.02503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.02545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.02799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.02828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.02843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.02846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.02888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=69): time 4.619e-06/0.02888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=69): time 0.0006738/0.02955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.02966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.02997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.0301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.03036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.0305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.03076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.99e-05/0.03081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.03101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.03131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.03182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.03184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=168) (initialization): time 0.0008237/0.03266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.03271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.03272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.652e-05/0.03276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.03321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.098e-05/0.03324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.03359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.03366, allocations: 0 / 0, free: 0 / 0 Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $PRE.machine1.inflow.stopOutflow = true $PRE.machine2.inflow.stopOutflow = true. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 112 ($PRE.beingReleased.cloud.massPort.stopInflow,$PRE.beingReleased.cloud.massPort.stopOutflow,$PRE.incomingStore.inflow.stopInflow,$PRE.incomingStore.outflow.stopInflow,$PRE.machine1.inflow.stopOutflow,$PRE.intermediateStore.inflow.stopInflow,$PRE.intermediateStore.outflow.stopInflow,$PRE.machine2.inflow.stopOutflow,$PRE.outgoingInventory.inflow.stopInflow,$PRE.outgoingInventory.outflow.stopInflow,$PRE.movingOn.inflow.stopInflow,$PRE.movingOn.inflow.stopOutflow,outgoingInventory.outflow.stopOutflow,$PRE.outgoingInventory.outflow.stopOutflow,outgoingInventory.inflow.stopOutflow,$PRE.outgoingInventory.inflow.stopOutflow,intermediateStore.inflow.stopInflow,outgoingInventory.inflow.stopInflow,outgoingInventory.outflow.stopInflow,movingOn.inflow.stopInflow,movingOn.inflow.stopOutflow,beingReleased.cloud.massPort.stopInflow,incomingStore.outflow.stopInflow,machine1.inflow.stopOutflow,intermediateStore.outflow.stopInflow,machine2.inflow.stopOutflow,beingReleased.cloud.massPort.stopOutflow,incomingStore.inflow.stopInflow,beingReleased.growing.portB.stopInflow,loading2.useB_rate,$PRE.loading2.useB_rate,loading2.useA_rate,$PRE.loading2.useA_rate,loading2.portB.stopInflow,loading2.portA.stopOutflow,machine2.fixedUnloadingTime,$PRE.machine2.fixedUnloadingTime,machine2.fixedMaxLoadingTime,$PRE.machine2.fixedMaxLoadingTime,machine2.fixedSetupTime,$PRE.machine2.fixedSetupTime,machine2.fixedLoadingTime,$PRE.machine2.fixedLoadingTime,machine2.fixedProcessingTime,$PRE.machine2.fixedProcessingTime,machine2.nextStartLoading,$PRE.machine2.nextStartLoading,machine2.lastStartTime,$PRE.machine2.lastStartTime,machine2.lastStartLoading,$PRE.machine2.lastStartLoading,machine2.latestStartTime,$PRE.machine2.latestStartTime,machine2.outflow.data,$PRE.machine2.outflow.data,machine2.inflow.stopInflow,$PRE.machine2.inflow.stopInflow,intermediateStore.outflow.stopOutflow,$PRE.intermediateStore.outflow.stopOutflow,intermediateStore.inflow.stopOutflow,$PRE.intermediateStore.inflow.stopOutflow,loading1.useB_rate,$PRE.loading1.useB_rate,loading1.useA_rate,$PRE.loading1.useA_rate,loading1.portB.stopInflow,loading1.portA.stopOutflow,machine1.fixedUnloadingTime,$PRE.machine1.fixedUnloadingTime,machine1.fixedMaxLoadingTime,$PRE.machine1.fixedMaxLoadingTime,machine1.fixedSetupTime,$PRE.machine1.fixedSetupTime,machine1.fixedLoadingTime,$PRE.machine1.fixedLoadingTime,machine1.fixedProcessingTime,$PRE.machine1.fixedProcessingTime,machine1.nextStartLoading,$PRE.machine1.nextStartLoading,machine1.lastStartTime,$PRE.machine1.lastStartTime,machine1.lastStartLoading,$PRE.machine1.lastStartLoading,machine1.latestStartTime,$PRE.machine1.latestStartTime,machine1.outflow.data,$PRE.machine1.outflow.data,machine1.inflow.stopInflow,$PRE.machine1.inflow.stopInflow,incomingStore.outflow.stopOutflow,$PRE.incomingStore.outflow.stopOutflow,incomingStore.inflow.stopOutflow,$PRE.incomingStore.inflow.stopOutflow,beingReleased.growing.useB_rate,$PRE.beingReleased.growing.useB_rate,beingReleased.growing.useA_rate,$PRE.beingReleased.growing.useA_rate,beingReleased.growing.portB.stopOutflow,beingReleased.growing.portA.stopOutflow,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loading2.portB.stopOutflow,loading2.portA.stopInflow,loading1.portB.stopOutflow,loading1.portA.stopInflow,beingReleased.growing.portA.stopInflow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003752/0.03404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.03414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.03424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.03424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.03425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.03426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.03563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.03564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.03576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-06/0.03577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.03582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/0.03583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.03584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008225/0.03666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.03686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.03707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.03733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.0375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.03755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001408/0.03769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.53e-05/0.03771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.00101/0.03872, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (incomingStore.x,machine1.x,intermediateStore.x,machine2.x,outgoingInventory.x,movingOn.x) * Number of discrete variables: 54 (outgoingInventory.inflow.stopOutflow,intermediateStore.outflow.stopOutflow,intermediateStore.inflow.stopOutflow,incomingStore.outflow.stopOutflow,beingReleased.growing.portB.stopOutflow,incomingStore.inflow.stopOutflow,loading2.useB_rate,loading2.portB.stopInflow,loading1.useB_rate,loading1.portB.stopInflow,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,machine1.inflow.stopInflow,machine1.outflow.data,machine1.latestStartTime,machine1.lastStartLoading,machine1.lastStartTime,machine1.nextStartLoading,machine1.fixedProcessingTime,machine1.fixedLoadingTime,machine1.fixedSetupTime,machine1.fixedMaxLoadingTime,machine1.fixedUnloadingTime,loading1.portA.stopOutflow,loading1.useA_rate,machine2.inflow.stopInflow,machine2.outflow.data,machine2.latestStartTime,machine2.lastStartLoading,machine2.lastStartTime,machine2.nextStartLoading,machine2.fixedProcessingTime,machine2.fixedLoadingTime,machine2.fixedSetupTime,machine2.fixedMaxLoadingTime,machine2.fixedUnloadingTime,loading2.portA.stopOutflow,loading2.useA_rate,outgoingInventory.outflow.stopOutflow,beingReleased.growing.portB.stopInflow,beingReleased.growing.portA.stopOutflow,beingReleased.growing.useB_rate,loading2.portB.stopOutflow,loading2.portA.stopInflow,loading1.portB.stopOutflow,loading1.portA.stopInflow,beingReleased.growing.portA.stopInflow,beingReleased.growing.useA_rate) * Number of discrete states: 30 (machine1.latestStartTime,machine1.fixedMaxLoadingTime,$whenCondition8,machine1.outflow.data,$whenCondition7,$whenCondition6,machine1.lastStartLoading,machine1.nextStartLoading,machine1.fixedUnloadingTime,machine1.fixedLoadingTime,machine1.fixedSetupTime,machine1.fixedProcessingTime,machine1.lastStartTime,machine1.inflow.stopInflow,$whenCondition5,machine2.latestStartTime,machine2.fixedMaxLoadingTime,$whenCondition4,machine2.outflow.data,$whenCondition3,$whenCondition2,machine2.lastStartLoading,machine2.nextStartLoading,machine2.fixedUnloadingTime,machine2.fixedLoadingTime,machine2.fixedSetupTime,machine2.fixedProcessingTime,machine2.lastStartTime,machine2.inflow.stopInflow,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002813/0.039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0007265/0.03973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.153e-05/0.03975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.04007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.04096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.04261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.04276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002408/0.04301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.04348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.641e-05/0.04351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002191/0.04571, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.7621768666431308]