Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.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.001482/0.001482, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001659/0.001659, allocations: 219.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1726/0.1726, allocations: 29.23 MB / 342.4 MB, free: 5.836 MB / 270.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/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(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4") [Timeout 660] "Notification: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.91 kB / 479.7 MB, free: 56 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2777, allocations: 60.79 MB / 0.5278 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.003965/0.2816, allocations: 3.685 MB / 0.5314 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2831, allocations: 0.6815 MB / 0.5321 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003682/0.2834, allocations: 22.41 kB / 0.5321 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.2838, allocations: 178.1 kB / 0.5323 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.2841, allocations: 134.3 kB / 0.5324 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.2848, allocations: 367.9 kB / 0.5327 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007629/0.2856, allocations: 0.8474 MB / 0.5336 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/0.2862, allocations: 0.5 MB / 0.5341 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.2864, allocations: 343.4 kB / 0.5344 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.2867, allocations: 432.7 kB / 0.5348 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.2869, allocations: 86.72 kB / 0.5349 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.2871, allocations: 115.7 kB / 0.535 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.2874, allocations: 463.7 kB / 0.5354 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.2877, allocations: 0.632 MB / 0.536 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.2888, allocations: 1.29 MB / 0.5373 GB, free: 2.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2888, allocations: 1.469 kB / 0.5373 GB, free: 2.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2888, allocations: 0 / 0.5373 GB, free: 2.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.2888, allocations: 0 / 0.5373 GB, free: 2.043 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.001718/0.2905, allocations: 1.818 MB / 0.5391 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2905, allocations: 12.66 kB / 0.5391 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2907, allocations: 209 kB / 0.5393 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007942/0.2915, allocations: 0.7117 MB / 0.54 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.863e-05/0.2916, allocations: 81.14 kB / 0.5401 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2917, allocations: 102.7 kB / 0.5402 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.2934, allocations: 1.276 MB / 0.5414 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.2934, allocations: 9.219 kB / 0.5414 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-05/0.2935, allocations: 50 kB / 0.5415 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/0.2936, allocations: 49.19 kB / 0.5415 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.2952, allocations: 1.227 MB / 0.5427 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004809/0.3, allocations: 3.812 MB / 0.5464 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.3015, allocations: 1.328 MB / 0.5477 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/0.3021, allocations: 478.8 kB / 0.5482 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.12e-05/0.3022, allocations: 33.11 kB / 0.5482 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3022, allocations: 42.23 kB / 0.5483 GB, free: 11.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.214e-06/0.3022, allocations: 0 / 0.5483 GB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=70): time 0.002043/0.3043, allocations: 1.569 MB / 0.5498 GB, free: 10.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.3043, allocations: 93.89 kB / 0.5499 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.306, allocations: 1.362 MB / 0.5512 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.3061, allocations: 37.7 kB / 0.5513 GB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006885/0.3068, allocations: 0.8541 MB / 0.5521 GB, free: 8.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.307, allocations: 261.8 kB / 0.5523 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.3072, allocations: 154.6 kB / 0.5525 GB, free: 7.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3074, allocations: 341.9 kB / 0.5528 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.308, allocations: 477.8 kB / 0.5533 GB, free: 6.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/0.3088, allocations: 0.716 MB / 0.554 GB, free: 6.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.3103, allocations: 1.245 MB / 0.5552 GB, free: 4.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3103, allocations: 4 kB / 0.5552 GB, free: 4.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001909/0.3123, allocations: 1.39 MB / 0.5565 GB, free: 3.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3123, allocations: 8 kB / 0.5565 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3123, allocations: 8 kB / 0.5566 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.3123, allocations: 15.98 kB / 0.5566 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/0.3129, allocations: 179.7 kB / 0.5567 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.3129, allocations: 16.44 kB / 0.5568 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.3133, allocations: 95.33 kB / 0.5569 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.3134, allocations: 44 kB / 0.5569 GB, free: 2.977 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 109 * 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.0006221/0.314, allocations: 397.3 kB / 0.5573 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.3142, allocations: 158.9 kB / 0.5574 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.3159, allocations: 1.243 MB / 0.5586 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.3159, allocations: 8 kB / 0.5586 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3159, allocations: 0 / 0.5586 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3159, allocations: 15.95 kB / 0.5587 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.3188, allocations: 2.366 MB / 0.561 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3188, allocations: 0 / 0.561 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.3193, allocations: 119.9 kB / 0.5611 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3193, allocations: 0 / 0.5611 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.3194, allocations: 23.94 kB / 0.5611 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.3194, allocations: 8 kB / 0.5611 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3194, allocations: 11.88 kB / 0.5611 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.3217, allocations: 1.988 MB / 0.5631 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.3219, allocations: 130.8 kB / 0.5632 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.156e-05/0.322, allocations: 23.98 kB / 0.5632 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.3222, allocations: 19.98 kB / 0.5632 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.3223, allocations: 44.58 kB / 0.5633 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.3224, allocations: 23.98 kB / 0.5633 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.3235, allocations: 0.9336 MB / 0.5642 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3235, allocations: 0 / 0.5642 GB, free: 11.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006796/0.3242, allocations: 223.2 kB / 0.5644 GB, free: 11.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 70 * 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.0001786/0.3244, allocations: 129.7 kB / 0.5645 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.3258, allocations: 1.057 MB / 0.5656 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3258, allocations: 0.5625 kB / 0.5656 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.3264, allocations: 0.5034 MB / 0.5661 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.3271, allocations: 98.86 kB / 0.5662 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.3313, allocations: 2.992 MB / 0.5691 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.3324, allocations: 1.334 MB / 0.5704 GB, free: 4.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.3326, allocations: 71.42 kB / 0.5705 GB, free: 4.902 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3326, allocations: 0 / 0.5705 GB, free: 4.902 MB / 414.1 MB Notification: Performance of Templates: time 0.01796/0.3506, allocations: 11.87 MB / 0.582 GB, free: 9.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.127992189023644] Failed to read output from testmodel.py, exit status != 0: 0.35884829005226493 0.37247630299999995 0.08067113000000001 Calling exit ...