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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 112.6 kB / 19.59 MB, free: 2.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 190.4 kB / 22.85 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 251.6 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1984/0.1984, allocations: 29.24 MB / 336 MB, free: 11.34 MB / 270.1 MB " [Timeout remaining time 180] 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=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 0.001917/0.001917, allocations: 67.89 kB / 470.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.325, allocations: 59.61 MB / 0.5179 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.004268/0.3292, allocations: 3.736 MB / 0.5216 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.331, allocations: 0.8684 MB / 0.5224 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.3314, allocations: 20.44 kB / 0.5224 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.3318, allocations: 166.8 kB / 0.5226 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.3321, allocations: 117.2 kB / 0.5227 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009139/0.333, allocations: 456 kB / 0.5231 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.3341, allocations: 1.019 MB / 0.5241 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006934/0.3348, allocations: 0.5117 MB / 0.5246 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.3351, allocations: 380 kB / 0.525 GB, free: 5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.3354, allocations: 428 kB / 0.5254 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.3356, allocations: 117.2 kB / 0.5255 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.3358, allocations: 148.9 kB / 0.5257 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.3361, allocations: 316.6 kB / 0.526 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.3364, allocations: 0.5453 MB / 0.5265 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.3377, allocations: 1.267 MB / 0.5277 GB, free: 3.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3377, allocations: 7.938 kB / 0.5277 GB, free: 3.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3377, allocations: 0 / 0.5277 GB, free: 3.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.3377, allocations: 0.6094 kB / 0.5277 GB, free: 3.441 MB / 382.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.00185/0.3395, allocations: 1.346 MB / 0.5291 GB, free: 2.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3396, allocations: 10.62 kB / 0.5291 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.3398, allocations: 147.7 kB / 0.5292 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009943/0.3408, allocations: 0.6533 MB / 0.5298 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/0.3409, allocations: 85.56 kB / 0.5299 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.341, allocations: 113.1 kB / 0.53 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.3429, allocations: 1.094 MB / 0.5311 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.3429, allocations: 1.312 kB / 0.5311 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.3429, allocations: 43.62 kB / 0.5311 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.343, allocations: 30.88 kB / 0.5312 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.3442, allocations: 0.7092 MB / 0.5319 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.349, allocations: 3.999 MB / 0.5358 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000907/0.3499, allocations: 447.9 kB / 0.5362 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.3502, allocations: 188.7 kB / 0.5364 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.719e-05/0.3503, allocations: 22.55 kB / 0.5364 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3503, allocations: 33 kB / 0.5364 GB, free: 13.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.3503, allocations: 0 / 0.5364 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001156/0.3515, allocations: 0.6437 MB / 0.5371 GB, free: 13.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.3515, allocations: 62.84 kB / 0.5371 GB, free: 13.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.3525, allocations: 0.6722 MB / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.3525, allocations: 33.48 kB / 0.5378 GB, free: 13.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/0.353, allocations: 0.5977 MB / 0.5384 GB, free: 12.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.3531, allocations: 135.2 kB / 0.5385 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.3533, allocations: 103.6 kB / 0.5386 GB, free: 12.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3535, allocations: 328.8 kB / 0.5389 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.3538, allocations: 207.5 kB / 0.5391 GB, free: 12.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.3543, allocations: 352.8 kB / 0.5395 GB, free: 12.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008008/0.3551, allocations: 0.5813 MB / 0.54 GB, free: 11.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3551, allocations: 1.281 kB / 0.54 GB, free: 11.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00105/0.3561, allocations: 0.6682 MB / 0.5407 GB, free: 11.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3561, allocations: 8.094 kB / 0.5407 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3561, allocations: 4.828 kB / 0.5407 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.3562, allocations: 15.88 kB / 0.5407 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.3565, allocations: 99.88 kB / 0.5408 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.3565, allocations: 12.41 kB / 0.5408 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.3568, allocations: 52.75 kB / 0.5409 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.3568, allocations: 21.91 kB / 0.5409 GB, free: 11.39 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.0003989/0.3572, allocations: 284.6 kB / 0.5412 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.3573, allocations: 70.19 kB / 0.5412 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/0.3583, allocations: 0.5241 MB / 0.5417 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3583, allocations: 8.031 kB / 0.5418 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3583, allocations: 1.281 kB / 0.5418 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3583, allocations: 2.016 kB / 0.5418 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3594, allocations: 0.8222 MB / 0.5426 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3594, allocations: 0 / 0.5426 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.3598, allocations: 65.91 kB / 0.5426 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3598, allocations: 1.344 kB / 0.5426 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.3598, allocations: 11.84 kB / 0.5426 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.3598, allocations: 6.406 kB / 0.5426 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3598, allocations: 0 / 0.5426 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.3609, allocations: 0.8465 MB / 0.5435 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.361, allocations: 69.95 kB / 0.5435 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.094e-05/0.3611, allocations: 10.34 kB / 0.5435 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.3613, allocations: 9.281 kB / 0.5436 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.3613, allocations: 23.86 kB / 0.5436 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.3613, allocations: 11.52 kB / 0.5436 GB, free: 9.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005787/0.3619, allocations: 478.9 kB / 0.544 GB, free: 9.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3619, allocations: 1.312 kB / 0.544 GB, free: 9.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000577/0.3625, allocations: 196.7 kB / 0.5442 GB, free: 9.574 MB / 398.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.000179/0.3627, allocations: 116.6 kB / 0.5443 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007654/0.3634, allocations: 471.6 kB / 0.5448 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3635, allocations: 0 / 0.5448 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.3638, allocations: 219.2 kB / 0.545 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.3643, allocations: 111.5 kB / 0.5451 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.367, allocations: 1.813 MB / 0.5469 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007278/0.3677, allocations: 1.062 MB / 0.5479 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.368, allocations: 63.88 kB / 0.548 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.3681, allocations: 44.39 kB / 0.548 GB, free: 7.141 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3681, allocations: 0 / 0.548 GB, free: 7.141 MB / 398.1 MB Notification: Performance of Templates: time 0.01126/0.3793, allocations: 5.067 MB / 0.553 GB, free: 4.656 MB / 398.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 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.918664338067174] Failed to read output from testmodel.py, exit status != 0: 0.3874402119545266 0.40076879699999995 0.060127253000000006 Calling exit ...