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.001092/0.001092, allocations: 93.06 kB / 19.65 MB, free: 280 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.001765/0.001765, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.1555/0.1555, allocations: 21.8 MB / 281.7 MB, free: 7.188 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.424e-06/2.424e-06, allocations: 0 / 358.8 MB, free: 5.027 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.729e-05, allocations: 6.25 kB / 358.8 MB, free: 5.02 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_4): time 0.004918/0.004945, allocations: 3.208 MB / 362 MB, free: 1.797 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.006553, allocations: 0.6779 MB / 362.7 MB, free: 1.117 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004041/0.006957, allocations: 23.88 kB / 362.7 MB, free: 1.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.007452, allocations: 178.3 kB / 362.9 MB, free: 0.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.007812, allocations: 142.7 kB / 363 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000841/0.008653, allocations: 359.5 kB / 363.4 MB, free: 436 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008843/0.009537, allocations: 0.8522 MB / 364.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007419/0.01028, allocations: 480.1 kB / 364.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.01076, allocations: 0.491 MB / 365.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.01107, allocations: 298.7 kB / 365.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.01121, allocations: 88 kB / 365.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.01144, allocations: 115.9 kB / 365.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003908/0.01183, allocations: 470.3 kB / 366.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.01213, allocations: 334.5 kB / 366.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.01321, allocations: 0.9368 MB / 367.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.01322, allocations: 0 / 367.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01322, allocations: 0 / 367.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.01323, allocations: 4 kB / 367.4 MB, free: 12.35 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.002251/0.01548, allocations: 1.915 MB / 369.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.01553, allocations: 8.031 kB / 369.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.01586, allocations: 299.5 kB / 369.6 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009044/0.01676, allocations: 0.7251 MB / 370.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.054e-05/0.01685, allocations: 82.48 kB / 370.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.01699, allocations: 104.4 kB / 370.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.01833, allocations: 0.8312 MB / 371.4 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.01836, allocations: 4.188 kB / 371.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.718e-05/0.01842, allocations: 40.38 kB / 371.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.568e-05/0.0185, allocations: 56.36 kB / 371.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/0.01938, allocations: 416.2 kB / 371.9 MB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.02336, allocations: 3.596 MB / 375.5 MB, free: 3.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/0.0242, allocations: 415.5 kB / 375.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.02447, allocations: 141.3 kB / 376 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/0.02456, allocations: 36.5 kB / 376.1 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.0246, allocations: 42.05 kB / 376.1 MB, free: 3.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=70): time 3.276e-06/0.0246, allocations: 0 / 376.1 MB, free: 3.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=70): time 0.0009692/0.02557, allocations: 0.5984 MB / 376.7 MB, free: 2.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.02562, allocations: 89.7 kB / 376.8 MB, free: 2.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009333/0.02655, allocations: 1.252 MB / 378 MB, free: 1.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.02658, allocations: 37.83 kB / 378.1 MB, free: 1.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005049/0.02709, allocations: 0.9287 MB / 379 MB, free: 368 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.02722, allocations: 253.8 kB / 379.3 MB, free: 112 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.02737, allocations: 156.3 kB / 379.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.02752, allocations: 0.5081 MB / 379.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.02768, allocations: 113.9 kB / 380 MB, free: 15.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.02802, allocations: 475.2 kB / 380.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005796/0.0286, allocations: 0.6458 MB / 381.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.0286, allocations: 0 / 381.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0007184/0.02932, allocations: 0.7309 MB / 381.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.02934, allocations: 10.81 kB / 381.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.02935, allocations: 8 kB / 381.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.02938, allocations: 12 kB / 381.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.02971, allocations: 187.7 kB / 382.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.02972, allocations: 12 kB / 382.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.02989, allocations: 79.39 kB / 382.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.02994, allocations: 44 kB / 382.2 MB, free: 12.82 MB / 362.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.0001924/0.03013, allocations: 215 kB / 382.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.03026, allocations: 179.1 kB / 382.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006394/0.0309, allocations: 0.5711 MB / 383.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.0309, allocations: 8 kB / 383.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.03091, allocations: 0 / 383.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.03091, allocations: 3.984 kB / 383.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.03215, allocations: 1.359 MB / 384.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.03215, allocations: 0 / 384.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.03241, allocations: 119.9 kB / 384.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.03242, allocations: 7.984 kB / 384.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.03245, allocations: 12 kB / 384.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.03245, allocations: 12.03 kB / 384.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.03245, allocations: 3.938 kB / 384.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.03326, allocations: 0.9082 MB / 385.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.03335, allocations: 142.8 kB / 385.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.0334, allocations: 16 kB / 385.8 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.03352, allocations: 12 kB / 385.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.0336, allocations: 40.58 kB / 385.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.03362, allocations: 23.98 kB / 385.8 MB, free: 9.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005532/0.03418, allocations: 0.7142 MB / 386.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03418, allocations: 4 kB / 386.5 MB, free: 8.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000403/0.03458, allocations: 235.1 kB / 386.8 MB, free: 8.168 MB / 362.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.0001819/0.03476, allocations: 115.1 kB / 386.9 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005037/0.03527, allocations: 424.6 kB / 387.3 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.03527, allocations: 0 / 387.3 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.03547, allocations: 204.6 kB / 387.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.0359, allocations: 89.42 kB / 387.6 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.03797, allocations: 2.351 MB / 389.9 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.0382, allocations: 345 kB / 390.3 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.03841, allocations: 128.9 kB / 390.4 MB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.03851, allocations: 60.48 kB / 390.5 MB, free: 4.391 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03851, allocations: 0 / 390.5 MB, free: 4.391 MB / 362.7 MB Notification: Performance of Templates: time 0.009206/0.04772, allocations: 4.801 MB / 395.3 MB, free: 15.63 MB / 378.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: 3.2252467228099704]