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.001064/0.001064, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001066/0.001066, allocations: 169 kB / 23.49 MB, free: 1.055 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.103/1.103, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.1496/0.1496, allocations: 21.8 MB / 282.1 MB, free: 7.227 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.136e-06/3.136e-06, allocations: 0 / 358.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.764e-05, allocations: 5.969 kB / 358.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.003771/0.003799, allocations: 3.223 MB / 362 MB, free: 2.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.005743, allocations: 0.8566 MB / 362.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005441/0.006287, allocations: 23.81 kB / 362.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.006709, allocations: 166.3 kB / 363.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.006994, allocations: 98.91 kB / 363.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009479/0.007942, allocations: 459.5 kB / 363.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.009125, allocations: 1 MB / 364.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.009895, allocations: 483.9 kB / 365.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000534/0.01043, allocations: 0.5573 MB / 365.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.01071, allocations: 282.8 kB / 365.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.01084, allocations: 116 kB / 366 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.01107, allocations: 151.9 kB / 366.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.01133, allocations: 322.9 kB / 366.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.01158, allocations: 322.9 kB / 366.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008898/0.01247, allocations: 0.8049 MB / 367.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01247, allocations: 0 / 367.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01247, allocations: 0 / 367.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.01248, allocations: 0 / 367.6 MB, free: 12.54 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.001905/0.01439, allocations: 1.434 MB / 369 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.01444, allocations: 12.03 kB / 369.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.01476, allocations: 239.9 kB / 369.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009288/0.01569, allocations: 0.668 MB / 370 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/0.01578, allocations: 86.58 kB / 370 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.0159, allocations: 112.3 kB / 370.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.0171, allocations: 0.884 MB / 371 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.01712, allocations: 4.188 kB / 371 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-05/0.01719, allocations: 51.92 kB / 371.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.01722, allocations: 28 kB / 371.1 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006684/0.01789, allocations: 363.7 kB / 371.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.02173, allocations: 4.514 MB / 376 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.02224, allocations: 225 kB / 376.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.02236, allocations: 68.22 kB / 376.3 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-05/0.02242, allocations: 16.27 kB / 376.3 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.02245, allocations: 41.78 kB / 376.3 MB, free: 3.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.02246, allocations: 3.938 kB / 376.3 MB, free: 3.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005815/0.02304, allocations: 315.2 kB / 376.6 MB, free: 3.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.02309, allocations: 59.34 kB / 376.7 MB, free: 3.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006952/0.02378, allocations: 0.6594 MB / 377.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.02381, allocations: 29.7 kB / 377.4 MB, free: 2.328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.02423, allocations: 0.6546 MB / 378 MB, free: 1.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.426e-05/0.02433, allocations: 126.9 kB / 378.2 MB, free: 1.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.02447, allocations: 108 kB / 378.3 MB, free: 1.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.02466, allocations: 0.4926 MB / 378.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.0248, allocations: 65.27 kB / 378.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.02507, allocations: 271.9 kB / 379.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.02552, allocations: 361 kB / 379.4 MB, free: 68 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.02552, allocations: 4 kB / 379.4 MB, free: 64 kB / 346.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006277/0.02615, allocations: 420.5 kB / 379.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.02617, allocations: 7.938 kB / 379.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.02618, allocations: 8 kB / 379.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.02621, allocations: 8 kB / 379.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.02649, allocations: 104.4 kB / 380 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.02651, allocations: 8 kB / 380 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.02668, allocations: 63.55 kB / 380.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.02671, allocations: 20 kB / 380.1 MB, free: 15.43 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.0002043/0.02691, allocations: 191.1 kB / 380.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.02701, allocations: 83.47 kB / 380.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.02754, allocations: 301.1 kB / 380.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.02754, allocations: 8 kB / 380.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.02755, allocations: 3.984 kB / 380.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.02756, allocations: 0 / 380.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.02822, allocations: 0.5548 MB / 381.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02822, allocations: 0 / 381.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.02848, allocations: 63.91 kB / 381.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.02848, allocations: 4 kB / 381.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.02851, allocations: 15.92 kB / 381.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.02852, allocations: 4 kB / 381.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.02852, allocations: 0 / 381.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006076/0.02913, allocations: 0.4897 MB / 381.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.0292, allocations: 67.41 kB / 381.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.02925, allocations: 15.92 kB / 381.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.02937, allocations: 12 kB / 381.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.02944, allocations: 23.89 kB / 381.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.02946, allocations: 12 kB / 381.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004013/0.02986, allocations: 411 kB / 382.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02986, allocations: 0 / 382.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004888/0.03035, allocations: 199 kB / 382.5 MB, free: 12.93 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.000211/0.03056, allocations: 117.2 kB / 382.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004287/0.03099, allocations: 224.5 kB / 382.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.03099, allocations: 0 / 382.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.03115, allocations: 108.6 kB / 382.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.03166, allocations: 104.1 kB / 383 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.03373, allocations: 1.568 MB / 384.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.03391, allocations: 201.6 kB / 384.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.03407, allocations: 56.25 kB / 384.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.03416, allocations: 40.48 kB / 384.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.021e-06/0.03416, allocations: 4 kB / 384.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.01014/0.0443, allocations: 4.254 MB / 389.2 MB, free: 6.242 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.5087898501660675]