Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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.001792/0.001792, allocations: 103.4 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.001853/0.001853, allocations: 193.9 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.874/1.874, allocations: 225.6 MB / 250 MB, free: 3.207 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.2174/0.2174, allocations: 29.23 MB / 334.2 MB, free: 308 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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 66 kB / 468.4 MB, free: 35.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1164, allocations: 59.57 MB / 0.5156 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.005392/0.1218, allocations: 3.659 MB / 0.5192 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1237, allocations: 0.6779 MB / 0.5199 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000409/0.1241, allocations: 19.94 kB / 0.5199 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.1246, allocations: 170.3 kB / 0.52 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.1249, allocations: 138.8 kB / 0.5202 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.1257, allocations: 367.5 kB / 0.5205 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000927/0.1266, allocations: 0.8366 MB / 0.5213 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.1273, allocations: 0.4997 MB / 0.5218 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.1277, allocations: 338.4 kB / 0.5221 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004015/0.1281, allocations: 429.5 kB / 0.5226 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.1282, allocations: 88 kB / 0.5226 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.1284, allocations: 116 kB / 0.5228 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004354/0.1288, allocations: 450.3 kB / 0.5232 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005043/0.1293, allocations: 0.6086 MB / 0.5238 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.1308, allocations: 1.266 MB / 0.525 GB, free: 3.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1308, allocations: 3.938 kB / 0.525 GB, free: 3.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1308, allocations: 0 / 0.525 GB, free: 3.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.1308, allocations: 0 / 0.525 GB, free: 3.559 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.002398/0.1332, allocations: 1.841 MB / 0.5268 GB, free: 1.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1332, allocations: 12.03 kB / 0.5268 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.1335, allocations: 203.6 kB / 0.527 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.1345, allocations: 0.772 MB / 0.5278 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/0.1345, allocations: 78.44 kB / 0.5278 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.1347, allocations: 108.3 kB / 0.528 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.1364, allocations: 1.154 MB / 0.5291 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.1364, allocations: 192 / 0.5291 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.322e-05/0.1365, allocations: 51.92 kB / 0.5291 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.1365, allocations: 28 kB / 0.5292 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.1381, allocations: 1.097 MB / 0.5302 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.1428, allocations: 3.643 MB / 0.5338 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.1445, allocations: 1.303 MB / 0.5351 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.1451, allocations: 466.3 kB / 0.5355 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.361e-05/0.1451, allocations: 28.7 kB / 0.5355 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.1452, allocations: 43.12 kB / 0.5356 GB, free: 8.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=67): time 2.294e-06/0.1452, allocations: 0 / 0.5356 GB, free: 8.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=67): time 0.00206/0.1472, allocations: 1.521 MB / 0.5371 GB, free: 6.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1473, allocations: 63.97 kB / 0.5371 GB, free: 6.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.1489, allocations: 1.289 MB / 0.5384 GB, free: 5.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.1489, allocations: 37.7 kB / 0.5384 GB, free: 5.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006888/0.1496, allocations: 0.7804 MB / 0.5392 GB, free: 4.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.1498, allocations: 241.9 kB / 0.5394 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.15, allocations: 110.3 kB / 0.5395 GB, free: 4.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1502, allocations: 337.9 kB / 0.5398 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/0.1507, allocations: 433.1 kB / 0.5402 GB, free: 3.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/0.1514, allocations: 0.5316 MB / 0.5408 GB, free: 3.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.1527, allocations: 0.99 MB / 0.5417 GB, free: 2.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1527, allocations: 4 kB / 0.5417 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001615/0.1543, allocations: 1.187 MB / 0.5429 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.1543, allocations: 11.98 kB / 0.5429 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1543, allocations: 0 / 0.5429 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.1543, allocations: 16.31 kB / 0.5429 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.1548, allocations: 123.8 kB / 0.543 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.1548, allocations: 8 kB / 0.543 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.1551, allocations: 55.61 kB / 0.5431 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.1551, allocations: 20 kB / 0.5431 GB, free: 0.5781 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 (82): * Single equations (assignments): 82 * 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.0005491/0.1557, allocations: 384.5 kB / 0.5435 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.1559, allocations: 151 kB / 0.5436 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.1576, allocations: 1.193 MB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.1576, allocations: 11.98 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.1576, allocations: 4 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1576, allocations: 0 / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.1606, allocations: 2.356 MB / 0.5471 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1606, allocations: 3.938 kB / 0.5471 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.161, allocations: 119.8 kB / 0.5472 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.161, allocations: 0 / 0.5472 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.1611, allocations: 16 kB / 0.5472 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1611, allocations: 0 / 0.5472 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1611, allocations: 4 kB / 0.5472 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.1634, allocations: 1.88 MB / 0.5491 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.1636, allocations: 204 kB / 0.5493 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.54e-05/0.1637, allocations: 12.06 kB / 0.5493 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.1639, allocations: 16 kB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.164, allocations: 44.44 kB / 0.5493 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.164, allocations: 16 kB / 0.5494 GB, free: 10.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001218/0.1652, allocations: 0.9006 MB / 0.5502 GB, free: 9.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1652, allocations: 0 / 0.5502 GB, free: 9.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006081/0.1659, allocations: 211.2 kB / 0.5504 GB, free: 8.953 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 (67): * Single equations (assignments): 67 * 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.0002011/0.1661, allocations: 119.1 kB / 0.5506 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.1674, allocations: 0.9611 MB / 0.5515 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1674, allocations: 4.125 kB / 0.5515 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.168, allocations: 495 kB / 0.552 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.1686, allocations: 98.59 kB / 0.5521 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.1729, allocations: 2.9 MB / 0.5549 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.174, allocations: 1.315 MB / 0.5562 GB, free: 3.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.1742, allocations: 59.42 kB / 0.5562 GB, free: 2.949 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1742, allocations: 3.938 kB / 0.5562 GB, free: 2.945 MB / 414.1 MB Notification: Performance of Templates: time 0.01937/0.1936, allocations: 11.05 MB / 0.567 GB, free: 7.875 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe 2>&1) [Timeout 480]