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.001172/0.001172, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001225/0.001225, allocations: 177 kB / 23.36 MB, free: 1.129 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo): time 0.137/0.137, allocations: 24.14 MB / 284.4 MB, free: 5.137 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 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.473e-06/1.473e-06, allocations: 0 / 308.4 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.036e-05, allocations: 5.812 kB / 308.4 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChain): time 0.005158/0.005178, allocations: 5.3 MB / 313.7 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.006454, allocations: 0.6535 MB / 314.4 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.006647, allocations: 16.41 kB / 314.4 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.006874, allocations: 83.25 kB / 314.5 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.00707, allocations: 77.03 kB / 314.5 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.007569, allocations: 191.5 kB / 314.7 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.007955, allocations: 470.3 kB / 315.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.008179, allocations: 162.1 kB / 315.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.008432, allocations: 303.2 kB / 315.6 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.008611, allocations: 135.6 kB / 315.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.008652, allocations: 40 kB / 315.8 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.894e-05/0.008741, allocations: 48 kB / 315.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.008816, allocations: 107.6 kB / 316 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.931e-05/0.008906, allocations: 139.6 kB / 316.1 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.009186, allocations: 298.8 kB / 316.4 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.009188, allocations: 4 kB / 316.4 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.009189, allocations: 0 / 316.4 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.009194, allocations: 0 / 316.4 MB, free: 0.9375 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.0006225/0.009817, allocations: 0.578 MB / 317 MB, free: 348 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.009852, allocations: 8.75 kB / 317 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.01007, allocations: 80.86 kB / 317.1 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.01037, allocations: 268.8 kB / 317.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.0104, allocations: 37.38 kB / 317.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.01045, allocations: 52.36 kB / 317.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.01078, allocations: 379.6 kB / 317.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01079, allocations: 0 / 317.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.01081, allocations: 16 kB / 317.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.01082, allocations: 12 kB / 317.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.01093, allocations: 102.8 kB / 317.9 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.01196, allocations: 1.233 MB / 319.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.01212, allocations: 146.4 kB / 319.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.01218, allocations: 67.97 kB / 319.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.0122, allocations: 7.984 kB / 319.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.01222, allocations: 42.5 kB / 319.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.01222, allocations: 0 / 319.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002505/0.01247, allocations: 150 kB / 319.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.01252, allocations: 158.6 kB / 319.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.0127, allocations: 268.7 kB / 320 MB, free: 13.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.01273, allocations: 41.7 kB / 320 MB, free: 13.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.01282, allocations: 214.3 kB / 320.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.01287, allocations: 87.28 kB / 320.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.01296, allocations: 106.1 kB / 320.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.01304, allocations: 346.8 kB / 320.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.01318, allocations: 44.97 kB / 320.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.0133, allocations: 202 kB / 321 MB, free: 12.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.01349, allocations: 251.2 kB / 321.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01349, allocations: 0 / 321.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0002529/0.01375, allocations: 264.2 kB / 321.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01376, allocations: 8 kB / 321.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01377, allocations: 4 kB / 321.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01378, allocations: 7.938 kB / 321.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.01391, allocations: 67.84 kB / 321.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01392, allocations: 15.88 kB / 321.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.01402, allocations: 51.61 kB / 321.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.01404, allocations: 16 kB / 321.6 MB, free: 11.29 MB / 298.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.0001072/0.01414, allocations: 166.1 kB / 321.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.01421, allocations: 23.98 kB / 321.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.01424, allocations: 34.27 kB / 321.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01425, allocations: 4 kB / 321.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01425, allocations: 0 / 321.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01425, allocations: 7.922 kB / 321.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007746/0.01503, allocations: 0.7522 MB / 322.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01503, allocations: 4 kB / 322.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.935e-05/0.01513, allocations: 31.92 kB / 322.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01514, allocations: 4 kB / 322.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.01515, allocations: 11.97 kB / 322.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01516, allocations: 4 kB / 322.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.01516, allocations: 7.938 kB / 322.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.01538, allocations: 327.4 kB / 323 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.01543, allocations: 47.72 kB / 323.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.01545, allocations: 4 kB / 323.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.01553, allocations: 8 kB / 323.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.01559, allocations: 35.89 kB / 323.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.0156, allocations: 4 kB / 323.1 MB, free: 9.703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.257e-05/0.01565, allocations: 74.78 kB / 323.2 MB, free: 9.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01565, allocations: 0 / 323.2 MB, free: 9.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.01588, allocations: 91.78 kB / 323.3 MB, free: 9.535 MB / 298.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.846e-05/0.01597, allocations: 106.3 kB / 323.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.01617, allocations: 193.4 kB / 323.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.01617, allocations: 4 kB / 323.6 MB, free: 9.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.01624, allocations: 66.22 kB / 323.6 MB, free: 9.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.01657, allocations: 87.69 kB / 323.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.0173, allocations: 0.6347 MB / 324.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.01736, allocations: 109.7 kB / 324.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.01747, allocations: 47.23 kB / 324.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.01761, allocations: 115.3 kB / 324.6 MB, free: 8.105 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01761, allocations: 0 / 324.6 MB, free: 8.105 MB / 298.7 MB Notification: Performance of Templates: time 0.00582/0.02343, allocations: 3.714 MB / 328.3 MB, free: 4.5 MB / 298.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.866087332367897]