Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 189.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.9 MB, free: 13.62 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo): time 0.1743/0.1743, allocations: 31.6 MB / 336.6 MB, free: 10.16 MB / 270.1 MB [Timeout remaining time 90] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BusinessSimulation.Examples.SimpleProductionChainII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII") translateModel(BusinessSimulation.Examples.SimpleProductionChainII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 79.88 kB / 470.9 MB, free: 7.133 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3436, allocations: 59.49 MB / 0.5179 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChainII): time 0.007342/0.351, allocations: 6.826 MB / 0.5246 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3531, allocations: 1.006 MB / 0.5256 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004342/0.3535, allocations: 22.69 kB / 0.5256 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.3539, allocations: 108.7 kB / 0.5257 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.3542, allocations: 71.14 kB / 0.5258 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.355, allocations: 245.8 kB / 0.526 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007138/0.3557, allocations: 0.5692 MB / 0.5266 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000399/0.3561, allocations: 228.5 kB / 0.5268 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.3564, allocations: 231.9 kB / 0.527 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.3567, allocations: 239 kB / 0.5272 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.763e-05/0.3567, allocations: 57.12 kB / 0.5273 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.3569, allocations: 63.08 kB / 0.5274 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.357, allocations: 133.7 kB / 0.5275 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.3572, allocations: 257.3 kB / 0.5277 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007279/0.3579, allocations: 0.5726 MB / 0.5283 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3579, allocations: 5.406 kB / 0.5283 GB, free: 1.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.358, allocations: 0 / 0.5283 GB, free: 1.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.358, allocations: 0 / 0.5283 GB, free: 1.453 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001272/0.3592, allocations: 0.8021 MB / 0.5291 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3593, allocations: 10 kB / 0.5291 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.3596, allocations: 84.2 kB / 0.5292 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.3602, allocations: 408.8 kB / 0.5296 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.3602, allocations: 46.31 kB / 0.5296 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/0.3603, allocations: 61.06 kB / 0.5297 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/0.3612, allocations: 0.4933 MB / 0.5301 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3612, allocations: 1.469 kB / 0.5301 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.3613, allocations: 21.62 kB / 0.5302 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.3613, allocations: 12.33 kB / 0.5302 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/0.362, allocations: 312.5 kB / 0.5305 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.3647, allocations: 1.866 MB / 0.5323 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.3654, allocations: 286.3 kB / 0.5326 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.3658, allocations: 173 kB / 0.5327 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3658, allocations: 4.391 kB / 0.5327 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.3658, allocations: 45.58 kB / 0.5328 GB, free: 14.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.434e-06/0.3658, allocations: 4 kB / 0.5328 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001063/0.3669, allocations: 379.7 kB / 0.5332 GB, free: 14.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.367, allocations: 167.6 kB / 0.5333 GB, free: 14.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.3675, allocations: 313.9 kB / 0.5336 GB, free: 13.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.3676, allocations: 44.52 kB / 0.5337 GB, free: 13.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.3678, allocations: 271.3 kB / 0.5339 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.893e-05/0.3679, allocations: 96.64 kB / 0.534 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.3681, allocations: 107.8 kB / 0.5341 GB, free: 13.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.3683, allocations: 346.9 kB / 0.5344 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.3687, allocations: 146 kB / 0.5346 GB, free: 13.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.3692, allocations: 255.1 kB / 0.5348 GB, free: 12.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000693/0.3699, allocations: 366.6 kB / 0.5352 GB, free: 12.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3699, allocations: 1.219 kB / 0.5352 GB, free: 12.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001004/0.3709, allocations: 484.9 kB / 0.5356 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3709, allocations: 13.41 kB / 0.5356 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3709, allocations: 3.281 kB / 0.5357 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.3709, allocations: 6.438 kB / 0.5357 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.3712, allocations: 69.05 kB / 0.5357 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.3713, allocations: 7.609 kB / 0.5357 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.3716, allocations: 64.84 kB / 0.5358 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.3716, allocations: 19.89 kB / 0.5358 GB, free: 12.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.inventory.inflow.stopInflow,$PRE.inventory.outflow.stopInflow,$PRE.producing.cloud.massPort.stopInflow,$PRE.producing.cloud.massPort.stopOutflow,$PRE.installedBase.inflow.stopInflow,$PRE.installedBase.inflow.stopOutflow,$PRE.cloud1.massPort.stopInflow,$PRE.cloud1.massPort.stopOutflow,cloud1.massPort.stopOutflow,cloud1.massPort.stopInflow,installedBase.inflow.stopInflow,producing.cloud.massPort.stopOutflow,inventory.inflow.stopInflow,installedBase.inflow.stopOutflow,producing.cloud.massPort.stopInflow,inventory.outflow.stopInflow,shipping.portA.stopInflow,producing.growing.portA.stopInflow,shipping.portB.stopOutflow,producing.growing.useB_rate,$PRE.producing.growing.useB_rate,producing.growing.useA_rate,$PRE.producing.growing.useA_rate,producing.growing.portB.stopOutflow,producing.growing.portB.stopInflow,producing.growing.portA.stopOutflow,shipping.useB_rate,$PRE.shipping.useB_rate,shipping.useA_rate,$PRE.shipping.useA_rate,shipping.portB.stopInflow,shipping.portA.stopOutflow,inventory.outflow.stopOutflow,$PRE.inventory.outflow.stopOutflow,inventory.inflow.stopOutflow,$PRE.inventory.inflow.stopOutflow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * 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.0003012/0.3719, allocations: 194.7 kB / 0.536 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.372, allocations: 44.64 kB / 0.536 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.875e-05/0.3721, allocations: 41.02 kB / 0.5361 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3721, allocations: 4.375 kB / 0.5361 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.3721, allocations: 1.562 kB / 0.5361 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3721, allocations: 6.906 kB / 0.5361 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.374, allocations: 1.222 MB / 0.5373 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.374, allocations: 3.25 kB / 0.5373 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.3743, allocations: 41.77 kB / 0.5373 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3743, allocations: 2.938 kB / 0.5373 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.3743, allocations: 15.33 kB / 0.5373 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/0.3743, allocations: 8.031 kB / 0.5374 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.3743, allocations: 2.25 kB / 0.5374 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009501/0.3753, allocations: 0.5565 MB / 0.5379 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.3755, allocations: 137.7 kB / 0.538 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.3755, allocations: 10.69 kB / 0.538 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.3757, allocations: 22.34 kB / 0.5381 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.3758, allocations: 39.8 kB / 0.5381 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.3759, allocations: 9.422 kB / 0.5381 GB, free: 10.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002644/0.3761, allocations: 213.8 kB / 0.5383 GB, free: 10.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3761, allocations: 0 / 0.5383 GB, free: 10.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.3766, allocations: 108.4 kB / 0.5384 GB, free: 10.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (inventory.x,installedBase.x_hidden[1],installedBase.x_hidden[2],installedBase.x_hidden[3],installedBase.x_hidden[4]) * Number of discrete variables: 14 (inventory.outflow.stopOutflow,producing.growing.portB.stopOutflow,inventory.inflow.stopOutflow,shipping.portA.stopOutflow,shipping.useA_rate,producing.growing.useA_rate,shipping.portA.stopInflow,producing.growing.portA.stopInflow,shipping.portB.stopOutflow,producing.growing.useB_rate,producing.growing.portB.stopInflow,producing.growing.portA.stopOutflow,shipping.useB_rate,shipping.portB.stopInflow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001441/0.3767, allocations: 120.9 kB / 0.5385 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007794/0.3775, allocations: 336.1 kB / 0.5389 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3775, allocations: 1.219 kB / 0.5389 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.3778, allocations: 146.1 kB / 0.539 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.3785, allocations: 103.4 kB / 0.5391 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.38, allocations: 0.8542 MB / 0.5399 GB, free: 9.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.3805, allocations: 0.8266 MB / 0.5407 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.3806, allocations: 42.17 kB / 0.5408 GB, free: 9.027 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3806, allocations: 0 / 0.5408 GB, free: 9.027 MB / 398.1 MB Notification: Performance of Templates: time 0.00941/0.3901, allocations: 5.264 MB / 0.5459 GB, free: 6.848 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII -abortSlowSimulation -alarm=480 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe 2>&1) [Timeout 480]