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.001319/0.001319, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001387/0.001387, allocations: 164.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.1913/0.1913, allocations: 21.81 MB / 281 MB, free: 10.83 MB / 270.1 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 7.093e-06/7.093e-06, allocations: 4 kB / 418.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/3.436e-05, allocations: 6.281 kB / 418.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.004724/0.004759, allocations: 3.124 MB / 421.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.006696, allocations: 0.8488 MB / 422.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.007095, allocations: 23.81 kB / 422.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.007557, allocations: 166.3 kB / 422.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.007879, allocations: 106.9 kB / 422.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009464/0.008825, allocations: 451.5 kB / 422.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.009984, allocations: 1.008 MB / 423.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.01076, allocations: 483.9 kB / 424.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.01137, allocations: 0.5495 MB / 425 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.01171, allocations: 290.8 kB / 425.2 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.01186, allocations: 120 kB / 425.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.01211, allocations: 144 kB / 425.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.01244, allocations: 322.8 kB / 425.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.01276, allocations: 319 kB / 426.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.0142, allocations: 1.265 MB / 427.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.0142, allocations: 0 / 427.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.0142, allocations: 0 / 427.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.01422, allocations: 0 / 427.4 MB, free: 4.262 MB / 350.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.00207/0.01629, allocations: 1.326 MB / 428.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.01633, allocations: 12.03 kB / 428.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.01655, allocations: 144 kB / 428.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.01763, allocations: 0.6496 MB / 429.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/0.01772, allocations: 90.58 kB / 429.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.01788, allocations: 116.3 kB / 429.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.01972, allocations: 1.095 MB / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.01975, allocations: 8.125 kB / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.01983, allocations: 43.94 kB / 430.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.01986, allocations: 28 kB / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.02127, allocations: 0.7106 MB / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004773/0.02605, allocations: 3.629 MB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/0.02696, allocations: 447.8 kB / 435.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.02725, allocations: 185.3 kB / 435.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.02732, allocations: 12.27 kB / 435.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.02735, allocations: 38.84 kB / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.365e-06/0.02735, allocations: 0 / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001146/0.0285, allocations: 0.648 MB / 436.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.02856, allocations: 59.34 kB / 436.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000882/0.02944, allocations: 0.68 MB / 437.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.02948, allocations: 41.7 kB / 437.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.02997, allocations: 0.5972 MB / 437.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.03009, allocations: 130.9 kB / 438.1 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.03028, allocations: 102.3 kB / 438.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.03045, allocations: 326 kB / 438.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.03081, allocations: 205.2 kB / 438.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.0313, allocations: 364.4 kB / 439 MB, free: 8.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.03216, allocations: 0.5641 MB / 439.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.03216, allocations: 0 / 439.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001091/0.03325, allocations: 0.6723 MB / 440.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.03327, allocations: 11.94 kB / 440.3 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.03328, allocations: 4 kB / 440.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.03331, allocations: 12.56 kB / 440.3 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.0337, allocations: 103.8 kB / 440.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.03372, allocations: 11.98 kB / 440.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.03395, allocations: 43.67 kB / 440.4 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.03401, allocations: 27.94 kB / 440.5 MB, free: 6.668 MB / 366.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.0004008/0.03441, allocations: 284.2 kB / 440.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.03451, allocations: 79.41 kB / 440.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009769/0.03549, allocations: 0.5323 MB / 441.4 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.0355, allocations: 4 kB / 441.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.0355, allocations: 4 kB / 441.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.03551, allocations: 112 / 441.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008818/0.03639, allocations: 0.6295 MB / 442 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.03639, allocations: 4 kB / 442 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.03676, allocations: 63.91 kB / 442.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.03677, allocations: 7.984 kB / 442.1 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.0368, allocations: 19.94 kB / 442.1 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.0368, allocations: 0 / 442.1 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03681, allocations: 0 / 442.1 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.03807, allocations: 0.8407 MB / 442.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.03816, allocations: 59.47 kB / 443 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.03823, allocations: 15.94 kB / 443 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.03841, allocations: 11.98 kB / 443 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.03849, allocations: 24.05 kB / 443 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.03851, allocations: 11.94 kB / 443.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006088/0.03912, allocations: 479 kB / 443.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03912, allocations: 0 / 443.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006019/0.03972, allocations: 195 kB / 443.7 MB, free: 3.367 MB / 366.1 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.0002013/0.03992, allocations: 109.2 kB / 443.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000862/0.04078, allocations: 476.6 kB / 444.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.04078, allocations: 0 / 444.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.04113, allocations: 211.6 kB / 444.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.04173, allocations: 93.52 kB / 444.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.04438, allocations: 1.722 MB / 446.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.0449, allocations: 470.2 kB / 446.8 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.04511, allocations: 64.23 kB / 446.8 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.04521, allocations: 44.48 kB / 446.9 MB, free: 136 kB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.04522, allocations: 0 / 446.9 MB, free: 136 kB / 366.1 MB Notification: Performance of Templates: time 0.1662/0.2114, allocations: 4.185 MB / 451.1 MB, free: 38.91 MB / 366.1 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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.679194826632738] Failed to read output from testmodel.py, exit status != 0: 0.22000597789883614 0.23217953599999996 0.21518981899999995 Calling exit ...