Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.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.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 116.2 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.001921/0.001921, allocations: 183.9 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.444/1.444, allocations: 222.9 MB / 241.1 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.1981/0.1981, allocations: 28.78 MB / 320 MB, free: 1.922 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.89 kB / 445 MB, free: 2.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 56.42 MB / 0.4896 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.005323/0.1258, allocations: 3.7 MB / 0.4933 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.1281, allocations: 0.8567 MB / 0.4941 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008289/0.129, allocations: 19.88 kB / 0.4941 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.1296, allocations: 166.3 kB / 0.4943 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005908/0.1302, allocations: 114.9 kB / 0.4944 GB, free: 5.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.1313, allocations: 451.5 kB / 0.4948 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.1327, allocations: 1.027 MB / 0.4958 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009188/0.1336, allocations: 0.7101 MB / 0.4965 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.134, allocations: 378.3 kB / 0.4969 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.1343, allocations: 417.6 kB / 0.4973 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.1344, allocations: 116 kB / 0.4974 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.1346, allocations: 144 kB / 0.4975 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.1349, allocations: 318.9 kB / 0.4978 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.1353, allocations: 0.5396 MB / 0.4983 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.1364, allocations: 1.269 MB / 0.4996 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1364, allocations: 0 / 0.4996 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1364, allocations: 0 / 0.4996 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1365, allocations: 0 / 0.4996 GB, free: 15.88 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.001777/0.1383, allocations: 1.387 MB / 0.5009 GB, free: 14.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1383, allocations: 11.89 kB / 0.5009 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1385, allocations: 139.2 kB / 0.5011 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009173/0.1394, allocations: 0.7178 MB / 0.5018 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.1395, allocations: 82.58 kB / 0.5019 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.1396, allocations: 116.4 kB / 0.502 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.1412, allocations: 1.094 MB / 0.503 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.1412, allocations: 4 kB / 0.503 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.1413, allocations: 40 kB / 0.5031 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.1414, allocations: 28 kB / 0.5031 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.1425, allocations: 0.7144 MB / 0.5038 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.1464, allocations: 4.099 MB / 0.5078 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007755/0.1472, allocations: 463.2 kB / 0.5082 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.1475, allocations: 189.3 kB / 0.5084 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.1476, allocations: 16.27 kB / 0.5084 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1476, allocations: 38.84 kB / 0.5085 GB, free: 6.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.1476, allocations: 0 / 0.5085 GB, free: 6.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.000991/0.1486, allocations: 0.6487 MB / 0.5091 GB, free: 5.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1486, allocations: 55.34 kB / 0.5092 GB, free: 5.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.1494, allocations: 0.6723 MB / 0.5098 GB, free: 4.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.1494, allocations: 29.7 kB / 0.5099 GB, free: 4.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.1498, allocations: 0.5879 MB / 0.5104 GB, free: 4.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.1499, allocations: 126.1 kB / 0.5105 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.1501, allocations: 106.1 kB / 0.5106 GB, free: 4.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1502, allocations: 322 kB / 0.511 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.1505, allocations: 209 kB / 0.5112 GB, free: 3.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.1509, allocations: 353.8 kB / 0.5115 GB, free: 3.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007316/0.1517, allocations: 0.5796 MB / 0.5121 GB, free: 2.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1517, allocations: 7.938 kB / 0.5121 GB, free: 2.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000923/0.1526, allocations: 0.6646 MB / 0.5127 GB, free: 1.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1526, allocations: 4 kB / 0.5127 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1527, allocations: 8 kB / 0.5127 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1527, allocations: 8 kB / 0.5127 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.153, allocations: 99.83 kB / 0.5128 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1531, allocations: 7.938 kB / 0.5128 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.1533, allocations: 55.42 kB / 0.5129 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.1533, allocations: 24 kB / 0.5129 GB, free: 1.664 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 10 (Fert_Cont_Facil_PC.Smooth3.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth2.Integrator1.local_reset,Fert_Cont_Facil_PC.Smooth1.Integrator1.local_reset,Perc_Life_Expectancy.Smooth3.Integrator1.local_reset,Perc_Life_Expectancy.Smooth2.Integrator1.local_reset,Perc_Life_Expectancy.Smooth1.Integrator1.local_reset,Del_Ind_Out_PC.Smooth3.Integrator1.local_reset,Del_Ind_Out_PC.Smooth2.Integrator1.local_reset,Del_Ind_Out_PC.Smooth1.Integrator1.local_reset,Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0003495/0.1537, allocations: 285.3 kB / 0.5132 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.1538, allocations: 67.16 kB / 0.5132 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1548, allocations: 0.5279 MB / 0.5138 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.1548, allocations: 3.984 kB / 0.5138 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1549, allocations: 4 kB / 0.5138 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.155, allocations: 136.2 kB / 0.5139 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.1551, allocations: 12 kB / 0.5139 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.1554, allocations: 12.09 kB / 0.5139 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.1555, allocations: 31.84 kB / 0.514 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.284/0.4395, allocations: 0.5863 MB / 0.5145 GB, free: 27.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001459/0.441, allocations: 0.9504 MB / 0.5155 GB, free: 26.82 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003169/0.4413, allocations: 219.4 kB / 0.5157 GB, free: 26.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005516/0.4419, allocations: 469.4 kB / 0.5161 GB, free: 26.71 MB / 398.1 MB Notification: Performance of Backend: time 8.32e-07/0.4419, allocations: 0.8438 kB / 0.5161 GB, free: 26.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009013/0.4428, allocations: 399.7 kB / 0.5165 GB, free: 26.65 MB / 398.1 MB Notification: Performance of SimCode: time 0.002509/0.4453, allocations: 2.158 MB / 0.5186 GB, free: 25.41 MB / 398.1 MB Notification: Performance of Templates: time 0.01402/0.4594, allocations: 6.238 MB / 0.5247 GB, free: 24.99 MB / 398.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.makefile (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1)