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.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.001003/0.001003, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009297/0.0009297, allocations: 169 kB / 23.02 MB, free: 1.551 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.06/1.06, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.1466/0.1466, allocations: 21.81 MB / 281.7 MB, free: 7.184 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.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") translateModel(SystemDynamics.WorldDynamics.World3.Human_Fertility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.987e-06/3.987e-06, allocations: 0 / 358.8 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.6e-05/4.998e-05, allocations: 6.25 kB / 358.8 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.005459/0.005509, allocations: 3.254 MB / 362 MB, free: 1.832 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.00746, allocations: 0.8605 MB / 362.9 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004353/0.007895, allocations: 23.81 kB / 362.9 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.008355, allocations: 162.3 kB / 363.1 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.008669, allocations: 106.9 kB / 363.2 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.009647, allocations: 451.5 kB / 363.6 MB, free: 244 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.01072, allocations: 1 MB / 364.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007677/0.01149, allocations: 483.9 kB / 365.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005689/0.01206, allocations: 0.5573 MB / 365.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.01237, allocations: 290.8 kB / 365.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.01253, allocations: 116 kB / 366 MB, free: 13.77 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.01277, allocations: 144 kB / 366.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.01305, allocations: 318.9 kB / 366.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.01334, allocations: 322.9 kB / 366.8 MB, free: 13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000994/0.01434, allocations: 0.8088 MB / 367.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01434, allocations: 0 / 367.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01434, allocations: 0 / 367.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.01436, allocations: 0 / 367.6 MB, free: 12.19 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00158/0.01594, allocations: 1.434 MB / 369 MB, free: 10.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.01598, allocations: 12.03 kB / 369.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.01619, allocations: 239.9 kB / 369.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006459/0.01683, allocations: 0.6681 MB / 370 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/0.01689, allocations: 86.52 kB / 370 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.01699, allocations: 116.3 kB / 370.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/0.01792, allocations: 0.884 MB / 371 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.01793, allocations: 192 / 371 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.01798, allocations: 51.94 kB / 371.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.01801, allocations: 28 kB / 371.1 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.0185, allocations: 359.7 kB / 371.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.02147, allocations: 4.522 MB / 376 MB, free: 3.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.02191, allocations: 224.2 kB / 376.2 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.02201, allocations: 68.22 kB / 376.3 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.334e-05/0.02207, allocations: 16.27 kB / 376.3 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.0221, allocations: 41.67 kB / 376.3 MB, free: 3.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.0221, allocations: 0 / 376.3 MB, free: 3.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004886/0.02259, allocations: 315.2 kB / 376.6 MB, free: 2.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.02263, allocations: 55.34 kB / 376.7 MB, free: 2.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.02318, allocations: 0.6594 MB / 377.4 MB, free: 2.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.0232, allocations: 37.7 kB / 377.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.02355, allocations: 0.6546 MB / 378.1 MB, free: 1.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.02363, allocations: 126.9 kB / 378.2 MB, free: 1.191 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.02374, allocations: 104 kB / 378.3 MB, free: 1.082 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.02389, allocations: 0.4965 MB / 378.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.024, allocations: 61.27 kB / 378.8 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.02421, allocations: 271.9 kB / 379.1 MB, free: 168 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.02456, allocations: 365.1 kB / 379.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.02457, allocations: 4 kB / 379.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004683/0.02503, allocations: 420.7 kB / 379.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.02506, allocations: 14.75 kB / 379.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.02506, allocations: 4 kB / 379.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.02509, allocations: 8 kB / 379.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.0253, allocations: 99.83 kB / 380 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.02531, allocations: 11.94 kB / 380 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.02543, allocations: 55.55 kB / 380.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.02545, allocations: 24.41 kB / 380.1 MB, free: 15.09 MB / 362.7 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.0001763/0.02563, allocations: 191.1 kB / 380.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.02571, allocations: 87.47 kB / 380.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.02615, allocations: 297.1 kB / 380.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.02615, allocations: 4 kB / 380.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.02616, allocations: 0 / 380.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.02616, allocations: 0 / 380.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/0.02669, allocations: 0.5626 MB / 381.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02669, allocations: 0 / 381.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.02688, allocations: 72.02 kB / 381.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.02688, allocations: 3.938 kB / 381.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.02691, allocations: 15.92 kB / 381.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.02691, allocations: 0 / 381.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.02691, allocations: 4 kB / 381.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.0274, allocations: 493.5 kB / 381.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.02745, allocations: 67.47 kB / 381.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.02749, allocations: 19.92 kB / 381.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.02757, allocations: 8 kB / 381.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.02764, allocations: 27.94 kB / 381.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.02765, allocations: 11.94 kB / 381.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003095/0.02796, allocations: 411 kB / 382.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02796, allocations: 0 / 382.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003479/0.02831, allocations: 199 kB / 382.5 MB, free: 12.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (Avg_Ind_Out_PC.Smooth_of_Input.Integrator1.y,Del_Ind_Out_PC.Smooth1.Integrator1.y,Del_Ind_Out_PC.Smooth2.Integrator1.y,Del_Ind_Out_PC.Smooth3.Integrator1.y,Perc_Life_Expectancy.Smooth1.Integrator1.y,Perc_Life_Expectancy.Smooth2.Integrator1.y,Perc_Life_Expectancy.Smooth3.Integrator1.y,Fert_Cont_Facil_PC.Smooth1.Integrator1.y,Fert_Cont_Facil_PC.Smooth2.Integrator1.y,Fert_Cont_Facil_PC.Smooth3.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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 Backend phase and start with SimCode phase: time 0.000177/0.02849, allocations: 113.2 kB / 382.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003456/0.02883, allocations: 232.5 kB / 382.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.02883, allocations: 0 / 382.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.02896, allocations: 107.4 kB / 383 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.02933, allocations: 93.02 kB / 383 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.03093, allocations: 1.569 MB / 384.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.03107, allocations: 201.6 kB / 384.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.03119, allocations: 60.25 kB / 384.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.03127, allocations: 40.48 kB / 384.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.03127, allocations: 0 / 384.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Templates: time 0.007852/0.03912, allocations: 4.256 MB / 389.2 MB, free: 5.898 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.makefile [Timeout 660] (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=240 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5319169024005532]