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.001843/0.001843, allocations: 93.47 kB / 19.44 MB, free: 336 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.001973/0.001973, allocations: 169.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.528/1.528, allocations: 177.1 MB / 203.1 MB, free: 5.559 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.1979/0.1979, allocations: 21.79 MB / 281.3 MB, free: 7.246 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.703e-06/1.703e-06, allocations: 0 / 358.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.822e-05, allocations: 6.25 kB / 358.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.005181/0.005209, allocations: 3.144 MB / 361.2 MB, free: 2.234 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.006737, allocations: 0.6779 MB / 361.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.007056, allocations: 19.88 kB / 361.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004203/0.007476, allocations: 174.3 kB / 362.1 MB, free: 1.363 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.007835, allocations: 138.8 kB / 362.2 MB, free: 1.227 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.008589, allocations: 359.5 kB / 362.6 MB, free: 0.875 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009705/0.009559, allocations: 0.8405 MB / 363.4 MB, free: 32 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007701/0.01033, allocations: 476.1 kB / 363.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000588/0.01092, allocations: 494.8 kB / 364.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.01128, allocations: 294.8 kB / 364.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.01146, allocations: 88 kB / 364.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.01168, allocations: 108 kB / 364.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.01215, allocations: 454.3 kB / 365.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.01254, allocations: 334.6 kB / 365.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.014, allocations: 1.218 MB / 366.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01401, allocations: 0 / 366.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01401, allocations: 0 / 366.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.01402, allocations: 4 kB / 366.9 MB, free: 12.57 MB / 346.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.002744/0.01677, allocations: 1.961 MB / 368.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.0168, allocations: 8.031 kB / 368.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/0.01718, allocations: 291.6 kB / 369.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.01828, allocations: 0.7214 MB / 369.8 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.01836, allocations: 74.45 kB / 369.9 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.0185, allocations: 104.4 kB / 370 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.02009, allocations: 0.9309 MB / 370.9 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.02012, allocations: 4.125 kB / 370.9 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.0202, allocations: 40.38 kB / 371 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.02023, allocations: 28.38 kB / 371 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.02131, allocations: 0.523 MB / 371.5 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/0.02618, allocations: 3.576 MB / 375.1 MB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009963/0.02718, allocations: 0.4964 MB / 375.6 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.02754, allocations: 185.5 kB / 375.8 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.822e-05/0.02763, allocations: 28.64 kB / 375.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.02767, allocations: 46.03 kB / 375.9 MB, free: 3.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 2.134e-06/0.02767, allocations: 4 kB / 375.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=68): time 0.001368/0.02904, allocations: 0.7118 MB / 376.6 MB, free: 2.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.02909, allocations: 60.06 kB / 376.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.03084, allocations: 1.36 MB / 378 MB, free: 1.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.03088, allocations: 37.64 kB / 378 MB, free: 1.043 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009047/0.03179, allocations: 0.8977 MB / 378.9 MB, free: 136 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.03204, allocations: 254.3 kB / 379.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.03227, allocations: 136.3 kB / 379.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002898/0.03256, allocations: 0.516 MB / 379.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.03288, allocations: 149.9 kB / 380 MB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/0.03335, allocations: 303.1 kB / 380.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008672/0.03422, allocations: 0.4976 MB / 380.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.03422, allocations: 0 / 380.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001232/0.03546, allocations: 0.6639 MB / 381.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.03548, allocations: 6.969 kB / 381.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.0355, allocations: 4.312 kB / 381.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.03552, allocations: 11.98 kB / 381.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.03605, allocations: 135.8 kB / 381.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.03606, allocations: 4 kB / 381.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.03633, allocations: 47.62 kB / 381.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.03638, allocations: 27.98 kB / 381.7 MB, free: 13.28 MB / 362.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 (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 (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.0003996/0.03678, allocations: 244.4 kB / 381.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.03701, allocations: 170.9 kB / 382.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.0383, allocations: 0.6173 MB / 382.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.03831, allocations: 11.98 kB / 382.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.03832, allocations: 4 kB / 382.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.03833, allocations: 3.984 kB / 382.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.04105, allocations: 1.596 MB / 384.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.04105, allocations: 0 / 384.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.04156, allocations: 115.9 kB / 384.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.04157, allocations: 0 / 384.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.04161, allocations: 19.98 kB / 384.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.04162, allocations: 0 / 384.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.04162, allocations: 0 / 384.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.04326, allocations: 0.9591 MB / 385.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.0435, allocations: 134.9 kB / 385.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.082e-05/0.04358, allocations: 12 kB / 385.5 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.0438, allocations: 12 kB / 385.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.04392, allocations: 40.58 kB / 385.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.04396, allocations: 19.98 kB / 385.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00106/0.04502, allocations: 0.763 MB / 386.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04502, allocations: 0 / 386.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006191/0.04564, allocations: 207.2 kB / 386.6 MB, free: 8.273 MB / 362.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.0002193/0.04586, allocations: 127.1 kB / 386.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008523/0.04671, allocations: 455.1 kB / 387.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.04671, allocations: 0 / 387.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.04713, allocations: 252.6 kB / 387.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.04771, allocations: 99.16 kB / 387.5 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.05122, allocations: 2.339 MB / 389.8 MB, free: 4.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008505/0.05207, allocations: 0.6937 MB / 390.5 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.05231, allocations: 76.36 kB / 390.6 MB, free: 4.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.05243, allocations: 40.5 kB / 390.6 MB, free: 4.125 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.05243, allocations: 4 kB / 390.6 MB, free: 4.121 MB / 362.7 MB Notification: Performance of Templates: time 0.0127/0.06513, allocations: 4.26 MB / 394.9 MB, free: 15.89 MB / 378.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: 4.729370664921589]