Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII.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.0009647/0.0009647, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001027/0.001027, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.096/1.096, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.1163/0.1163, allocations: 24.15 MB / 284.4 MB, free: 5.133 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.SimpleProductionChainII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII") translateModel(BusinessSimulation.Examples.SimpleProductionChainII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 308.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.407e-05, allocations: 6.328 kB / 308.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChainII): time 0.005495/0.005509, allocations: 6.575 MB / 315 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.006874, allocations: 1.052 MB / 316 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.007116, allocations: 27.75 kB / 316.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.007336, allocations: 107 kB / 316.2 MB, free: 1.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.007505, allocations: 91.05 kB / 316.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.007914, allocations: 227.4 kB / 316.5 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.008325, allocations: 0.5735 MB / 317.1 MB, free: 132 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.008583, allocations: 221.1 kB / 317.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.008862, allocations: 359.1 kB / 317.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.009073, allocations: 163.5 kB / 317.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/0.009137, allocations: 52 kB / 317.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.009246, allocations: 59.98 kB / 317.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.009508, allocations: 131.6 kB / 318 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.009637, allocations: 167.6 kB / 318.2 MB, free: 15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.01002, allocations: 374.4 kB / 318.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.01002, allocations: 0 / 318.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.01002, allocations: 0 / 318.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.01002, allocations: 7.938 kB / 318.6 MB, free: 14.62 MB / 298.7 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.0007712/0.01079, allocations: 0.6725 MB / 319.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.01083, allocations: 16.69 kB / 319.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.01109, allocations: 100.8 kB / 319.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.01152, allocations: 312.3 kB / 319.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.01156, allocations: 45.38 kB / 319.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.01162, allocations: 60.38 kB / 319.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.01208, allocations: 447.5 kB / 320.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.0121, allocations: 4 kB / 320.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.01213, allocations: 24 kB / 320.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.01214, allocations: 12 kB / 320.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.01233, allocations: 122.8 kB / 320.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.01373, allocations: 1.401 MB / 321.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.01391, allocations: 155.8 kB / 321.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.014, allocations: 83.33 kB / 322 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.01402, allocations: 8 kB / 322 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.01404, allocations: 42.56 kB / 322 MB, free: 10.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.01404, allocations: 0 / 322 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0003079/0.01435, allocations: 183.7 kB / 322.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.01441, allocations: 162.2 kB / 322.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.0146, allocations: 282.7 kB / 322.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.01463, allocations: 45.7 kB / 322.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.01476, allocations: 257.3 kB / 322.9 MB, free: 9.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.01482, allocations: 99.12 kB / 323 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.01494, allocations: 110.2 kB / 323.1 MB, free: 9.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.01504, allocations: 350.7 kB / 323.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.01513, allocations: 49.28 kB / 323.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.01529, allocations: 216.9 kB / 323.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.01554, allocations: 268.8 kB / 324 MB, free: 8.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01555, allocations: 0 / 324 MB, free: 8.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003323/0.01588, allocations: 281 kB / 324.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01589, allocations: 8 kB / 324.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.0159, allocations: 4 kB / 324.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.01592, allocations: 4 kB / 324.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.0161, allocations: 72.41 kB / 324.4 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.01611, allocations: 23.86 kB / 324.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.01625, allocations: 47.62 kB / 324.4 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.01627, allocations: 16 kB / 324.5 MB, free: 8.316 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (65): * Single equations (assignments): 65 * 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.0001364/0.01641, allocations: 169.7 kB / 324.6 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.304e-05/0.01649, allocations: 23.98 kB / 324.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.01654, allocations: 38.45 kB / 324.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.01654, allocations: 4 kB / 324.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01655, allocations: 4 kB / 324.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.01656, allocations: 7.922 kB / 324.7 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009846/0.01754, allocations: 0.7713 MB / 325.5 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01754, allocations: 4 kB / 325.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.01768, allocations: 39.91 kB / 325.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.01768, allocations: 7.984 kB / 325.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.0177, allocations: 11.94 kB / 325.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.01771, allocations: 4 kB / 325.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01771, allocations: 256 / 325.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.018, allocations: 343.8 kB / 325.9 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.01806, allocations: 47.69 kB / 325.9 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.0181, allocations: 16 kB / 325.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.0182, allocations: 8 kB / 325.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.01827, allocations: 35.88 kB / 326 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.01828, allocations: 8 kB / 326 MB, free: 6.672 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.906e-05/0.01836, allocations: 92.62 kB / 326.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01836, allocations: 0 / 326.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003314/0.01869, allocations: 111.7 kB / 326.2 MB, free: 6.469 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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,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 (29): * Single equations (assignments): 29 * 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 9.166e-05/0.01878, allocations: 94.3 kB / 326.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.01904, allocations: 207.1 kB / 326.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.01905, allocations: 8 kB / 326.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.391e-05/0.01915, allocations: 79.95 kB / 326.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.01952, allocations: 88.95 kB / 326.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008866/0.0204, allocations: 0.7495 MB / 327.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.037e-05/0.02048, allocations: 109.3 kB / 327.5 MB, free: 5.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.02063, allocations: 55.27 kB / 327.6 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.02083, allocations: 135.3 kB / 327.7 MB, free: 4.879 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02083, allocations: 0 / 327.7 MB, free: 4.879 MB / 298.7 MB Notification: Performance of Templates: time 0.008032/0.02886, allocations: 4.412 MB / 332.1 MB, free: 0.582 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII.makefile [Timeout 660] (rm -f BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII.pipe >> ../files/BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII.sim & ./BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.SimpleProductionChainII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.867986836936325]