Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.6 MB / 250 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2238/0.2238, allocations: 29.23 MB / 334.3 MB, free: 300 kB / 254.1 MB [Timeout remaining time 90] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.25 kB / 468.4 MB, free: 35.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1217, allocations: 59.57 MB / 0.5156 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.005701/0.1274, allocations: 3.652 MB / 0.5192 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1293, allocations: 0.6701 MB / 0.5198 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004814/0.1298, allocations: 16 kB / 0.5199 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.1303, allocations: 162.3 kB / 0.52 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.1307, allocations: 126.8 kB / 0.5201 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.1315, allocations: 355.6 kB / 0.5205 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1326, allocations: 0.8482 MB / 0.5213 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008133/0.1334, allocations: 0.5036 MB / 0.5218 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.1338, allocations: 334.4 kB / 0.5221 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.1342, allocations: 433.5 kB / 0.5225 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.1343, allocations: 88 kB / 0.5226 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.1346, allocations: 116 kB / 0.5227 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.135, allocations: 442.4 kB / 0.5231 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.1355, allocations: 0.6087 MB / 0.5237 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.1371, allocations: 1.231 MB / 0.5249 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1371, allocations: 0 / 0.5249 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1371, allocations: 0 / 0.5249 GB, free: 3.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.1371, allocations: 0 / 0.5249 GB, free: 3.641 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002429/0.1396, allocations: 1.779 MB / 0.5267 GB, free: 1.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1396, allocations: 15.97 kB / 0.5267 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.1399, allocations: 203.6 kB / 0.5269 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.141, allocations: 0.7593 MB / 0.5276 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.371e-05/0.141, allocations: 78.42 kB / 0.5277 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.1412, allocations: 100.4 kB / 0.5278 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.143, allocations: 1.13 MB / 0.5289 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.143, allocations: 192 / 0.5289 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.429e-05/0.1431, allocations: 47.94 kB / 0.529 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.1431, allocations: 24 kB / 0.529 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.1446, allocations: 1.054 MB / 0.53 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004867/0.1495, allocations: 3.576 MB / 0.5335 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.1512, allocations: 1.256 MB / 0.5347 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/0.1518, allocations: 442.4 kB / 0.5351 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.558e-05/0.1519, allocations: 20.55 kB / 0.5352 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1519, allocations: 43.12 kB / 0.5352 GB, free: 8.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.705e-06/0.1519, allocations: 0 / 0.5352 GB, free: 8.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.001974/0.1539, allocations: 1.455 MB / 0.5366 GB, free: 7.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.1539, allocations: 59.97 kB / 0.5367 GB, free: 7.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.1555, allocations: 1.234 MB / 0.5379 GB, free: 6.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.1556, allocations: 37.7 kB / 0.5379 GB, free: 6.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006972/0.1562, allocations: 0.7605 MB / 0.5387 GB, free: 5.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.1565, allocations: 234 kB / 0.5389 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.1567, allocations: 106.3 kB / 0.539 GB, free: 4.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1568, allocations: 345.9 kB / 0.5393 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.1574, allocations: 409.1 kB / 0.5397 GB, free: 4.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.158, allocations: 0.5004 MB / 0.5402 GB, free: 3.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.1592, allocations: 0.9587 MB / 0.5411 GB, free: 2.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1592, allocations: 0 / 0.5411 GB, free: 2.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001576/0.1608, allocations: 1.144 MB / 0.5423 GB, free: 1.469 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1608, allocations: 4.312 kB / 0.5423 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.1608, allocations: 8 kB / 0.5423 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.1608, allocations: 4 kB / 0.5423 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.1613, allocations: 123.8 kB / 0.5424 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.1613, allocations: 8 kB / 0.5424 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.1616, allocations: 55.56 kB / 0.5424 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.1616, allocations: 23.98 kB / 0.5425 GB, free: 1.246 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (CIAF.Integrator1.local_reset,Pollution.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Population.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0005413/0.1622, allocations: 364.7 kB / 0.5428 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.1623, allocations: 147 kB / 0.543 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.1639, allocations: 1.15 MB / 0.5441 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.164, allocations: 4 kB / 0.5441 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.164, allocations: 0 / 0.5441 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.164, allocations: 0 / 0.5441 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.1668, allocations: 2.285 MB / 0.5463 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1668, allocations: 4 kB / 0.5463 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.1673, allocations: 103.9 kB / 0.5464 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.1673, allocations: 4 kB / 0.5464 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.1674, allocations: 15.98 kB / 0.5464 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.1674, allocations: 4 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1674, allocations: 4 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.1695, allocations: 1.79 MB / 0.5482 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.1698, allocations: 208 kB / 0.5484 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.631e-05/0.1698, allocations: 16.06 kB / 0.5484 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.1701, allocations: 8 kB / 0.5484 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.1701, allocations: 40.5 kB / 0.5485 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.1702, allocations: 19.94 kB / 0.5485 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001138/0.1713, allocations: 0.8519 MB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1713, allocations: 4 kB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006405/0.1719, allocations: 207.2 kB / 0.5495 GB, free: 9.914 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Population.Integrator1.y,Natural_Resources.Integrator1.y,Capital_Investment.Integrator1.y,Pollution.Integrator1.y,CIAF.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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 0.0002207/0.1722, allocations: 119.6 kB / 0.5496 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.1734, allocations: 0.9138 MB / 0.5505 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1734, allocations: 4.625 kB / 0.5505 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.174, allocations: 478.9 kB / 0.551 GB, free: 8.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.1746, allocations: 92.2 kB / 0.5511 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.1788, allocations: 2.801 MB / 0.5538 GB, free: 5.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.1799, allocations: 1.287 MB / 0.5551 GB, free: 4.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.1801, allocations: 59.42 kB / 0.5551 GB, free: 4.105 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1801, allocations: 0 / 0.5551 GB, free: 4.105 MB / 414.1 MB Notification: Performance of Templates: time 0.01879/0.1989, allocations: 10.76 MB / 0.5656 GB, free: 9.332 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 480]