Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_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.0006245/0.0006245, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008161/0.001441, 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.0006718/0.0006718, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008277/0.001499, 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.934/0.934, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08077/1.015, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.1731/0.1731, allocations: 24.18 MB / 268.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1297/0.3029, allocations: 7.753 MB / 275.9 MB, free: 0.8359 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.SimpleProductionChainII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII") translateModel(BusinessSimulation.Examples.SimpleProductionChainII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 277.3 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003e-05/1.141e-05, allocations: 6.594 kB / 277.3 MB, free: 184 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChainII): time 0.01382/0.01383, allocations: 6.586 MB / 283.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.01557, allocations: 1.049 MB / 285 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.01584, allocations: 30.47 kB / 285 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.01605, allocations: 111.4 kB / 285.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.01624, allocations: 91.22 kB / 285.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.01969, allocations: 238 kB / 285.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.02019, allocations: 0.5607 MB / 286 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.02049, allocations: 213.8 kB / 286.2 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.02085, allocations: 358.6 kB / 286.5 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.02106, allocations: 168.7 kB / 286.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.02113, allocations: 52.66 kB / 286.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.02123, allocations: 58.06 kB / 286.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.02131, allocations: 98.42 kB / 286.9 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.02145, allocations: 132.6 kB / 287 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.02184, allocations: 345.6 kB / 287.4 MB, free: 9.961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.02185, allocations: 1.5 kB / 287.4 MB, free: 9.961 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02185, allocations: 1.078 kB / 287.4 MB, free: 9.961 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.02186, allocations: 0 / 287.4 MB, free: 9.961 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.0008557/0.02272, allocations: 0.7862 MB / 288.2 MB, free: 9.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.413e-05/0.02274, allocations: 9.375 kB / 288.2 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.02298, allocations: 179.3 kB / 288.3 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.02331, allocations: 315.5 kB / 288.6 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.02335, allocations: 44.97 kB / 288.7 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.0234, allocations: 62 kB / 288.8 MB, free: 9.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.02376, allocations: 451.5 kB / 289.2 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.02377, allocations: 1.281 kB / 289.2 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.02379, allocations: 21.34 kB / 289.2 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.0238, allocations: 11.91 kB / 289.2 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.02393, allocations: 123.7 kB / 289.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.02498, allocations: 1.42 MB / 290.8 MB, free: 7.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.02513, allocations: 156.2 kB / 290.9 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/0.0252, allocations: 88.23 kB / 291 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.02521, allocations: 5 kB / 291 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.02523, allocations: 47.23 kB / 291.1 MB, free: 7.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.02523, allocations: 2.625 kB / 291.1 MB, free: 7.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0002196/0.02545, allocations: 170.4 kB / 291.2 MB, free: 7.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.02549, allocations: 133.2 kB / 291.4 MB, free: 7.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.02564, allocations: 295.5 kB / 291.6 MB, free: 6.902 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.02567, allocations: 38.64 kB / 291.7 MB, free: 6.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.02577, allocations: 255.7 kB / 291.9 MB, free: 6.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.02582, allocations: 95.69 kB / 292 MB, free: 6.555 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.02591, allocations: 112.5 kB / 292.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.02601, allocations: 346.6 kB / 292.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.02607, allocations: 51.78 kB / 292.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.0262, allocations: 223 kB / 292.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.02641, allocations: 262.4 kB / 293 MB, free: 5.695 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.02641, allocations: 5.375 kB / 293 MB, free: 5.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0002428/0.02665, allocations: 271.2 kB / 293.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.02667, allocations: 10.97 kB / 293.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.02667, allocations: 4.125 kB / 293.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.02668, allocations: 6.875 kB / 293.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.02682, allocations: 77.45 kB / 293.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.02683, allocations: 10.97 kB / 293.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.786e-05/0.02693, allocations: 45.02 kB / 293.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.02695, allocations: 21.27 kB / 293.4 MB, free: 5.504 MB / 282.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.0001074/0.02705, allocations: 163.9 kB / 293.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.02711, allocations: 29.22 kB / 293.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.02715, allocations: 42.2 kB / 293.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.02716, allocations: 12.03 kB / 293.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.02716, allocations: 1.281 kB / 293.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02716, allocations: 9.031 kB / 293.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.0278, allocations: 0.7824 MB / 294.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.0278, allocations: 5.266 kB / 294.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.02791, allocations: 40.27 kB / 294.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.02795, allocations: 43.23 kB / 294.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.02796, allocations: 7.094 kB / 294.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.02797, allocations: 9.156 kB / 294.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.02798, allocations: 7.219 kB / 294.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.02798, allocations: 1.906 kB / 294.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.02822, allocations: 340.2 kB / 294.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.02825, allocations: 16.98 kB / 294.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.02832, allocations: 9 kB / 294.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.02837, allocations: 34.42 kB / 295 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.02838, allocations: 5.719 kB / 295 MB, free: 4.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.311e-05/0.02844, allocations: 96.73 kB / 295.1 MB, free: 4.219 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02844, allocations: 0 / 295.1 MB, free: 4.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.02866, allocations: 107 kB / 295.2 MB, free: 4.184 MB / 282.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 7.661e-05/0.02874, allocations: 97.86 kB / 295.3 MB, free: 4.105 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.02893, allocations: 207.4 kB / 295.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.02894, allocations: 9.984 kB / 295.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/0.02901, allocations: 79.33 kB / 295.6 MB, free: 3.996 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.02929, allocations: 120.4 kB / 295.7 MB, free: 3.949 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/0.03024, allocations: 0.7814 MB / 296.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.29e-05/0.03031, allocations: 110.2 kB / 296.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.03042, allocations: 48.36 kB / 296.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.03057, allocations: 134.1 kB / 296.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.03057, allocations: 0 / 296.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of Templates: time 0.00625/0.03682, allocations: 4.593 MB / 301.3 MB, free: 15.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII -abortSlowSimulation -alarm=240 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7269012592732906]