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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 110.5 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 188.3 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1866/0.1866, allocations: 28.78 MB / 320 MB, free: 1.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 445 MB, free: 2.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1352, allocations: 56.43 MB / 0.4897 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.005797/0.1411, allocations: 3.635 MB / 0.4932 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1428, allocations: 0.6779 MB / 0.4939 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.1432, allocations: 19.94 kB / 0.4939 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.1436, allocations: 174.3 kB / 0.4941 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.144, allocations: 138.8 kB / 0.4942 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.1447, allocations: 359.5 kB / 0.4946 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008453/0.1455, allocations: 0.8561 MB / 0.4954 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007877/0.1463, allocations: 0.6364 MB / 0.496 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.1467, allocations: 338.4 kB / 0.4963 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.147, allocations: 417.6 kB / 0.4967 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.1471, allocations: 84 kB / 0.4968 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.1474, allocations: 116 kB / 0.4969 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.1478, allocations: 434.5 kB / 0.4973 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005464/0.1483, allocations: 0.6164 MB / 0.498 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1496, allocations: 1.256 MB / 0.4992 GB, free: 272 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1496, allocations: 0 / 0.4992 GB, free: 272 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1496, allocations: 4 kB / 0.4992 GB, free: 268 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.1497, allocations: 0 / 0.4992 GB, free: 268 kB / 382.1 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.002411/0.1521, allocations: 1.78 MB / 0.5009 GB, free: 14.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1521, allocations: 8.031 kB / 0.5009 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.1524, allocations: 198.4 kB / 0.5011 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009631/0.1533, allocations: 0.7627 MB / 0.5019 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.1534, allocations: 74.45 kB / 0.5019 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.1535, allocations: 104.4 kB / 0.502 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.1553, allocations: 1.166 MB / 0.5032 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.1553, allocations: 192 / 0.5032 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.1554, allocations: 43.94 kB / 0.5032 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.1554, allocations: 28 kB / 0.5032 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.1569, allocations: 1.101 MB / 0.5043 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004258/0.1612, allocations: 3.658 MB / 0.5079 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.1628, allocations: 1.33 MB / 0.5092 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/0.1634, allocations: 482.3 kB / 0.5096 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.292e-05/0.1635, allocations: 28.77 kB / 0.5097 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.1636, allocations: 47.06 kB / 0.5097 GB, free: 5.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=68): time 2.224e-06/0.1636, allocations: 0 / 0.5097 GB, free: 5.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=68): time 0.001976/0.1656, allocations: 1.52 MB / 0.5112 GB, free: 3.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.1656, allocations: 59.97 kB / 0.5113 GB, free: 3.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.167, allocations: 1.288 MB / 0.5125 GB, free: 2.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.1671, allocations: 37.7 kB / 0.5126 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/0.1677, allocations: 0.7715 MB / 0.5133 GB, free: 1.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.1679, allocations: 232.6 kB / 0.5135 GB, free: 1.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.168, allocations: 114.6 kB / 0.5136 GB, free: 1.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1682, allocations: 341.9 kB / 0.514 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.1687, allocations: 437.8 kB / 0.5144 GB, free: 332 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2755/0.4442, allocations: 0.5318 MB / 0.5149 GB, free: 26.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.4457, allocations: 1.003 MB / 0.5159 GB, free: 26.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.4457, allocations: 1.938 kB / 0.5159 GB, free: 26.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001714/0.4474, allocations: 1.186 MB / 0.517 GB, free: 26.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4474, allocations: 6.719 kB / 0.517 GB, free: 26.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4475, allocations: 5.062 kB / 0.5171 GB, free: 26.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.4475, allocations: 7.375 kB / 0.5171 GB, free: 26.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.448, allocations: 130 kB / 0.5172 GB, free: 26.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.448, allocations: 8.844 kB / 0.5172 GB, free: 26.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.4483, allocations: 56.28 kB / 0.5172 GB, free: 26.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.4484, allocations: 31.3 kB / 0.5173 GB, free: 26.68 MB / 398.1 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.000621/0.449, allocations: 375 kB / 0.5176 GB, free: 26.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.4492, allocations: 138.6 kB / 0.5178 GB, free: 26.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.4511, allocations: 1.203 MB / 0.5189 GB, free: 26.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.4511, allocations: 2.062 kB / 0.5189 GB, free: 26.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4511, allocations: 1.031 kB / 0.5189 GB, free: 26.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.4514, allocations: 207.2 kB / 0.5191 GB, free: 26.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/0.4515, allocations: 14.56 kB / 0.5192 GB, free: 26.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.4517, allocations: 18.38 kB / 0.5192 GB, free: 26.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.4519, allocations: 42.11 kB / 0.5192 GB, free: 26.37 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001899/0.4538, allocations: 1.131 MB / 0.5203 GB, free: 26.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002544/0.4563, allocations: 1.969 MB / 0.5222 GB, free: 25.94 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006385/0.457, allocations: 0.4987 MB / 0.5227 GB, free: 25.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.4582, allocations: 0.8896 MB / 0.5236 GB, free: 25.82 MB / 398.1 MB Notification: Performance of Backend: time 1.052e-06/0.4582, allocations: 1.406 kB / 0.5236 GB, free: 25.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.4597, allocations: 0.646 MB / 0.5242 GB, free: 25.75 MB / 398.1 MB Notification: Performance of SimCode: time 0.004489/0.4642, allocations: 2.879 MB / 0.527 GB, free: 24.28 MB / 398.1 MB Notification: Performance of Templates: time 0.01978/0.484, allocations: 7.652 MB / 0.5345 GB, free: 23.52 MB / 398.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile (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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1)