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.00136/0.00136, allocations: 76.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.001517/0.001517, allocations: 176.9 kB / 23.35 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 0.9316/0.9316, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 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.1176/0.1176, allocations: 21.8 MB / 282.1 MB, free: 7.043 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 306 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.675e-05, allocations: 5.547 kB / 306.1 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.003112/0.003129, allocations: 3.177 MB / 309.2 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.004657, allocations: 0.7357 MB / 310 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.004938, allocations: 23.88 kB / 310 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.005263, allocations: 174.3 kB / 310.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.005499, allocations: 142.8 kB / 310.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.006032, allocations: 363.4 kB / 310.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.006628, allocations: 0.8483 MB / 311.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004588/0.007087, allocations: 496.1 kB / 312 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/0.007415, allocations: 498.8 kB / 312.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.00761, allocations: 302.7 kB / 312.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.367e-05/0.007693, allocations: 92 kB / 312.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.007861, allocations: 116 kB / 313 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.008109, allocations: 466.3 kB / 313.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.008282, allocations: 334.6 kB / 313.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006272/0.00891, allocations: 0.9407 MB / 314.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.008913, allocations: 7.984 kB / 314.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.008913, allocations: 0 / 314.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.008923, allocations: 0 / 314.7 MB, free: 1.297 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.001198/0.01012, allocations: 1.761 MB / 316.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.01015, allocations: 12.03 kB / 316.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.01029, allocations: 200.7 kB / 316.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.01078, allocations: 0.6444 MB / 317.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.01083, allocations: 78.48 kB / 317.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.0109, allocations: 104.4 kB / 317.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.01151, allocations: 0.7541 MB / 318.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.01153, allocations: 8.125 kB / 318.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.01157, allocations: 40.38 kB / 318.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.01161, allocations: 48.11 kB / 318.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.01193, allocations: 307.5 kB / 318.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.01394, allocations: 2.432 MB / 321.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.01434, allocations: 379.3 kB / 321.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.01444, allocations: 95.72 kB / 321.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.0145, allocations: 40.62 kB / 321.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.01452, allocations: 39.22 kB / 321.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=70): time 2.294e-06/0.01452, allocations: 0 / 321.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=70): time 0.0004379/0.01496, allocations: 385.8 kB / 322 MB, free: 9.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.01499, allocations: 89.7 kB / 322.1 MB, free: 9.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.01559, allocations: 1.045 MB / 323.1 MB, free: 8.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.01561, allocations: 41.7 kB / 323.2 MB, free: 8.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.01586, allocations: 0.5833 MB / 323.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.01597, allocations: 253.8 kB / 324 MB, free: 7.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.01609, allocations: 150.7 kB / 324.1 MB, free: 7.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.01617, allocations: 341.9 kB / 324.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.01627, allocations: 80.78 kB / 324.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.01647, allocations: 341.8 kB / 324.9 MB, free: 6.652 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.01686, allocations: 0.501 MB / 325.4 MB, free: 6.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.01687, allocations: 7.938 kB / 325.4 MB, free: 6.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.000458/0.01733, allocations: 0.4884 MB / 325.9 MB, free: 5.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01734, allocations: 12 kB / 325.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.01735, allocations: 16.12 kB / 325.9 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.01736, allocations: 12 kB / 325.9 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.01769, allocations: 187.7 kB / 326.1 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.0177, allocations: 23.86 kB / 326.1 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.01787, allocations: 79.41 kB / 326.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.0179, allocations: 32 kB / 326.2 MB, free: 5.18 MB / 298.7 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 (Population.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Pollution.Integrator1.local_reset,CIAF.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.0001693/0.01807, allocations: 174.5 kB / 326.4 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.01816, allocations: 99.89 kB / 326.5 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.0186, allocations: 448.9 kB / 327 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.0186, allocations: 12.03 kB / 327 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01861, allocations: 0 / 327 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01861, allocations: 3.984 kB / 327 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008107/0.01942, allocations: 0.9236 MB / 327.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.01943, allocations: 7.984 kB / 327.9 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.01968, allocations: 119.8 kB / 328 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.01968, allocations: 4 kB / 328 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.01971, allocations: 15.98 kB / 328 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01971, allocations: 0 / 328 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01971, allocations: 7.984 kB / 328 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.02022, allocations: 0.6556 MB / 328.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.0203, allocations: 130.8 kB / 328.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.02034, allocations: 19.94 kB / 328.8 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.02046, allocations: 12 kB / 328.9 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.02052, allocations: 44.56 kB / 328.9 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.02054, allocations: 12 kB / 328.9 MB, free: 2.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003488/0.02089, allocations: 0.5275 MB / 329.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02089, allocations: 0 / 329.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003616/0.02125, allocations: 227.2 kB / 329.7 MB, free: 1.695 MB / 298.7 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.0001131/0.02136, allocations: 106.7 kB / 329.8 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.02169, allocations: 346.1 kB / 330.1 MB, free: 1.246 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/0.02171, allocations: 20.5 kB / 330.1 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.02184, allocations: 162 kB / 330.3 MB, free: 1.066 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.0222, allocations: 104.3 kB / 330.4 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.02414, allocations: 2.324 MB / 332.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.02435, allocations: 341.2 kB / 333 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.02454, allocations: 100.9 kB / 333.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.0247, allocations: 135.4 kB / 333.3 MB, free: 14 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0247, allocations: 0 / 333.3 MB, free: 14 MB / 314.7 MB Notification: Performance of Templates: time 0.009231/0.03393, allocations: 5.25 MB / 338.5 MB, free: 8.816 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6324106832034886]