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.0006622/0.0006622, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008379/0.0015, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006815/0.0006815, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008299/0.001511, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9975/0.9975, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08866/1.086, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.1357/0.1357, allocations: 24.19 MB / 268.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1226/0.2582, allocations: 7.755 MB / 275.9 MB, free: 0.8203 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.382e-06/1.382e-06, allocations: 0 / 277.3 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.951e-05, allocations: 3.438 kB / 277.3 MB, free: 172 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChain): time 0.01305/0.01307, allocations: 5.317 MB / 282.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.01451, allocations: 0.65 MB / 283.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.01474, allocations: 15.62 kB / 283.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.01495, allocations: 79.28 kB / 283.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.01817, allocations: 82.38 kB / 283.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.01868, allocations: 189.3 kB / 283.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.01918, allocations: 464 kB / 284.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.01943, allocations: 154.8 kB / 284.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.01979, allocations: 300.7 kB / 284.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.02, allocations: 141.5 kB / 284.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.02006, allocations: 41.78 kB / 284.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.02016, allocations: 50.41 kB / 284.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.02025, allocations: 76.97 kB / 284.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.02036, allocations: 111 kB / 285 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.02071, allocations: 274 kB / 285.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.02073, allocations: 0.9375 kB / 285.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.02073, allocations: 0 / 285.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.02075, allocations: 1.281 kB / 285.2 MB, free: 11.32 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.003913/0.02466, allocations: 0.6676 MB / 285.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.02469, allocations: 8.594 kB / 285.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.02498, allocations: 166.4 kB / 286.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.02535, allocations: 261.6 kB / 286.3 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.02539, allocations: 38.28 kB / 286.4 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.02545, allocations: 48.84 kB / 286.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.02586, allocations: 382.6 kB / 286.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.02588, allocations: 0 / 286.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.0259, allocations: 16.5 kB / 286.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.02591, allocations: 10.91 kB / 286.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.02607, allocations: 103.9 kB / 286.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.03032, allocations: 1.231 MB / 288.1 MB, free: 9.324 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.0305, allocations: 144 kB / 288.3 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.03058, allocations: 71.77 kB / 288.3 MB, free: 9.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.03059, allocations: 12.75 kB / 288.4 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.03062, allocations: 43 kB / 288.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.03062, allocations: 0 / 288.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002898/0.03091, allocations: 146.5 kB / 288.5 MB, free: 9.082 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.03097, allocations: 139.7 kB / 288.7 MB, free: 8.922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.03115, allocations: 260.7 kB / 288.9 MB, free: 8.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.03119, allocations: 40.77 kB / 289 MB, free: 8.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.03131, allocations: 219.5 kB / 289.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.03137, allocations: 84.41 kB / 289.3 MB, free: 8.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.03149, allocations: 105.3 kB / 289.4 MB, free: 8.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.0316, allocations: 347.9 kB / 289.7 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.03169, allocations: 45.86 kB / 289.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.03185, allocations: 212.2 kB / 290 MB, free: 7.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.03209, allocations: 241.9 kB / 290.2 MB, free: 7.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.03209, allocations: 1.375 kB / 290.2 MB, free: 7.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003107/0.0324, allocations: 267.7 kB / 290.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.03242, allocations: 6.594 kB / 290.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.03243, allocations: 4.875 kB / 290.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.03244, allocations: 7 kB / 290.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.03262, allocations: 68.06 kB / 290.6 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.03263, allocations: 10.75 kB / 290.6 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.03276, allocations: 53.67 kB / 290.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.03278, allocations: 20.22 kB / 290.6 MB, free: 7.48 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.00126/0.03404, allocations: 163.4 kB / 290.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.03409, allocations: 28.09 kB / 290.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.03413, allocations: 27.66 kB / 290.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.03413, allocations: 3.562 kB / 290.9 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.03413, allocations: 5.797 kB / 290.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.03414, allocations: 5.719 kB / 290.9 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.03473, allocations: 0.7496 MB / 291.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03473, allocations: 2.75 kB / 291.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.03483, allocations: 35.28 kB / 291.6 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.03488, allocations: 42.86 kB / 291.7 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.03488, allocations: 6.688 kB / 291.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.0349, allocations: 13.48 kB / 291.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.0349, allocations: 8.125 kB / 291.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.0349, allocations: 3.062 kB / 291.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.03512, allocations: 329.1 kB / 292 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.03514, allocations: 11.61 kB / 292.1 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.03521, allocations: 8.125 kB / 292.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.03526, allocations: 33.45 kB / 292.1 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.03526, allocations: 9.5 kB / 292.1 MB, free: 6.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.867e-05/0.03531, allocations: 77.27 kB / 292.2 MB, free: 6.227 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03531, allocations: 1.375 kB / 292.2 MB, free: 6.227 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.03553, allocations: 93.23 kB / 292.3 MB, free: 6.195 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 8.613e-05/0.03562, allocations: 99.86 kB / 292.4 MB, free: 6.113 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.03582, allocations: 188.4 kB / 292.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.03583, allocations: 5.375 kB / 292.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.452e-05/0.03589, allocations: 70.86 kB / 292.6 MB, free: 6.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.03615, allocations: 96.19 kB / 292.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.03706, allocations: 0.6726 MB / 293.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.781e-05/0.03711, allocations: 100 kB / 293.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.883e-05/0.03721, allocations: 46.91 kB / 293.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.03734, allocations: 118.2 kB / 293.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03735, allocations: 0 / 293.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of Templates: time 0.009806/0.04715, allocations: 3.855 MB / 297.5 MB, free: 3.109 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.8147417409345508]