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.0009652/0.0009652, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001038/0.001038, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9641/0.9641, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.1188/0.1188, allocations: 21.81 MB / 282.1 MB, free: 7.055 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 3.377e-06/3.377e-06, allocations: 4 kB / 306.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.491e-05, allocations: 4.562 kB / 306.1 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_6): time 0.004235/0.00426, allocations: 3.194 MB / 309.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.005637, allocations: 0.8253 MB / 310.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.005903, allocations: 19.88 kB / 310.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.006207, allocations: 170.3 kB / 310.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.006447, allocations: 146.7 kB / 310.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.006995, allocations: 375.5 kB / 310.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.007587, allocations: 0.8561 MB / 311.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000455/0.008042, allocations: 492.1 kB / 312.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.008373, allocations: 0.5026 MB / 312.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.008595, allocations: 310.8 kB / 312.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.008679, allocations: 84 kB / 313 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.008838, allocations: 116 kB / 313.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.009076, allocations: 462.3 kB / 313.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.009254, allocations: 330.6 kB / 313.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.009893, allocations: 0.929 MB / 314.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.009897, allocations: 0 / 314.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009898, allocations: 0 / 314.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.009907, allocations: 0 / 314.8 MB, free: 1.188 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.001301/0.01121, allocations: 1.745 MB / 316.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01125, allocations: 8.031 kB / 316.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.0114, allocations: 200.8 kB / 316.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.01192, allocations: 0.6329 MB / 317.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.01198, allocations: 86.45 kB / 317.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.937e-05/0.01205, allocations: 104.3 kB / 317.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007885/0.01284, allocations: 0.7165 MB / 318.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.01287, allocations: 192 / 318.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.01292, allocations: 44.38 kB / 318.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.01294, allocations: 28.36 kB / 318.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.01335, allocations: 264.5 kB / 318.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.01589, allocations: 2.242 MB / 320.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.01637, allocations: 363.6 kB / 321.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.0165, allocations: 98.78 kB / 321.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.896e-05/0.01656, allocations: 28.64 kB / 321.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.01682, allocations: 203.1 kB / 321.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/0.01682, allocations: 0 / 321.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.0005673/0.01739, allocations: 397.8 kB / 321.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.01743, allocations: 60.06 kB / 322 MB, free: 9.727 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007831/0.01821, allocations: 0.9874 MB / 323 MB, free: 8.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.01824, allocations: 37.7 kB / 323 MB, free: 8.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.01854, allocations: 0.5137 MB / 323.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.01869, allocations: 253.7 kB / 323.8 MB, free: 7.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.01883, allocations: 122.6 kB / 323.9 MB, free: 7.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.01892, allocations: 337.8 kB / 324.2 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.01904, allocations: 64.8 kB / 324.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.01922, allocations: 189.7 kB / 324.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.01959, allocations: 322.7 kB / 324.8 MB, free: 6.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.01959, allocations: 4 kB / 324.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0004818/0.02008, allocations: 387.9 kB / 325.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.0201, allocations: 7.938 kB / 325.2 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.0201, allocations: 4 kB / 325.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.02012, allocations: 8 kB / 325.2 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.02051, allocations: 143.8 kB / 325.3 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.02052, allocations: 15.92 kB / 325.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.02069, allocations: 51.58 kB / 325.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.02072, allocations: 23.98 kB / 325.4 MB, free: 6.164 MB / 298.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.0002367/0.02096, allocations: 164.6 kB / 325.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.02107, allocations: 99.83 kB / 325.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005667/0.02164, allocations: 436.4 kB / 326.1 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.02164, allocations: 8 kB / 326.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.02164, allocations: 0 / 326.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.02165, allocations: 3.984 kB / 326.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.02271, allocations: 0.9312 MB / 327.1 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.02271, allocations: 0 / 327.1 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.02306, allocations: 111.9 kB / 327.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.02307, allocations: 11.94 kB / 327.2 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.0231, allocations: 15.98 kB / 327.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.0231, allocations: 0 / 327.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0231, allocations: 0 / 327.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.02373, allocations: 0.5897 MB / 327.8 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.02391, allocations: 154.7 kB / 327.9 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.02397, allocations: 12 kB / 327.9 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.02413, allocations: 12 kB / 328 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.0242, allocations: 44.56 kB / 328 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.02422, allocations: 12 kB / 328 MB, free: 3.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004636/0.02469, allocations: 0.5021 MB / 328.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02469, allocations: 0 / 328.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004716/0.02516, allocations: 215.2 kB / 328.7 MB, free: 2.793 MB / 298.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.0001726/0.02533, allocations: 110.7 kB / 328.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004114/0.02574, allocations: 300.3 kB / 329.1 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/0.02576, allocations: 12.69 kB / 329.1 MB, free: 2.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.02595, allocations: 161.8 kB / 329.3 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.02638, allocations: 102.9 kB / 329.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.02893, allocations: 2.269 MB / 331.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.02921, allocations: 329.2 kB / 332 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000201/0.02941, allocations: 80.52 kB / 332.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.0296, allocations: 123.3 kB / 332.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.0296, allocations: 0 / 332.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of Templates: time 0.01147/0.04107, allocations: 4.977 MB / 337.2 MB, free: 10.34 MB / 314.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8073513726703823]