Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.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.0006607/0.0006607, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009073/0.001568, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006865/0.0006865, allocations: 157.2 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008703/0.001557, allocations: 467.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.8969/0.8969, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08619/0.983, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.114/0.114, allocations: 21.8 MB / 265.8 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0105/0.1245, allocations: 7.85 MB / 273.6 MB, free: 1.125 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-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_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 274.9 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.075e-06/9.808e-06, allocations: 2.312 kB / 274.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_6): time 0.002831/0.002841, allocations: 3.213 MB / 278.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.004319, allocations: 0.8388 MB / 279 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.004599, allocations: 18.19 kB / 279 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.004882, allocations: 185.6 kB / 279.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.005118, allocations: 137 kB / 279.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.005666, allocations: 378.4 kB / 279.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000678/0.006344, allocations: 0.8269 MB / 280.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.006838, allocations: 493.4 kB / 281 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.007331, allocations: 0.5924 MB / 281.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.007612, allocations: 311.8 kB / 281.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.007716, allocations: 85.56 kB / 282 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.007892, allocations: 116.8 kB / 282.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.00814, allocations: 401.1 kB / 282.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.008333, allocations: 271.2 kB / 282.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.009024, allocations: 0.8468 MB / 283.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.009037, allocations: 0 / 283.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009038, allocations: 4 kB / 283.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.332e-05/0.009071, allocations: 1.156 kB / 283.6 MB, free: 13.19 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00172/0.01079, allocations: 2.014 MB / 285.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.621e-05/0.01082, allocations: 9.656 kB / 285.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.01102, allocations: 204.3 kB / 285.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.01154, allocations: 0.6394 MB / 286.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.01159, allocations: 80.11 kB / 286.6 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/0.01167, allocations: 105.6 kB / 286.7 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007135/0.01238, allocations: 0.7164 MB / 287.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.0124, allocations: 1.344 kB / 287.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.01244, allocations: 42.69 kB / 287.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.01246, allocations: 25.41 kB / 287.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.01279, allocations: 275.3 kB / 287.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.01493, allocations: 2.261 MB / 290 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.01534, allocations: 358 kB / 290.3 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.01545, allocations: 93.02 kB / 290.4 MB, free: 9.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.501e-05/0.01552, allocations: 28.95 kB / 290.4 MB, free: 9.223 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.01573, allocations: 209.5 kB / 290.6 MB, free: 9.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 2.044e-06/0.01573, allocations: 0 / 290.6 MB, free: 9.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.0004278/0.01616, allocations: 391.2 kB / 291 MB, free: 8.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.0162, allocations: 64.47 kB / 291.1 MB, free: 8.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000683/0.01688, allocations: 0.982 MB / 292.1 MB, free: 8.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.01691, allocations: 40.2 kB / 292.1 MB, free: 8.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.01717, allocations: 0.5075 MB / 292.6 MB, free: 7.871 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.01729, allocations: 253.3 kB / 292.9 MB, free: 7.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/0.01738, allocations: 122.1 kB / 293 MB, free: 7.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.01746, allocations: 341.9 kB / 293.3 MB, free: 7.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.01754, allocations: 68.8 kB / 293.4 MB, free: 7.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.01767, allocations: 181.7 kB / 293.6 MB, free: 6.898 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.01792, allocations: 324.6 kB / 293.9 MB, free: 6.543 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01793, allocations: 0 / 293.9 MB, free: 6.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0003469/0.01827, allocations: 383.8 kB / 294.3 MB, free: 6.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.01829, allocations: 15.92 kB / 294.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.0183, allocations: 4.344 kB / 294.3 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.01831, allocations: 8 kB / 294.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.01858, allocations: 155.8 kB / 294.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.01859, allocations: 10.83 kB / 294.4 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01871, allocations: 51.62 kB / 294.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.01873, allocations: 16 kB / 294.5 MB, free: 5.906 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: min_QL:DISCRETE(start = 1.0 fixed = true ) \"Minimum quality of life\" type: Real min_dPop:DISCRETE(unit = \"1/yr\" fixed = true ) \"Minimal derivative of population\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.min_QL,$PRE.min_dPop,min_QL,min_dPop,Population.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Pollution.Integrator1.local_reset,CIAF.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0001948/0.01893, allocations: 168.1 kB / 294.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.019, allocations: 103.8 kB / 294.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/0.01941, allocations: 440.2 kB / 295.2 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01942, allocations: 4 kB / 295.2 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01942, allocations: 4 kB / 295.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.01943, allocations: 3.984 kB / 295.2 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009396/0.02037, allocations: 0.9195 MB / 296.1 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02037, allocations: 4 kB / 296.1 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.02076, allocations: 131.8 kB / 296.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.02089, allocations: 154.8 kB / 296.4 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.0209, allocations: 4 kB / 296.4 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.02092, allocations: 15.98 kB / 296.4 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.02092, allocations: 8 kB / 296.4 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02092, allocations: 0 / 296.4 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.02138, allocations: 0.5857 MB / 297 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.02142, allocations: 16 kB / 297 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.02153, allocations: 12 kB / 297.1 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.02157, allocations: 40.56 kB / 297.1 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.02159, allocations: 12 kB / 297.1 MB, free: 3.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003181/0.02191, allocations: 0.5099 MB / 297.6 MB, free: 2.727 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02191, allocations: 0 / 297.6 MB, free: 2.727 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.0222, allocations: 211.2 kB / 297.8 MB, free: 2.52 MB / 282.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: 3 ($whenCondition1,min_dPop,min_QL) * Number of discrete states: 2 (min_dPop,min_QL) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001162/0.02232, allocations: 108.2 kB / 297.9 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.02259, allocations: 296.2 kB / 298.2 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/0.0226, allocations: 16 kB / 298.2 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.02274, allocations: 165.8 kB / 298.4 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.02308, allocations: 131.8 kB / 298.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.02547, allocations: 2.42 MB / 300.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.02569, allocations: 341.2 kB / 301.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.02582, allocations: 72.41 kB / 301.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.02596, allocations: 119.4 kB / 301.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02596, allocations: 4 kB / 301.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Templates: time 0.009115/0.03507, allocations: 5.037 MB / 306.5 MB, free: 9.836 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.569461493752897]