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.001421/0.001421, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001616/0.001616, allocations: 216.8 kB / 23.01 MB, free: 4.605 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.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 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.1748/0.1748, allocations: 29.21 MB / 342.4 MB, free: 5.789 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: SystemDynamics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 75.88 kB / 479.6 MB, free: 32 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2968, allocations: 60.79 MB / 0.5278 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.004071/0.3009, allocations: 3.703 MB / 0.5314 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3024, allocations: 0.8513 MB / 0.5322 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.3027, allocations: 24.09 kB / 0.5322 GB, free: 4.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.3031, allocations: 166.7 kB / 0.5324 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.3034, allocations: 96.28 kB / 0.5325 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.3041, allocations: 455.9 kB / 0.5329 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008403/0.3049, allocations: 0.9994 MB / 0.5339 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000625/0.3056, allocations: 0.5026 MB / 0.5344 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.3058, allocations: 382.4 kB / 0.5347 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.3062, allocations: 411.9 kB / 0.5351 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.3063, allocations: 117.9 kB / 0.5353 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.3065, allocations: 149.7 kB / 0.5354 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.3067, allocations: 316.4 kB / 0.5357 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.307, allocations: 0.5307 MB / 0.5362 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.3081, allocations: 1.264 MB / 0.5375 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3081, allocations: 7.875 kB / 0.5375 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3081, allocations: 0 / 0.5375 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.3081, allocations: 1.406 kB / 0.5375 GB, free: 1.68 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.001489/0.3096, allocations: 1.347 MB / 0.5388 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3096, allocations: 9.625 kB / 0.5388 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.3098, allocations: 148 kB / 0.5389 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.3106, allocations: 0.6456 MB / 0.5396 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.209e-05/0.3107, allocations: 84.19 kB / 0.5396 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3108, allocations: 117.3 kB / 0.5397 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.3123, allocations: 1.097 MB / 0.5408 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3123, allocations: 2.219 kB / 0.5408 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.319e-05/0.3124, allocations: 47.06 kB / 0.5409 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.3124, allocations: 27.78 kB / 0.5409 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3136, allocations: 0.7159 MB / 0.5416 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.3177, allocations: 4.009 MB / 0.5455 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.3184, allocations: 444.4 kB / 0.5459 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.3187, allocations: 196.2 kB / 0.5461 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.993e-05/0.3188, allocations: 19.62 kB / 0.5461 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3188, allocations: 36.03 kB / 0.5462 GB, free: 11.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.3188, allocations: 0 / 0.5462 GB, free: 11.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001007/0.3198, allocations: 0.6434 MB / 0.5468 GB, free: 10.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.3199, allocations: 58.66 kB / 0.5469 GB, free: 10.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008026/0.3207, allocations: 0.6765 MB / 0.5475 GB, free: 10.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.3207, allocations: 32.3 kB / 0.5475 GB, free: 10.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.3211, allocations: 0.595 MB / 0.5481 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3212, allocations: 134.6 kB / 0.5483 GB, free: 9.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3214, allocations: 104.8 kB / 0.5484 GB, free: 9.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3215, allocations: 326.3 kB / 0.5487 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.3218, allocations: 204 kB / 0.5489 GB, free: 9.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.3222, allocations: 358.4 kB / 0.5492 GB, free: 8.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/0.323, allocations: 0.5755 MB / 0.5498 GB, free: 8.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.323, allocations: 1.141 kB / 0.5498 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009597/0.3239, allocations: 0.6749 MB / 0.5504 GB, free: 8.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.324, allocations: 8.094 kB / 0.5504 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.324, allocations: 7.781 kB / 0.5504 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.324, allocations: 7.625 kB / 0.5504 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.3243, allocations: 99.89 kB / 0.5505 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.3244, allocations: 16.11 kB / 0.5506 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.3246, allocations: 50.56 kB / 0.5506 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.3246, allocations: 22.16 kB / 0.5506 GB, free: 8.199 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.0003534/0.325, allocations: 283 kB / 0.5509 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.3251, allocations: 73.61 kB / 0.551 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008363/0.3259, allocations: 0.5271 MB / 0.5515 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3259, allocations: 3.812 kB / 0.5515 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3259, allocations: 4 kB / 0.5515 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3259, allocations: 3.984 kB / 0.5515 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.3269, allocations: 0.8054 MB / 0.5523 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3269, allocations: 4 kB / 0.5523 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.3272, allocations: 63.38 kB / 0.5523 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3272, allocations: 1.219 kB / 0.5523 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.3272, allocations: 15.92 kB / 0.5524 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3272, allocations: 1.062 kB / 0.5524 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3272, allocations: 1.188 kB / 0.5524 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3283, allocations: 0.8547 MB / 0.5532 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.3284, allocations: 71.45 kB / 0.5533 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.3285, allocations: 8 kB / 0.5533 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3286, allocations: 15.98 kB / 0.5533 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.3287, allocations: 19.95 kB / 0.5533 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3287, allocations: 12 kB / 0.5533 GB, free: 6.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005401/0.3293, allocations: 471 kB / 0.5538 GB, free: 6.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3293, allocations: 0 / 0.5538 GB, free: 6.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.3298, allocations: 195 kB / 0.554 GB, free: 5.863 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.0001667/0.33, allocations: 117 kB / 0.5541 GB, free: 5.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007309/0.3307, allocations: 468.5 kB / 0.5545 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3307, allocations: 0 / 0.5545 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.331, allocations: 215.9 kB / 0.5547 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.3316, allocations: 110 kB / 0.5548 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.3341, allocations: 1.822 MB / 0.5566 GB, free: 3.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.3348, allocations: 1.061 MB / 0.5576 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3349, allocations: 43.44 kB / 0.5577 GB, free: 1.98 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3349, allocations: 0 / 0.5577 GB, free: 1.98 MB / 398.1 MB Notification: Performance of Templates: time 0.01235/0.3473, allocations: 8.844 MB / 0.5663 GB, free: 9.152 MB / 414.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: 7.058637203881517] Failed to read output from testmodel.py, exit status != 0: 0.3553056321106851 0.368020074 0.057192041000000006 Calling exit ...