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.001328/0.001328, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001285/0.001285, 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.337/1.337, 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.1709/0.1709, allocations: 28.79 MB / 320 MB, free: 1.914 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 445 MB, free: 2.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 56.42 MB / 0.4896 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.004631/0.1071, allocations: 3.697 MB / 0.4933 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1089, allocations: 0.8644 MB / 0.4941 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006168/0.1095, allocations: 15.94 kB / 0.4941 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005481/0.1101, allocations: 166.3 kB / 0.4943 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.1105, allocations: 103 kB / 0.4944 GB, free: 5.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000887/0.1114, allocations: 451.5 kB / 0.4948 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.1126, allocations: 1.027 MB / 0.4958 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009103/0.1135, allocations: 0.7102 MB / 0.4965 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.1139, allocations: 378.3 kB / 0.4969 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.1142, allocations: 421.5 kB / 0.4973 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.1144, allocations: 116 kB / 0.4974 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.1146, allocations: 144 kB / 0.4975 GB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.1149, allocations: 310.9 kB / 0.4978 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.1153, allocations: 0.5475 MB / 0.4983 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1164, allocations: 1.265 MB / 0.4996 GB, free: 15.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1164, allocations: 4 kB / 0.4996 GB, free: 15.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1164, allocations: 0 / 0.4996 GB, free: 15.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.575e-05/0.1165, allocations: 0 / 0.4996 GB, free: 15.87 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.001929/0.1184, allocations: 1.379 MB / 0.5009 GB, free: 14.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1185, allocations: 12.03 kB / 0.5009 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.1186, allocations: 143.2 kB / 0.5011 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009512/0.1196, allocations: 0.7139 MB / 0.5018 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.1197, allocations: 86.58 kB / 0.5019 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1198, allocations: 112.4 kB / 0.502 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.1214, allocations: 1.094 MB / 0.503 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.1214, allocations: 3.938 kB / 0.503 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.1215, allocations: 44 kB / 0.5031 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.1216, allocations: 28 kB / 0.5031 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.1227, allocations: 0.7105 MB / 0.5038 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/0.1269, allocations: 4.099 MB / 0.5078 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.1276, allocations: 455.3 kB / 0.5082 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.1279, allocations: 193.3 kB / 0.5084 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/0.128, allocations: 16.27 kB / 0.5084 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.128, allocations: 38.78 kB / 0.5085 GB, free: 6.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.835e-06/0.128, allocations: 0 / 0.5085 GB, free: 6.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001002/0.129, allocations: 0.6401 MB / 0.5091 GB, free: 5.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.1291, allocations: 63.34 kB / 0.5092 GB, free: 5.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/0.1298, allocations: 0.6684 MB / 0.5098 GB, free: 5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1299, allocations: 33.64 kB / 0.5098 GB, free: 4.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.1302, allocations: 0.5879 MB / 0.5104 GB, free: 4.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.1304, allocations: 134.1 kB / 0.5105 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.1305, allocations: 102.2 kB / 0.5106 GB, free: 4.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1307, allocations: 326 kB / 0.5109 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.131, allocations: 209 kB / 0.5111 GB, free: 3.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.1314, allocations: 355.5 kB / 0.5115 GB, free: 3.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007447/0.1322, allocations: 0.5719 MB / 0.512 GB, free: 2.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1322, allocations: 3.938 kB / 0.512 GB, free: 2.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009716/0.1332, allocations: 0.6607 MB / 0.5127 GB, free: 1.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1332, allocations: 11.94 kB / 0.5127 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1332, allocations: 4 kB / 0.5127 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1332, allocations: 8 kB / 0.5127 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.1336, allocations: 99.83 kB / 0.5128 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.1336, allocations: 11.98 kB / 0.5128 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.1339, allocations: 51.44 kB / 0.5129 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.1339, allocations: 20 kB / 0.5129 GB, free: 1.672 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.0003515/0.1343, allocations: 293.3 kB / 0.5132 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1344, allocations: 67.16 kB / 0.5132 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.1353, allocations: 0.5316 MB / 0.5138 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1353, allocations: 3.984 kB / 0.5138 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1353, allocations: 8 kB / 0.5138 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1354, allocations: 140.2 kB / 0.5139 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.1355, allocations: 12 kB / 0.5139 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1357, allocations: 8 kB / 0.5139 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.1357, allocations: 24.02 kB / 0.5139 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1959/0.3316, allocations: 0.5872 MB / 0.5145 GB, free: 27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001349/0.333, allocations: 0.949 MB / 0.5154 GB, free: 26.79 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003039/0.3333, allocations: 217.9 kB / 0.5156 GB, free: 26.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005207/0.3338, allocations: 473 kB / 0.5161 GB, free: 26.69 MB / 398.1 MB Notification: Performance of Backend: time 7.41e-07/0.3339, allocations: 0 / 0.5161 GB, free: 26.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008617/0.3347, allocations: 398.6 kB / 0.5165 GB, free: 26.62 MB / 398.1 MB Notification: Performance of SimCode: time 0.002744/0.3375, allocations: 2.164 MB / 0.5186 GB, free: 25.38 MB / 398.1 MB Notification: Performance of Templates: time 0.01491/0.3524, allocations: 6.233 MB / 0.5247 GB, free: 24.96 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)