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.001569/0.001569, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.001618/0.001618, allocations: 169 kB / 23.49 MB, free: 1.051 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.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.1479/0.1479, allocations: 21.8 MB / 282.1 MB, free: 7.242 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 2.174e-06/2.174e-06, allocations: 3.938 kB / 358.8 MB, free: 5.383 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.072e-05, allocations: 10.25 kB / 358.8 MB, free: 5.371 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.003664/0.003684, allocations: 3.161 MB / 362 MB, free: 2.195 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.005273, allocations: 0.674 MB / 362.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/0.005644, allocations: 19.94 kB / 362.7 MB, free: 1.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.006011, allocations: 174.3 kB / 362.9 MB, free: 1.328 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.006248, allocations: 134.8 kB / 363 MB, free: 1.195 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.006905, allocations: 359.5 kB / 363.3 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007081/0.007613, allocations: 0.8482 MB / 364.2 MB, free: 15.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005335/0.008147, allocations: 472.1 kB / 364.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.008497, allocations: 494.8 kB / 365.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.008712, allocations: 294.8 kB / 365.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.976e-05/0.008802, allocations: 91.94 kB / 365.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.008959, allocations: 116 kB / 365.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.009237, allocations: 450.3 kB / 366.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.009434, allocations: 326.6 kB / 366.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007294/0.01016, allocations: 0.9096 MB / 367.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01017, allocations: 4 kB / 367.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01017, allocations: 0 / 367.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.01018, allocations: 0 / 367.3 MB, free: 12.84 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.001534/0.01171, allocations: 1.871 MB / 369.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.01176, allocations: 12.03 kB / 369.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.01199, allocations: 287.6 kB / 369.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.01261, allocations: 0.7252 MB / 370.2 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/0.01267, allocations: 78.45 kB / 370.3 MB, free: 9.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.01276, allocations: 104.4 kB / 370.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.0136, allocations: 0.7753 MB / 371.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.01362, allocations: 192 / 371.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.01366, allocations: 40.38 kB / 371.2 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.01368, allocations: 28.38 kB / 371.2 MB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.01419, allocations: 367.5 kB / 371.6 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.01684, allocations: 3.346 MB / 374.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.01739, allocations: 368.5 kB / 375.3 MB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.01756, allocations: 129.5 kB / 375.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.574e-05/0.01763, allocations: 36.62 kB / 375.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.01766, allocations: 38.05 kB / 375.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 2.053e-06/0.01766, allocations: 7.938 kB / 375.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=68): time 0.0007228/0.01838, allocations: 0.5751 MB / 376.1 MB, free: 3.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.01842, allocations: 60.06 kB / 376.1 MB, free: 3.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008921/0.01931, allocations: 1.165 MB / 377.3 MB, free: 2.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.01934, allocations: 41.7 kB / 377.3 MB, free: 2.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/0.01984, allocations: 0.8355 MB / 378.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.01998, allocations: 245.9 kB / 378.4 MB, free: 1.379 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.0201, allocations: 116.3 kB / 378.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.02026, allocations: 0.5004 MB / 379 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.02041, allocations: 97.92 kB / 379.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.02064, allocations: 231.1 kB / 379.3 MB, free: 392 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.02105, allocations: 373.5 kB / 379.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.02105, allocations: 0 / 379.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005932/0.02165, allocations: 0.5547 MB / 380.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.02166, allocations: 4 kB / 380.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.02167, allocations: 4 kB / 380.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.02169, allocations: 4 kB / 380.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.02196, allocations: 131.8 kB / 380.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.02197, allocations: 12.25 kB / 380.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.0221, allocations: 59.56 kB / 380.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.02212, allocations: 20 kB / 380.5 MB, free: 15.18 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.0001942/0.02232, allocations: 199.3 kB / 380.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.02243, allocations: 171 kB / 380.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006084/0.02304, allocations: 0.5314 MB / 381.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.02305, allocations: 11.94 kB / 381.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.02305, allocations: 0 / 381.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.02306, allocations: 3.984 kB / 381.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.02437, allocations: 1.315 MB / 382.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.02437, allocations: 4 kB / 382.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.02464, allocations: 119.8 kB / 382.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.892e-06/0.02465, allocations: 4 kB / 382.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.02467, allocations: 12 kB / 382.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.02468, allocations: 4 kB / 382.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02468, allocations: 0 / 382.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.02545, allocations: 0.7755 MB / 383.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/0.02554, allocations: 134.8 kB / 383.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.02559, allocations: 12 kB / 383.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.0257, allocations: 16 kB / 383.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.02577, allocations: 40.58 kB / 383.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.02579, allocations: 19.98 kB / 383.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005715/0.02636, allocations: 0.681 MB / 384.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02636, allocations: 0 / 384.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003676/0.02673, allocations: 207.2 kB / 384.7 MB, free: 10.84 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.0001651/0.0269, allocations: 123.1 kB / 384.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.02734, allocations: 343.5 kB / 385.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02734, allocations: 0 / 385.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.02754, allocations: 196.6 kB / 385.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.02793, allocations: 100.4 kB / 385.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.03015, allocations: 2.268 MB / 387.7 MB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.03037, allocations: 329.2 kB / 388.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.03052, allocations: 76.36 kB / 388.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.0306, allocations: 44.5 kB / 388.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.03061, allocations: 4 kB / 388.2 MB, free: 7.301 MB / 362.7 MB Notification: Performance of Templates: time 0.009272/0.03988, allocations: 4.384 MB / 392.6 MB, free: 2.953 MB / 362.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: 3.520289991982281]