Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.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.001415/0.001415, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001779/0.001779, allocations: 173 kB / 23.36 MB, free: 1.133 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.9504/0.9504, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.1364/0.1364, allocations: 21.81 MB / 282.1 MB, free: 7.074 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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 306 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.891e-05, allocations: 8.422 kB / 306.1 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.003261/0.00328, allocations: 3.168 MB / 309.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.004935, allocations: 0.728 MB / 309.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.005234, allocations: 15.94 kB / 310 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.005544, allocations: 178.3 kB / 310.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.005781, allocations: 134.8 kB / 310.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.006309, allocations: 359.5 kB / 310.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000618/0.006927, allocations: 0.8405 MB / 311.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.007396, allocations: 0.4884 MB / 311.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.00774, allocations: 490.8 kB / 312.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.007946, allocations: 298.7 kB / 312.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.582e-05/0.008032, allocations: 91.94 kB / 312.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.008203, allocations: 112 kB / 312.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.008434, allocations: 458.4 kB / 313.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.008614, allocations: 326.6 kB / 313.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.009236, allocations: 0.9057 MB / 314.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.009238, allocations: 0 / 314.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.009239, allocations: 0 / 314.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.00925, allocations: 0 / 314.6 MB, free: 1.414 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.001212/0.01046, allocations: 1.726 MB / 316.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.01049, allocations: 12.03 kB / 316.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.01064, allocations: 196.8 kB / 316.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.01113, allocations: 0.6328 MB / 317.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.01117, allocations: 78.45 kB / 317.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.01124, allocations: 104.4 kB / 317.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.01181, allocations: 0.7085 MB / 318 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.01183, allocations: 192 / 318 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.01187, allocations: 44.38 kB / 318.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.01188, allocations: 28.12 kB / 318.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.01216, allocations: 260.5 kB / 318.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.01403, allocations: 2.246 MB / 320.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.01439, allocations: 347.2 kB / 321 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.01449, allocations: 94.8 kB / 321 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.01453, allocations: 24.64 kB / 321.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.01456, allocations: 47.14 kB / 321.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 2.174e-06/0.01456, allocations: 0 / 321.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=68): time 0.000396/0.01496, allocations: 377.8 kB / 321.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.01498, allocations: 56.06 kB / 321.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.01554, allocations: 0.975 MB / 322.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.01556, allocations: 33.7 kB / 322.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.01578, allocations: 0.5174 MB / 323.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.01588, allocations: 237.9 kB / 323.3 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.01598, allocations: 118.6 kB / 323.4 MB, free: 8.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.01605, allocations: 337.9 kB / 323.7 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.01613, allocations: 60.8 kB / 323.8 MB, free: 7.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.01626, allocations: 175.9 kB / 324 MB, free: 7.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.01651, allocations: 297 kB / 324.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01651, allocations: 0 / 324.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003314/0.01685, allocations: 368.1 kB / 324.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01686, allocations: 4 kB / 324.6 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01686, allocations: 8 kB / 324.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.01688, allocations: 4 kB / 324.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.01713, allocations: 135.8 kB / 324.8 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01714, allocations: 7.984 kB / 324.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.01725, allocations: 55.56 kB / 324.8 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.01727, allocations: 16 kB / 324.8 MB, free: 6.777 MB / 298.7 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 (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 (83): * Single equations (assignments): 83 * 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.0001544/0.01743, allocations: 148.5 kB / 325 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.01751, allocations: 99.83 kB / 325.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.0179, allocations: 420.2 kB / 325.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.01791, allocations: 12 kB / 325.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01791, allocations: 0 / 325.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01791, allocations: 3.984 kB / 325.5 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.01867, allocations: 0.8961 MB / 326.4 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01867, allocations: 0 / 326.4 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.01891, allocations: 119.8 kB / 326.5 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01891, allocations: 7.938 kB / 326.5 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.01893, allocations: 8 kB / 326.5 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01893, allocations: 4 kB / 326.5 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01894, allocations: 4 kB / 326.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.01938, allocations: 0.5623 MB / 327.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.01946, allocations: 138.8 kB / 327.2 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.0195, allocations: 16 kB / 327.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.0196, allocations: 12 kB / 327.3 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.01965, allocations: 36.58 kB / 327.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.01967, allocations: 12 kB / 327.3 MB, free: 4.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003253/0.01999, allocations: 0.5017 MB / 327.8 MB, free: 3.727 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01999, allocations: 0 / 327.8 MB, free: 3.727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.02028, allocations: 211.2 kB / 328 MB, free: 3.52 MB / 298.7 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 (68): * Single equations (assignments): 68 * 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.0001161/0.0204, allocations: 106.8 kB / 328.1 MB, free: 3.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.02067, allocations: 272.2 kB / 328.4 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.02068, allocations: 15.94 kB / 328.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.02081, allocations: 161.8 kB / 328.6 MB, free: 2.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.02111, allocations: 88.8 kB / 328.7 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.02298, allocations: 2.241 MB / 330.9 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.02318, allocations: 333 kB / 331.2 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.02332, allocations: 72.36 kB / 331.3 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.02346, allocations: 123.4 kB / 331.4 MB, free: 60 kB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02346, allocations: 0 / 331.4 MB, free: 60 kB / 298.7 MB Notification: Performance of Templates: time 0.009029/0.03249, allocations: 4.786 MB / 336.2 MB, free: 11.33 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.696263681165874]