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.001001/0.001001, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001232/0.001232, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.9687/0.9687, allocations: 177.2 MB / 204.5 MB, free: 5.492 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.1267/0.1267, allocations: 21.8 MB / 282.8 MB, free: 7.027 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.463e-06/1.463e-06, allocations: 0 / 360 MB, free: 3.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.661e-05, allocations: 6.25 kB / 360.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.00311/0.003126, allocations: 3.122 MB / 363.2 MB, free: 448 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.004423, allocations: 0.6664 MB / 363.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.004746, allocations: 19.94 kB / 363.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.005068, allocations: 174.2 kB / 364 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.005308, allocations: 138.8 kB / 364.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.005857, allocations: 367.5 kB / 364.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005642/0.006421, allocations: 0.8444 MB / 365.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.006889, allocations: 464.2 kB / 365.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.007194, allocations: 498.8 kB / 366.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.007387, allocations: 294.7 kB / 366.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.481e-05/0.007472, allocations: 88 kB / 366.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.00761, allocations: 112 kB / 366.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.007846, allocations: 454.4 kB / 367.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.008015, allocations: 326.6 kB / 367.6 MB, free: 12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.008634, allocations: 0.9135 MB / 368.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.008636, allocations: 0 / 368.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.008637, allocations: 3.984 kB / 368.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.008647, allocations: 0 / 368.5 MB, free: 11.08 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.001299/0.009945, allocations: 1.894 MB / 370.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.009975, allocations: 12.03 kB / 370.4 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.01016, allocations: 291.6 kB / 370.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.01069, allocations: 0.7213 MB / 371.4 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.01074, allocations: 78.45 kB / 371.5 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/0.01082, allocations: 108.4 kB / 371.6 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/0.01145, allocations: 0.7088 MB / 372.3 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.01147, allocations: 4.188 kB / 372.3 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.01151, allocations: 40.38 kB / 372.3 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.01152, allocations: 28.38 kB / 372.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.01182, allocations: 293.5 kB / 372.6 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.01396, allocations: 3.107 MB / 375.7 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.01436, allocations: 341.3 kB / 376.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.01447, allocations: 109.6 kB / 376.2 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.01454, allocations: 32.59 kB / 376.2 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.01456, allocations: 45.98 kB / 376.3 MB, free: 3.004 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 1.853e-06/0.01456, allocations: 0 / 376.3 MB, free: 3.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=68): time 0.0005581/0.01512, allocations: 0.5165 MB / 376.8 MB, free: 2.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.01515, allocations: 60.05 kB / 376.8 MB, free: 2.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.01586, allocations: 1.156 MB / 378 MB, free: 1.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.01588, allocations: 41.7 kB / 378 MB, free: 1.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.01634, allocations: 0.8545 MB / 378.9 MB, free: 320 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.01645, allocations: 245.8 kB / 379.1 MB, free: 72 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.01657, allocations: 124.3 kB / 379.2 MB, free: 15.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01668, allocations: 0.4964 MB / 379.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.01677, allocations: 73.92 kB / 379.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.01693, allocations: 215 kB / 380 MB, free: 15.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.01721, allocations: 333.4 kB / 380.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01721, allocations: 4 kB / 380.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004358/0.01765, allocations: 0.5117 MB / 380.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01766, allocations: 8 kB / 380.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01767, allocations: 0 / 380.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.01768, allocations: 8 kB / 380.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.01794, allocations: 127.8 kB / 381 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01795, allocations: 8 kB / 381 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.01806, allocations: 51.62 kB / 381.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.01808, allocations: 16.31 kB / 381.1 MB, free: 14 MB / 314.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.0001629/0.01825, allocations: 202.8 kB / 381.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.01835, allocations: 174.9 kB / 381.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/0.01881, allocations: 0.4884 MB / 381.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.01882, allocations: 8 kB / 381.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01882, allocations: 0 / 381.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01883, allocations: 3.984 kB / 382 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.0197, allocations: 1.069 MB / 383 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.0197, allocations: 0 / 383 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.01994, allocations: 115.8 kB / 383.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01995, allocations: 4 kB / 383.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.01997, allocations: 23.98 kB / 383.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01997, allocations: 0 / 383.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01997, allocations: 0 / 383.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.02051, allocations: 0.7092 MB / 383.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.02059, allocations: 134.8 kB / 384 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.02063, allocations: 8 kB / 384 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/0.02073, allocations: 12 kB / 384 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.02079, allocations: 44.64 kB / 384.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.0208, allocations: 19.98 kB / 384.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003682/0.02117, allocations: 0.6456 MB / 384.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02117, allocations: 3.938 kB / 384.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.02148, allocations: 215.2 kB / 384.9 MB, free: 10.05 MB / 314.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.0001165/0.02159, allocations: 115.2 kB / 385.1 MB, free: 9.926 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.02189, allocations: 303 kB / 385.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02189, allocations: 0.625 kB / 385.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.02204, allocations: 172.6 kB / 385.5 MB, free: 9.457 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.02237, allocations: 92.78 kB / 385.6 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.02417, allocations: 2.248 MB / 387.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.02436, allocations: 333 kB / 388.2 MB, free: 6.734 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.0245, allocations: 76.31 kB / 388.3 MB, free: 6.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.02464, allocations: 142.2 kB / 388.4 MB, free: 6.52 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02464, allocations: 0 / 388.4 MB, free: 6.52 MB / 314.7 MB Notification: Performance of Templates: time 0.008852/0.03349, allocations: 4.905 MB / 393.3 MB, free: 1.66 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.938330600038171]