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.000957/0.000957, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001076/0.001076, allocations: 181 kB / 23.36 MB, free: 1.125 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.8938/0.8938, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.1458/0.1458, allocations: 21.8 MB / 282.1 MB, free: 7.059 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.993e-06/1.993e-06, allocations: 3.938 kB / 306 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.827e-05, allocations: 7.859 kB / 306 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.004634/0.004662, allocations: 3.13 MB / 309.1 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.006894, allocations: 0.728 MB / 309.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005329/0.007427, allocations: 23.88 kB / 309.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.007889, allocations: 162.4 kB / 310.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.008302, allocations: 142.8 kB / 310.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008402/0.009142, allocations: 363.5 kB / 310.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000993/0.01014, allocations: 0.8443 MB / 311.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007297/0.01086, allocations: 488.1 kB / 311.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005401/0.0114, allocations: 498.8 kB / 312.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.01171, allocations: 290.8 kB / 312.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.01184, allocations: 88 kB / 312.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.01205, allocations: 112 kB / 312.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.01239, allocations: 458.3 kB / 313.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.01265, allocations: 330.6 kB / 313.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.01366, allocations: 0.9057 MB / 314.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.01366, allocations: 3.984 kB / 314.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01366, allocations: 0 / 314.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.01368, allocations: 0 / 314.5 MB, free: 1.496 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.001909/0.01559, allocations: 1.726 MB / 316.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.01563, allocations: 8.031 kB / 316.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.01588, allocations: 200.8 kB / 316.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/0.01664, allocations: 0.6289 MB / 317.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.01671, allocations: 78.45 kB / 317.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.01682, allocations: 104.4 kB / 317.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/0.01768, allocations: 0.7084 MB / 318 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.01771, allocations: 4.125 kB / 318 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.01776, allocations: 44.38 kB / 318 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.01778, allocations: 28.38 kB / 318 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.01825, allocations: 248.5 kB / 318.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005721/0.02397, allocations: 2.261 MB / 320.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.02434, allocations: 338.6 kB / 320.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.02444, allocations: 94.72 kB / 321 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.02449, allocations: 32.64 kB / 321 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.02451, allocations: 43.16 kB / 321 MB, free: 10.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 2.535e-06/0.02451, allocations: 0 / 321 MB, free: 10.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=68): time 0.0003923/0.02491, allocations: 373.8 kB / 321.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.02494, allocations: 60.06 kB / 321.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.02547, allocations: 0.975 MB / 322.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.02549, allocations: 41.7 kB / 322.5 MB, free: 9.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.02569, allocations: 0.5057 MB / 323 MB, free: 8.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/0.02579, allocations: 245.9 kB / 323.2 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.02588, allocations: 110.6 kB / 323.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.02595, allocations: 337.9 kB / 323.7 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.02603, allocations: 60.8 kB / 323.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.02615, allocations: 167.9 kB / 323.9 MB, free: 7.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.02638, allocations: 297.1 kB / 324.2 MB, free: 7.465 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.02639, allocations: 0 / 324.2 MB, free: 7.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003033/0.02669, allocations: 367.9 kB / 324.5 MB, free: 7.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.02671, allocations: 7.938 kB / 324.5 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.02671, allocations: 4 kB / 324.5 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.02672, allocations: 4 kB / 324.5 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.02695, allocations: 127.8 kB / 324.7 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.02696, allocations: 11.94 kB / 324.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.02707, allocations: 55.55 kB / 324.7 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.02709, allocations: 16 kB / 324.8 MB, free: 6.875 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.0001504/0.02724, allocations: 156.8 kB / 324.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.02731, allocations: 95.84 kB / 325 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.02768, allocations: 412.2 kB / 325.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.02769, allocations: 8 kB / 325.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.02769, allocations: 0 / 325.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.0277, allocations: 3.984 kB / 325.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006963/0.02839, allocations: 0.8999 MB / 326.3 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.02839, allocations: 3.984 kB / 326.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.02862, allocations: 111.8 kB / 326.4 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.02862, allocations: 11.88 kB / 326.4 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.02864, allocations: 19.98 kB / 326.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.02864, allocations: 4 kB / 326.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.02864, allocations: 0 / 326.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.02906, allocations: 0.5584 MB / 327 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.02913, allocations: 138.7 kB / 327.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.02918, allocations: 12 kB / 327.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.02927, allocations: 12 kB / 327.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.02932, allocations: 40.58 kB / 327.2 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.02933, allocations: 15.98 kB / 327.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002985/0.02963, allocations: 0.4939 MB / 327.7 MB, free: 3.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02963, allocations: 0 / 327.7 MB, free: 3.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.0299, allocations: 215.2 kB / 327.9 MB, free: 3.617 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.0001167/0.03002, allocations: 100.3 kB / 328 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.03027, allocations: 272.3 kB / 328.3 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.03028, allocations: 12 kB / 328.3 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.0304, allocations: 162.4 kB / 328.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.03069, allocations: 88.62 kB / 328.6 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.03243, allocations: 2.249 MB / 330.8 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.03262, allocations: 329 kB / 331.1 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.03274, allocations: 76.42 kB / 331.2 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.03287, allocations: 115.4 kB / 331.3 MB, free: 168 kB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03287, allocations: 4 kB / 331.3 MB, free: 164 kB / 298.7 MB Notification: Performance of Templates: time 0.008257/0.04113, allocations: 4.784 MB / 336.1 MB, free: 11.43 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 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.631595811340958]