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 [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003308/0.0003308, 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.0005969/0.0005969, 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.4099/0.4099, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.05886/0.05886, 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="-alarm=480 -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="-alarm=480 -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/2.977e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.AssemblyLine): time 0.02208/0.02211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.007479/0.02959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.03154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001989/0.03353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001501/0.03503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.0378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002563/0.04037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.0417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.04394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.04513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.04545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.04579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0005186/0.04631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001122/0.04743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00313/0.05056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002737/0.05083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.739e-06/0.05084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.5e-05/0.05087, 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.006163/0.05704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001309/0.05717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.05956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.06276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.06304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004949/0.06354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.005878/0.06942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.431e-05/0.0695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003002/0.0698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.354e-05/0.06986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003941/0.0738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.08664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.08862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.09007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.748e-05/0.09013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002533/0.09266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=75): time 0.0001368/0.0928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=75): time 0.005905/0.0987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007438/0.09945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.1014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0005072/0.1019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000714/0.1026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004371/0.1031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.1044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003916/0.1048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/0.1069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/0.1097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00357/0.1133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.784e-05/0.1133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=154) (initialization): time 0.006663/0.12, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.1201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-05/0.1201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 5.471e-05/0.1202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.1213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.634e-05/0.1214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.1226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/0.1229, 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: 21 * 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,movingOn.inflow.stopOutflow,movingOn.inflow.stopInflow,outgoingInventory.outflow.stopInflow,outgoingInventory.inflow.stopInflow,intermediateStore.inflow.stopInflow,incomingStore.inflow.stopInflow,beingReleased.cloud.massPort.stopOutflow,machine2.inflow.stopOutflow,intermediateStore.outflow.stopInflow,machine1.inflow.stopOutflow,incomingStore.outflow.stopInflow,beingReleased.cloud.massPort.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 (148): * Single equations (assignments): 146 * 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.001851/0.1248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006422/0.1254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.1258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.1258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.1258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.1258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.1369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/0.1369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.1374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.741e-05/0.1374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/0.1376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/0.1377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.785e-05/0.1377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007126/0.1448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001338/0.1461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004984/0.1466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000944/0.1476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007529/0.1483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/0.1486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.00129/0.1498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.131e-05/0.1499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.00252/0.1524, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (47): * Single equations (assignments): 45 * 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.0006716/0.1531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004486/0.1576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.466e-05/0.1576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002319/0.1599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/0.1638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007007/0.1708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.1719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0008051/0.1728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.1738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005931/0.1744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003908/0.1783, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1140] [Calling sys.exit(0), Time elapsed: 1.5550328829995124]