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.0007743/0.0007743, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007995/0.0007995, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8117/0.8117, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.1144/0.1144, allocations: 21.8 MB / 281.7 MB, free: 7.395 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 2.274e-06/2.274e-06, allocations: 0 / 419 MB, free: 8.934 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.571e-05, allocations: 3.688 kB / 419 MB, free: 8.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.003367/0.003393, allocations: 3.119 MB / 422.1 MB, free: 5.801 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009749/0.004368, allocations: 0.8488 MB / 423 MB, free: 4.949 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.004595, allocations: 23.81 kB / 423 MB, free: 4.926 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.004853, allocations: 162.3 kB / 423.1 MB, free: 4.766 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.005042, allocations: 106.9 kB / 423.2 MB, free: 4.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.00558, allocations: 455.5 kB / 423.7 MB, free: 4.215 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.006233, allocations: 1.004 MB / 424.7 MB, free: 3.207 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.006702, allocations: 491.9 kB / 425.2 MB, free: 2.695 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.007015, allocations: 0.5495 MB / 425.7 MB, free: 2.145 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.007199, allocations: 286.8 kB / 426 MB, free: 1.863 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.007286, allocations: 116 kB / 426.1 MB, free: 1.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.007425, allocations: 155.9 kB / 426.3 MB, free: 1.598 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.007593, allocations: 318.9 kB / 426.6 MB, free: 1.285 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.008072, allocations: 322.9 kB / 426.9 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007487/0.008821, allocations: 1.257 MB / 428.1 MB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.008824, allocations: 4 kB / 428.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.008825, allocations: 0 / 428.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.008833, allocations: 0 / 428.2 MB, free: 15.7 MB / 410.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.001069/0.009903, allocations: 1.334 MB / 429.5 MB, free: 14.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.009933, allocations: 12.03 kB / 429.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.01005, allocations: 148 kB / 429.6 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.01063, allocations: 0.6341 MB / 430.3 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.01068, allocations: 86.58 kB / 430.4 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.01077, allocations: 128.2 kB / 430.5 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009496/0.01172, allocations: 1.095 MB / 431.6 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.01173, allocations: 8.125 kB / 431.6 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.01178, allocations: 47.94 kB / 431.6 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.01179, allocations: 28 kB / 431.7 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007178/0.01251, allocations: 0.7066 MB / 432.4 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.01506, allocations: 3.625 MB / 436 MB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.01557, allocations: 447.8 kB / 436.4 MB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.01573, allocations: 186.1 kB / 436.6 MB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.01577, allocations: 24.27 kB / 436.6 MB, free: 6.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.01578, allocations: 30.84 kB / 436.7 MB, free: 6.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.333e-06/0.01578, allocations: 0 / 436.7 MB, free: 6.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006155/0.0164, allocations: 0.6513 MB / 437.3 MB, free: 6.211 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.01643, allocations: 59.34 kB / 437.4 MB, free: 6.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.0169, allocations: 0.6801 MB / 438.1 MB, free: 5.453 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.01692, allocations: 33.7 kB / 438.1 MB, free: 5.414 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.01717, allocations: 0.5972 MB / 438.7 MB, free: 4.809 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.01723, allocations: 134.9 kB / 438.8 MB, free: 4.676 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.01731, allocations: 102.3 kB / 438.9 MB, free: 4.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.01739, allocations: 326 kB / 439.2 MB, free: 4.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.01758, allocations: 205.2 kB / 439.4 MB, free: 4.043 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.01783, allocations: 360.4 kB / 439.8 MB, free: 3.629 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.01829, allocations: 0.568 MB / 440.4 MB, free: 2.996 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01829, allocations: 0 / 440.4 MB, free: 2.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008308/0.01912, allocations: 0.6763 MB / 441 MB, free: 2.312 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01914, allocations: 11.94 kB / 441 MB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01914, allocations: 4 kB / 441 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01916, allocations: 8 kB / 441.1 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.01934, allocations: 99.83 kB / 441.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.01935, allocations: 12.47 kB / 441.2 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.01946, allocations: 55.62 kB / 441.2 MB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.01948, allocations: 23.98 kB / 441.2 MB, free: 2.102 MB / 410.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.0002224/0.0197, allocations: 284.2 kB / 441.5 MB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.01975, allocations: 71.47 kB / 441.6 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.02027, allocations: 0.5208 MB / 442.1 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.02027, allocations: 8 kB / 442.1 MB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.02028, allocations: 0 / 442.1 MB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.02028, allocations: 3.984 kB / 442.1 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.02073, allocations: 0.6335 MB / 442.8 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.02073, allocations: 0 / 442.8 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.02091, allocations: 67.84 kB / 442.8 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.02091, allocations: 4 kB / 442.8 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.02093, allocations: 11.94 kB / 442.8 MB, free: 464 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.02093, allocations: 3.938 kB / 442.8 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.02093, allocations: 0 / 442.8 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1488/0.1697, allocations: 0.8488 MB / 443.7 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.1699, allocations: 66.31 kB / 443.8 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.1699, allocations: 11.91 kB / 443.8 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.17, allocations: 14.97 kB / 443.8 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.17, allocations: 22.55 kB / 443.8 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1701, allocations: 10.94 kB / 443.8 MB, free: 64.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003543/0.1704, allocations: 472.9 kB / 444.3 MB, free: 64.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1704, allocations: 0 / 444.3 MB, free: 64.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004212/0.1708, allocations: 189.9 kB / 444.5 MB, free: 64.11 MB / 410.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.0001432/0.171, allocations: 116.7 kB / 444.6 MB, free: 64.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.1714, allocations: 464 kB / 445 MB, free: 63.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1714, allocations: 0 / 445 MB, free: 63.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1716, allocations: 227.7 kB / 445.3 MB, free: 63.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1719, allocations: 96.36 kB / 445.3 MB, free: 63.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.1735, allocations: 1.763 MB / 447.1 MB, free: 62.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1738, allocations: 481.6 kB / 447.6 MB, free: 62.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.1739, allocations: 41.5 kB / 447.6 MB, free: 62.82 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1739, allocations: 0 / 447.6 MB, free: 62.82 MB / 410.7 MB Notification: Performance of Templates: time 0.006571/0.1805, allocations: 9.289 MB / 456.9 MB, free: 61.52 MB / 410.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=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6629850920289755] Failed to read output from testmodel.py, exit status != 0: 0.18514033313840628 0.19168291799999995 0.18147972599999995 Calling exit ...