Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_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.0008688/0.0008688, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009798/0.0009798, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8504/0.8504, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [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.09739/0.09739, allocations: 24.13 MB / 284.1 MB, free: 5.477 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/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_BusinessSimulation.Examples.SimpleProductionChain") translateModel(BusinessSimulation.Examples.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 421.3 MB, free: 8.039 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.657e-05/3.807e-05, allocations: 2.281 kB / 421.3 MB, free: 8.035 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChain): time 0.004825/0.004863, allocations: 5.092 MB / 426.4 MB, free: 2.918 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.005945, allocations: 0.6228 MB / 427 MB, free: 2.293 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.006147, allocations: 11.94 kB / 427 MB, free: 2.281 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.006335, allocations: 83.2 kB / 427.1 MB, free: 2.199 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.006472, allocations: 67.38 kB / 427.2 MB, free: 2.133 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.006847, allocations: 191.4 kB / 427.4 MB, free: 1.945 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.007171, allocations: 467.1 kB / 427.8 MB, free: 1.488 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.007374, allocations: 138.9 kB / 428 MB, free: 1.348 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.007575, allocations: 291.4 kB / 428.2 MB, free: 1.062 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.007729, allocations: 151.5 kB / 428.4 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.007768, allocations: 44 kB / 428.4 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.007831, allocations: 52 kB / 428.5 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.007902, allocations: 115.6 kB / 428.6 MB, free: 0.707 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.007987, allocations: 143.6 kB / 428.7 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.008335, allocations: 474.4 kB / 429.2 MB, free: 104 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.008337, allocations: 0 / 429.2 MB, free: 104 kB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.008338, allocations: 0 / 429.2 MB, free: 104 kB / 394.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.008343, allocations: 0 / 429.2 MB, free: 104 kB / 394.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.0006826/0.009025, allocations: 0.6227 MB / 429.8 MB, free: 15.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.009058, allocations: 12.75 kB / 429.8 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.009238, allocations: 72.56 kB / 429.9 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.009509, allocations: 261 kB / 430.2 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.009537, allocations: 41.31 kB / 430.2 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.009582, allocations: 48.38 kB / 430.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.01001, allocations: 471 kB / 430.7 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.01003, allocations: 3.938 kB / 430.7 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.01005, allocations: 20 kB / 430.7 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.01006, allocations: 8 kB / 430.7 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.01037, allocations: 243.8 kB / 431 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.01146, allocations: 1.397 MB / 432.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.01179, allocations: 246.3 kB / 432.6 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.01195, allocations: 159.2 kB / 432.8 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.01196, allocations: 4 kB / 432.8 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.01198, allocations: 42.55 kB / 432.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.152e-06/0.01198, allocations: 0 / 432.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004611/0.01244, allocations: 346 kB / 433.2 MB, free: 11.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.0125, allocations: 158.2 kB / 433.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.01267, allocations: 245.8 kB / 433.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.01269, allocations: 45.7 kB / 433.6 MB, free: 11.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/0.01279, allocations: 216.5 kB / 433.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.01284, allocations: 95.25 kB / 433.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.01293, allocations: 102.1 kB / 434 MB, free: 11.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.01302, allocations: 342.8 kB / 434.3 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.0132, allocations: 132.9 kB / 434.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.01343, allocations: 282.9 kB / 434.7 MB, free: 10.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.01376, allocations: 342.7 kB / 435.1 MB, free: 9.836 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.01377, allocations: 4 kB / 435.1 MB, free: 9.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004588/0.01423, allocations: 445.9 kB / 435.5 MB, free: 9.391 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.01424, allocations: 11.94 kB / 435.5 MB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01424, allocations: 4 kB / 435.5 MB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.01425, allocations: 4 kB / 435.5 MB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.01437, allocations: 59.89 kB / 435.6 MB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.01438, allocations: 11.94 kB / 435.6 MB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.0145, allocations: 59.86 kB / 435.7 MB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.01452, allocations: 20 kB / 435.7 MB, free: 9.223 MB / 410.7 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 (60): * Single equations (assignments): 60 * 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.000126/0.01464, allocations: 190.8 kB / 435.9 MB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.01469, allocations: 27.84 kB / 435.9 MB, free: 9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.01473, allocations: 34.28 kB / 435.9 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01473, allocations: 4 kB / 435.9 MB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01474, allocations: 0 / 435.9 MB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01474, allocations: 7.984 kB / 435.9 MB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008727/0.01561, allocations: 1.064 MB / 437 MB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01562, allocations: 4 kB / 437 MB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.01571, allocations: 35.92 kB / 437 MB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01571, allocations: 4 kB / 437 MB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.01573, allocations: 16.39 kB / 437.1 MB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.01573, allocations: 11.94 kB / 437.1 MB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01574, allocations: 4 kB / 437.1 MB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.01619, allocations: 0.5359 MB / 437.6 MB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.01625, allocations: 47.83 kB / 437.7 MB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.01628, allocations: 8 kB / 437.7 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.01637, allocations: 27.97 kB / 437.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.01643, allocations: 35.84 kB / 437.7 MB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.01644, allocations: 11.98 kB / 437.7 MB, free: 7.012 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.394e-05/0.01653, allocations: 165.2 kB / 437.9 MB, free: 6.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01653, allocations: 0 / 437.9 MB, free: 6.852 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.01678, allocations: 103.7 kB / 438 MB, free: 6.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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,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 (28): * Single equations (assignments): 28 * 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 7.848e-05/0.01685, allocations: 117.2 kB / 438.1 MB, free: 6.629 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.01722, allocations: 307.9 kB / 438.4 MB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.01723, allocations: 4 kB / 438.4 MB, free: 6.324 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.01738, allocations: 133 kB / 438.6 MB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.01771, allocations: 106.9 kB / 438.7 MB, free: 6.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007249/0.01843, allocations: 0.7157 MB / 439.4 MB, free: 5.309 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.01856, allocations: 198.8 kB / 439.6 MB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.01862, allocations: 28.5 kB / 439.6 MB, free: 5.062 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01862, allocations: 4 kB / 439.6 MB, free: 5.059 MB / 410.7 MB Notification: Performance of Templates: time 0.003891/0.02252, allocations: 4.444 MB / 444 MB, free: 0.6211 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.makefile [Timeout 660] (rm -f BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.pipe >> ../files/BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.sim & ./BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain -abortSlowSimulation -alarm=480 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChain.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.6547982934862375] Failed to read output from testmodel.py, exit status != 0: 0.18386858981102705 0.193166167 0.18279413800000002 Calling exit ...