Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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.001845/0.001845, 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.002034/0.002034, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.8 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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 358.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.996e-05, allocations: 5.828 kB / 358.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.005428/0.005458, allocations: 3.157 MB / 361.2 MB, free: 2.234 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.007135, allocations: 0.674 MB / 361.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.007479, allocations: 15.94 kB / 361.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.007927, allocations: 182.3 kB / 362.1 MB, free: 1.363 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.0083, allocations: 138.8 kB / 362.3 MB, free: 1.227 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007903/0.00909, allocations: 351.5 kB / 362.6 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000997/0.01009, allocations: 0.8443 MB / 363.4 MB, free: 36 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007919/0.01088, allocations: 476.1 kB / 363.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005853/0.01146, allocations: 490.8 kB / 364.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.01181, allocations: 290.8 kB / 364.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.01197, allocations: 88 kB / 364.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.01221, allocations: 116 kB / 364.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005837/0.01279, allocations: 458.3 kB / 365.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.01314, allocations: 322.6 kB / 365.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.01467, allocations: 1.214 MB / 366.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.01467, allocations: 0 / 366.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01467, allocations: 0 / 366.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.01469, allocations: 8 kB / 366.9 MB, free: 12.58 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.002769/0.01746, allocations: 1.961 MB / 368.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.0175, allocations: 8.031 kB / 368.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.01787, allocations: 287.6 kB / 369.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.01895, allocations: 0.7176 MB / 369.8 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.445e-05/0.01904, allocations: 78.44 kB / 369.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.01919, allocations: 108.3 kB / 370 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.02076, allocations: 0.919 MB / 370.9 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.02078, allocations: 4.188 kB / 370.9 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/0.02086, allocations: 44.31 kB / 371 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.02089, allocations: 24.38 kB / 371 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.02197, allocations: 0.5307 MB / 371.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.02701, allocations: 3.55 MB / 375.1 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.02801, allocations: 0.4931 MB / 375.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.02835, allocations: 173.8 kB / 375.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/0.02844, allocations: 36.58 kB / 375.8 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.02848, allocations: 45.97 kB / 375.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.334e-06/0.02848, allocations: 4 kB / 375.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.001331/0.02981, allocations: 0.704 MB / 376.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.02987, allocations: 56.06 kB / 376.6 MB, free: 2.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.03164, allocations: 1.369 MB / 377.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.03168, allocations: 37.7 kB / 378 MB, free: 1.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008787/0.03256, allocations: 0.9017 MB / 378.9 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.03281, allocations: 250.1 kB / 379.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.03303, allocations: 132 kB / 379.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003876/0.03341, allocations: 0.5121 MB / 379.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.03373, allocations: 149.2 kB / 379.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.03419, allocations: 299.6 kB / 380.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008328/0.03502, allocations: 0.4976 MB / 380.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.03503, allocations: 0 / 380.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001128/0.03615, allocations: 0.6679 MB / 381.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.03617, allocations: 8 kB / 381.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.03618, allocations: 0 / 381.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.0362, allocations: 11.94 kB / 381.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.03669, allocations: 123.8 kB / 381.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.03671, allocations: 15.92 kB / 381.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.03696, allocations: 47.62 kB / 381.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/0.03701, allocations: 24 kB / 381.6 MB, free: 13.35 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 (82): * Single equations (assignments): 82 * 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.0003387/0.03735, allocations: 240.6 kB / 381.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.03756, allocations: 175 kB / 382 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.03877, allocations: 0.6134 MB / 382.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.03878, allocations: 8 kB / 382.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.03878, allocations: 0 / 382.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.03879, allocations: 3.984 kB / 382.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.04124, allocations: 1.596 MB / 384.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.04124, allocations: 0 / 384.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.04172, allocations: 111.8 kB / 384.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.04172, allocations: 0 / 384.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.04176, allocations: 16 kB / 384.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.04177, allocations: 7.984 kB / 384.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.04177, allocations: 0 / 384.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.04322, allocations: 0.9475 MB / 385.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.04343, allocations: 130.8 kB / 385.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.04351, allocations: 12 kB / 385.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.04374, allocations: 15.98 kB / 385.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/0.04383, allocations: 40.58 kB / 385.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.04387, allocations: 16 kB / 385.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001046/0.04491, allocations: 0.771 MB / 386.3 MB, free: 8.566 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04491, allocations: 0 / 386.3 MB, free: 8.566 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005782/0.04549, allocations: 215.2 kB / 386.5 MB, free: 8.355 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 (67): * Single equations (assignments): 67 * 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.000213/0.0457, allocations: 115.2 kB / 386.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000969/0.04667, allocations: 454.3 kB / 387.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.04668, allocations: 4 kB / 387.1 MB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.04708, allocations: 244.7 kB / 387.3 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.04768, allocations: 99.88 kB / 387.4 MB, free: 7.449 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.05121, allocations: 2.33 MB / 389.7 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/0.05207, allocations: 0.6938 MB / 390.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.0523, allocations: 72.36 kB / 390.5 MB, free: 4.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.05243, allocations: 44.5 kB / 390.5 MB, free: 4.215 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.05243, allocations: 0 / 390.5 MB, free: 4.215 MB / 362.7 MB Notification: Performance of Templates: time 0.01262/0.06505, allocations: 4.248 MB / 394.8 MB, free: 15.99 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8780357469804585]