Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.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.001836/0.001836, allocations: 88.72 kB / 19.44 MB, free: 356 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.002329/0.002329, allocations: 157.6 kB / 22.75 MB, free: 1.68 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.457/1.457, allocations: 177.1 MB / 203.1 MB, free: 5.465 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.2022/0.2022, allocations: 21.8 MB / 281.4 MB, free: 7.07 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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 358.1 MB, free: 5.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.442e-05, allocations: 2.312 kB / 358.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_1): time 0.005083/0.005117, allocations: 3.078 MB / 361.2 MB, free: 2.309 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.006769, allocations: 0.6701 MB / 361.8 MB, free: 1.637 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.007082, allocations: 19.88 kB / 361.9 MB, free: 1.617 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.0075, allocations: 158.4 kB / 362 MB, free: 1.461 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.007852, allocations: 126.8 kB / 362.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.00864, allocations: 355.5 kB / 362.5 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.009647, allocations: 0.8443 MB / 363.3 MB, free: 144 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008033/0.01045, allocations: 472.2 kB / 363.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/0.01104, allocations: 494.8 kB / 364.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005687/0.01161, allocations: 298.7 kB / 364.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.01175, allocations: 88 kB / 364.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.01199, allocations: 112 kB / 364.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004702/0.01246, allocations: 450.4 kB / 365.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.01281, allocations: 322.6 kB / 365.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.01426, allocations: 1.187 MB / 366.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.01427, allocations: 3.938 kB / 366.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01427, allocations: 0 / 366.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.01428, allocations: 4 kB / 366.7 MB, free: 12.71 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002419/0.0167, allocations: 1.691 MB / 368.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.01674, allocations: 8.031 kB / 368.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.01712, allocations: 287.6 kB / 368.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.01819, allocations: 0.6982 MB / 369.4 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-05/0.01828, allocations: 82.42 kB / 369.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.01842, allocations: 96.38 kB / 369.6 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.02028, allocations: 1.13 MB / 370.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.02031, allocations: 12.12 kB / 370.7 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.02039, allocations: 44.36 kB / 370.7 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.02042, allocations: 24.38 kB / 370.8 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.02228, allocations: 1.05 MB / 371.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/0.02705, allocations: 3.2 MB / 375 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.02888, allocations: 1.23 MB / 376.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.0295, allocations: 450.6 kB / 376.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.867e-05/0.02958, allocations: 24.64 kB / 376.7 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.02962, allocations: 47.16 kB / 376.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.725e-06/0.02962, allocations: 0 / 376.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.002195/0.03182, allocations: 1.481 MB / 378.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.03188, allocations: 60.06 kB / 378.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.03375, allocations: 1.213 MB / 379.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.0338, allocations: 37.7 kB / 379.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/0.03454, allocations: 0.741 MB / 380.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.03477, allocations: 238 kB / 380.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.03496, allocations: 122.3 kB / 380.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.03515, allocations: 326 kB / 381 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.03575, allocations: 413.1 kB / 381.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.03645, allocations: 0.5121 MB / 381.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.03778, allocations: 0.9474 MB / 382.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.03778, allocations: 0 / 382.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001697/0.03948, allocations: 1.168 MB / 384 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.0395, allocations: 4 kB / 384 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.03951, allocations: 4.312 kB / 384 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.03953, allocations: 11.94 kB / 384 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.04003, allocations: 123.8 kB / 384.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.04005, allocations: 11.98 kB / 384.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.04029, allocations: 47.62 kB / 384.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.04033, allocations: 24 kB / 384.2 MB, free: 10.82 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 (81): * Single equations (assignments): 81 * 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.0005399/0.04087, allocations: 363.9 kB / 384.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/0.04124, allocations: 163 kB / 384.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.04332, allocations: 1.148 MB / 385.9 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.04333, allocations: 8 kB / 385.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.04334, allocations: 0 / 385.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.04334, allocations: 7.984 kB / 385.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/0.04645, allocations: 2.058 MB / 387.9 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.04645, allocations: 0 / 387.9 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.04692, allocations: 103.9 kB / 388.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.04693, allocations: 4 kB / 388.1 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.04697, allocations: 15.94 kB / 388.1 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.04697, allocations: 4 kB / 388.1 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.04697, allocations: 0 / 388.1 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.0494, allocations: 1.824 MB / 389.9 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.04958, allocations: 118.9 kB / 390 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.168e-05/0.04966, allocations: 12.06 kB / 390 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.04987, allocations: 12 kB / 390 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.04995, allocations: 40.58 kB / 390.1 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.04999, allocations: 19.98 kB / 390.1 MB, free: 4.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.05119, allocations: 0.8356 MB / 390.9 MB, free: 4.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05119, allocations: 0 / 390.9 MB, free: 4.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006088/0.0518, allocations: 215.2 kB / 391.1 MB, free: 3.812 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 (66): * Single equations (assignments): 66 * 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.0002183/0.05202, allocations: 118.1 kB / 391.3 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.05338, allocations: 0.9195 MB / 392.2 MB, free: 2.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.05338, allocations: 0 / 392.2 MB, free: 2.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006404/0.05402, allocations: 479.5 kB / 392.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.05464, allocations: 85.03 kB / 392.7 MB, free: 2.219 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.05893, allocations: 2.7 MB / 395.4 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008895/0.05982, allocations: 0.6967 MB / 396.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002456/0.06006, allocations: 68.38 kB / 396.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.06021, allocations: 48.48 kB / 396.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.06021, allocations: 0 / 396.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of Templates: time 0.01247/0.07268, allocations: 4.195 MB / 400.4 MB, free: 10.45 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.629171094042249]