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.001173/0.001173, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001092/0.001092, allocations: 169 kB / 23.27 MB, free: 1.223 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.016/1.016, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.1428/0.1428, allocations: 21.8 MB / 282.1 MB, free: 7.043 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_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.973e-06/1.973e-06, allocations: 0 / 359.3 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.106e-05, allocations: 9.484 kB / 359.3 MB, free: 4.777 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_6): time 0.00329/0.003311, allocations: 3.165 MB / 362.4 MB, free: 1.598 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.004735, allocations: 0.7596 MB / 363.2 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.005086, allocations: 19.94 kB / 363.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.005408, allocations: 178.3 kB / 363.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.005661, allocations: 138.8 kB / 363.5 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.006277, allocations: 387.3 kB / 363.9 MB, free: 128 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.006869, allocations: 0.86 MB / 364.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.007327, allocations: 468.2 kB / 365.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.00765, allocations: 0.4948 MB / 365.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.007885, allocations: 314.8 kB / 366 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.413e-05/0.007979, allocations: 84 kB / 366.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.008133, allocations: 116 kB / 366.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.008382, allocations: 458.3 kB / 366.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.008565, allocations: 334.6 kB / 367 MB, free: 12.99 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.009244, allocations: 0.9251 MB / 367.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.009247, allocations: 3.984 kB / 367.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.009248, allocations: 0 / 367.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.009258, allocations: 4 kB / 367.9 MB, free: 12.05 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.001444/0.0107, allocations: 1.922 MB / 369.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.01073, allocations: 8.031 kB / 369.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.01092, allocations: 291.6 kB / 370.1 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.01144, allocations: 0.7176 MB / 370.8 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.01149, allocations: 82.47 kB / 370.9 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.01157, allocations: 112.3 kB / 371 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.0122, allocations: 0.7168 MB / 371.8 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.01222, allocations: 4.188 kB / 371.8 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.01226, allocations: 48.36 kB / 371.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.01227, allocations: 24.38 kB / 371.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.01263, allocations: 293.6 kB / 372.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.01503, allocations: 3.117 MB / 375.2 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.01548, allocations: 349.1 kB / 375.6 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.0156, allocations: 113.6 kB / 375.7 MB, free: 3.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-05/0.01567, allocations: 36.52 kB / 375.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.01589, allocations: 214 kB / 375.9 MB, free: 3.727 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 2.205e-06/0.01589, allocations: 7.938 kB / 375.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.0005553/0.01644, allocations: 0.5555 MB / 376.5 MB, free: 3.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.01648, allocations: 60.06 kB / 376.6 MB, free: 3.086 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/0.01724, allocations: 1.165 MB / 377.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.01727, allocations: 41.7 kB / 377.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005316/0.0178, allocations: 0.8547 MB / 378.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.01795, allocations: 257.7 kB / 378.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.01808, allocations: 132.3 kB / 379 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.01824, allocations: 0.5004 MB / 379.5 MB, free: 84 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.01833, allocations: 73.92 kB / 379.6 MB, free: 8 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.0185, allocations: 242.4 kB / 379.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.0188, allocations: 372.7 kB / 380.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.0188, allocations: 0 / 380.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0004467/0.01924, allocations: 0.5313 MB / 380.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.01926, allocations: 8 kB / 380.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.01927, allocations: 4 kB / 380.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.01929, allocations: 4.344 kB / 380.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.01955, allocations: 147.8 kB / 380.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01955, allocations: 4 kB / 380.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.01967, allocations: 51.62 kB / 380.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.01969, allocations: 23.98 kB / 380.9 MB, free: 14.52 MB / 362.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.0002192/0.01991, allocations: 208.3 kB / 381.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.882e-05/0.02001, allocations: 171 kB / 381.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005237/0.02053, allocations: 0.516 MB / 381.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.02054, allocations: 15.98 kB / 381.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.02054, allocations: 0 / 381.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.02055, allocations: 0 / 381.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.02161, allocations: 1.112 MB / 382.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.02161, allocations: 0 / 382.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.02186, allocations: 123.8 kB / 383.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.02186, allocations: 0 / 383.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.02189, allocations: 20 kB / 383.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.02189, allocations: 0 / 383.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.02189, allocations: 4 kB / 383.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.02249, allocations: 0.7522 MB / 383.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.02265, allocations: 186.7 kB / 384 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.02269, allocations: 12 kB / 384 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.0228, allocations: 20.05 kB / 384.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.02286, allocations: 48.56 kB / 384.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.02288, allocations: 15.94 kB / 384.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004029/0.02329, allocations: 0.646 MB / 384.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02329, allocations: 0 / 384.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.02366, allocations: 211.2 kB / 385 MB, free: 10.4 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: 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.0001737/0.02384, allocations: 127.1 kB / 385.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.02419, allocations: 323 kB / 385.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.02419, allocations: 0 / 385.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.02436, allocations: 188.5 kB / 385.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.02472, allocations: 94.7 kB / 385.7 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.02666, allocations: 2.277 MB / 388 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.02686, allocations: 333.2 kB / 388.3 MB, free: 7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.027, allocations: 76.53 kB / 388.4 MB, free: 6.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.02714, allocations: 142.2 kB / 388.5 MB, free: 6.785 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02714, allocations: 0 / 388.5 MB, free: 6.785 MB / 362.7 MB Notification: Performance of Templates: time 0.009367/0.03651, allocations: 4.992 MB / 393.5 MB, free: 1.844 MB / 362.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: 3.1118415812961757]