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.002443/0.002443, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002954/0.002954, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.1941/0.1941, allocations: 21.79 MB / 281.4 MB, free: 7.238 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 2.064e-06/2.064e-06, allocations: 3.938 kB / 358.1 MB, free: 4.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.386e-05, allocations: 2.312 kB / 358.1 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.005361/0.005395, allocations: 3.168 MB / 361.3 MB, free: 1.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.007086, allocations: 0.6817 MB / 362 MB, free: 348 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003752/0.007462, allocations: 23.88 kB / 362 MB, free: 324 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.007907, allocations: 174.3 kB / 362.1 MB, free: 148 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.008306, allocations: 146.7 kB / 362.3 MB, free: 0 / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000807/0.009113, allocations: 363.5 kB / 362.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.01017, allocations: 0.8484 MB / 363.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008106/0.01098, allocations: 468.2 kB / 364 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006227/0.0116, allocations: 0.491 MB / 364.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.01197, allocations: 306.7 kB / 364.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.01214, allocations: 84 kB / 364.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.01238, allocations: 112 kB / 364.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004805/0.01286, allocations: 470.3 kB / 365.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.01323, allocations: 342.5 kB / 365.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.01476, allocations: 1.245 MB / 367 MB, free: 11.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01477, allocations: 0 / 367 MB, free: 11.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01477, allocations: 3.938 kB / 367 MB, free: 11.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.01478, allocations: 0 / 367 MB, free: 11.26 MB / 298.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.002854/0.01764, allocations: 1.992 MB / 369 MB, free: 9.215 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.01767, allocations: 12.03 kB / 369 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.01807, allocations: 303.5 kB / 369.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.01918, allocations: 0.729 MB / 370 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.343e-05/0.01926, allocations: 78.48 kB / 370.1 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.01941, allocations: 104.4 kB / 370.2 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.02112, allocations: 0.9868 MB / 371.2 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.02115, allocations: 4.188 kB / 371.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.02123, allocations: 44.38 kB / 371.2 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-05/0.0213, allocations: 48.36 kB / 371.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.02252, allocations: 0.5796 MB / 371.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005444/0.02797, allocations: 3.845 MB / 375.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.02906, allocations: 0.5282 MB / 376.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.02944, allocations: 193.3 kB / 376.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.415e-05/0.02953, allocations: 32.62 kB / 376.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.02957, allocations: 46.05 kB / 376.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of pre-optimization done (n=70): time 2.224e-06/0.02957, allocations: 4 kB / 376.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=70): time 0.001496/0.03107, allocations: 0.739 MB / 377.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.03114, allocations: 89.89 kB / 377.3 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.03303, allocations: 1.439 MB / 378.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.03309, allocations: 41.64 kB / 378.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009604/0.03405, allocations: 0.9755 MB / 379.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.03431, allocations: 269.8 kB / 380 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.03457, allocations: 172.3 kB / 380.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003046/0.03488, allocations: 0.5238 MB / 380.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.03526, allocations: 169.9 kB / 380.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/0.036, allocations: 0.5383 MB / 381.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.03721, allocations: 0.7825 MB / 382.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.03722, allocations: 4 kB / 382.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001517/0.03874, allocations: 0.8437 MB / 383.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.03876, allocations: 8 kB / 383.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.03878, allocations: 8 kB / 383.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.03881, allocations: 12 kB / 383.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/0.03945, allocations: 179.7 kB / 383.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/0.03948, allocations: 16.53 kB / 383.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.03987, allocations: 83.41 kB / 383.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/0.03994, allocations: 43.98 kB / 383.4 MB, free: 10.09 MB / 314.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 (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.0004153/0.04036, allocations: 264.2 kB / 383.7 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.04061, allocations: 175 kB / 383.8 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.04198, allocations: 0.6609 MB / 384.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.04199, allocations: 11.98 kB / 384.5 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.042, allocations: 0 / 384.5 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.04201, allocations: 7.984 kB / 384.5 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.04469, allocations: 1.633 MB / 386.1 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.04469, allocations: 0 / 386.1 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.0452, allocations: 115.9 kB / 386.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.04521, allocations: 0 / 386.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.04525, allocations: 19.98 kB / 386.3 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.04526, allocations: 8 kB / 386.3 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.04527, allocations: 3.938 kB / 386.3 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.04695, allocations: 1.1 MB / 387.4 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.04719, allocations: 138.8 kB / 387.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/0.04727, allocations: 8 kB / 387.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.04755, allocations: 19.92 kB / 387.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.04766, allocations: 48.58 kB / 387.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.04771, allocations: 23.98 kB / 387.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.04884, allocations: 0.7885 MB / 388.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04884, allocations: 0 / 388.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007504/0.04959, allocations: 239.1 kB / 388.6 MB, free: 4.758 MB / 314.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.0002195/0.04981, allocations: 115.1 kB / 388.8 MB, free: 4.633 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.05086, allocations: 0.5356 MB / 389.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.05086, allocations: 0 / 389.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.05132, allocations: 265 kB / 389.6 MB, free: 3.836 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.05202, allocations: 97.42 kB / 389.6 MB, free: 3.738 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.05585, allocations: 2.413 MB / 392.1 MB, free: 1.273 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009022/0.05675, allocations: 0.7143 MB / 392.8 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003976/0.05715, allocations: 124.9 kB / 392.9 MB, free: 416 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.05731, allocations: 60.48 kB / 393 MB, free: 356 kB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.05732, allocations: 0 / 393 MB, free: 356 kB / 314.7 MB Notification: Performance of Templates: time 0.01357/0.07088, allocations: 4.674 MB / 397.6 MB, free: 11.72 MB / 330.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 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.955715704942122]