Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007898/0.0007898, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001202/0.001991, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [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.0006915/0.0006915, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009471/0.001639, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [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 1.021/1.021, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09059/1.111, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo): time 0.1622/0.1622, allocations: 24.19 MB / 268.3 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1294/0.2916, allocations: 7.761 MB / 276.1 MB, free: 0.8555 MB / 266.7 MB " [Timeout remaining time 180] 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.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: translateModel(BusinessSimulation.Examples.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain") translateModel(BusinessSimulation.Examples.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 277.5 MB, free: 144 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.315e-05, allocations: 2.859 kB / 277.5 MB, free: 140 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChain): time 0.006629/0.006642, allocations: 5.325 MB / 282.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.007589, allocations: 0.6421 MB / 283.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.00778, allocations: 16.59 kB / 283.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.007968, allocations: 82.62 kB / 283.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.008123, allocations: 78.52 kB / 283.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.008508, allocations: 189.5 kB / 283.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004436/0.008951, allocations: 465 kB / 284.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.009184, allocations: 157.6 kB / 284.5 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.009491, allocations: 304.3 kB / 284.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.00971, allocations: 138 kB / 284.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.009765, allocations: 41.41 kB / 284.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.009866, allocations: 54.12 kB / 285 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.009953, allocations: 76.45 kB / 285.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.01006, allocations: 111.8 kB / 285.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.01039, allocations: 275.6 kB / 285.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.0104, allocations: 0 / 285.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.0104, allocations: 1.062 kB / 285.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.01041, allocations: 0.6562 kB / 285.5 MB, free: 11.29 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0008469/0.01126, allocations: 0.6672 MB / 286.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.01129, allocations: 10.22 kB / 286.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.01156, allocations: 161.9 kB / 286.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.01189, allocations: 257.1 kB / 286.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.01194, allocations: 37.62 kB / 286.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.012, allocations: 48.38 kB / 286.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.01243, allocations: 387.8 kB / 287 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.01244, allocations: 1.344 kB / 287 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.01247, allocations: 17.09 kB / 287 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.01248, allocations: 11.31 kB / 287 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.01264, allocations: 107.4 kB / 287.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01382, allocations: 1.234 MB / 288.4 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.01405, allocations: 138.2 kB / 288.5 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.01412, allocations: 72.81 kB / 288.6 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.01414, allocations: 4.375 kB / 288.6 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.01417, allocations: 41.53 kB / 288.6 MB, free: 9.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.01417, allocations: 0 / 288.6 MB, free: 9.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002982/0.01447, allocations: 155.8 kB / 288.8 MB, free: 9.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.01453, allocations: 134.4 kB / 288.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.01477, allocations: 260.6 kB / 289.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.0148, allocations: 41.75 kB / 289.2 MB, free: 8.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.01494, allocations: 219.2 kB / 289.4 MB, free: 8.508 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.015, allocations: 86.91 kB / 289.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.01511, allocations: 108.3 kB / 289.6 MB, free: 8.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.01521, allocations: 341.9 kB / 289.9 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.0153, allocations: 50.25 kB / 290 MB, free: 8.023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.0155, allocations: 211.3 kB / 290.2 MB, free: 7.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.01572, allocations: 257.1 kB / 290.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.01573, allocations: 1.125 kB / 290.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0002793/0.01601, allocations: 263 kB / 290.7 MB, free: 7.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.01602, allocations: 7.156 kB / 290.7 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.01603, allocations: 3.562 kB / 290.7 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01605, allocations: 7.156 kB / 290.7 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.01621, allocations: 69.66 kB / 290.8 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.01622, allocations: 18.8 kB / 290.8 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.01632, allocations: 51.94 kB / 290.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.01634, allocations: 16.38 kB / 290.9 MB, free: 7.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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,inventory.outflow.stopInflow,producing.cloud.massPort.stopInflow,installedBase.inflow.stopOutflow,inventory.inflow.stopInflow,producing.cloud.massPort.stopOutflow,installedBase.inflow.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,cloud1.massPort.stopInflow,cloud1.massPort.stopOutflow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001244/0.01646, allocations: 161.4 kB / 291 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.01652, allocations: 23.05 kB / 291.1 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.01656, allocations: 35.77 kB / 291.1 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01657, allocations: 4.125 kB / 291.1 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01657, allocations: 1.375 kB / 291.1 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.01657, allocations: 9.25 kB / 291.1 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/0.01727, allocations: 0.7568 MB / 291.9 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01727, allocations: 2.75 kB / 291.9 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.01739, allocations: 32.2 kB / 291.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.01744, allocations: 38.06 kB / 291.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01745, allocations: 3.938 kB / 291.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.01747, allocations: 13.19 kB / 291.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.01747, allocations: 9 kB / 292 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.01748, allocations: 6.188 kB / 292 MB, free: 6.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.01778, allocations: 325.5 kB / 292.3 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.0178, allocations: 12.95 kB / 292.3 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.01787, allocations: 9 kB / 292.3 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.01793, allocations: 29.52 kB / 292.3 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.01794, allocations: 6.125 kB / 292.3 MB, free: 6.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.037e-05/0.01801, allocations: 77.05 kB / 292.4 MB, free: 6.164 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01801, allocations: 4 kB / 292.4 MB, free: 6.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.01826, allocations: 94.39 kB / 292.5 MB, free: 6.129 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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.inflow.stopOutflow,producing.growing.portB.stopOutflow,inventory.outflow.stopOutflow,shipping.portA.stopOutflow,shipping.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,producing.growing.useA_rate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001304/0.01839, allocations: 102.5 kB / 292.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.01872, allocations: 195.2 kB / 292.8 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.01874, allocations: 4.344 kB / 292.8 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.01882, allocations: 76.95 kB / 292.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.01923, allocations: 470.8 kB / 293.3 MB, free: 5.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.0203, allocations: 0.6665 MB / 294 MB, free: 4.973 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.778e-05/0.02038, allocations: 100.5 kB / 294.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.02049, allocations: 45.58 kB / 294.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.02065, allocations: 126 kB / 294.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02065, allocations: 1.312 kB / 294.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of Templates: time 0.006677/0.02733, allocations: 3.678 MB / 297.9 MB, free: 2.688 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain -abortSlowSimulation -alarm=240 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.745750715956092]