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.001272/0.001272, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00141/0.00141, allocations: 210.8 kB / 22.99 MB, free: 4.957 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.197/0.197, allocations: 29.23 MB / 342.4 MB, free: 5.598 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.002017/0.002017, allocations: 75.83 kB / 479.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.377, allocations: 60.79 MB / 0.5277 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.00511/0.3821, allocations: 3.124 MB / 0.5307 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3844, allocations: 0.8521 MB / 0.5316 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000564/0.3849, allocations: 23.75 kB / 0.5316 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.3854, allocations: 166.3 kB / 0.5317 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3857, allocations: 96.81 kB / 0.5318 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3868, allocations: 457 kB / 0.5323 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.388, allocations: 0.999 MB / 0.5332 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008978/0.3889, allocations: 0.5025 MB / 0.5337 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005342/0.3895, allocations: 377 kB / 0.5341 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.3899, allocations: 416.7 kB / 0.5345 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.3901, allocations: 120.9 kB / 0.5346 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.3904, allocations: 146.9 kB / 0.5348 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.3907, allocations: 312.6 kB / 0.5351 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.391, allocations: 424.1 kB / 0.5355 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.3926, allocations: 1.273 MB / 0.5367 GB, free: 2.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.3926, allocations: 0 / 0.5367 GB, free: 2.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3926, allocations: 0 / 0.5367 GB, free: 2.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.3926, allocations: 0 / 0.5367 GB, free: 2.293 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.001953/0.3946, allocations: 1.344 MB / 0.538 GB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3946, allocations: 9.625 kB / 0.538 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.3949, allocations: 147.4 kB / 0.5382 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.3959, allocations: 0.6456 MB / 0.5388 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/0.396, allocations: 85.33 kB / 0.5389 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.3961, allocations: 117.2 kB / 0.539 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.3978, allocations: 1.099 MB / 0.5401 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.3978, allocations: 1.406 kB / 0.5401 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.3979, allocations: 46.25 kB / 0.5401 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.3979, allocations: 31.84 kB / 0.5401 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3992, allocations: 0.708 MB / 0.5408 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.4042, allocations: 3.64 MB / 0.5444 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4052, allocations: 442.2 kB / 0.5448 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.4055, allocations: 183.8 kB / 0.545 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/0.4056, allocations: 12.03 kB / 0.545 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.4057, allocations: 45.3 kB / 0.545 GB, free: 12.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.354e-06/0.4057, allocations: 112 / 0.545 GB, free: 12.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001188/0.4068, allocations: 0.6507 MB / 0.5457 GB, free: 11.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.4069, allocations: 59.66 kB / 0.5457 GB, free: 11.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.4079, allocations: 0.6733 MB / 0.5464 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.408, allocations: 36.23 kB / 0.5464 GB, free: 11.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/0.4085, allocations: 0.6026 MB / 0.547 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.4086, allocations: 129.6 kB / 0.5471 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.4088, allocations: 106.5 kB / 0.5472 GB, free: 10.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.409, allocations: 326.5 kB / 0.5475 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.4093, allocations: 211.6 kB / 0.5477 GB, free: 10.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.4098, allocations: 357.7 kB / 0.5481 GB, free: 9.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/0.4106, allocations: 0.5765 MB / 0.5486 GB, free: 9.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.4106, allocations: 1.438 kB / 0.5486 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00121/0.4118, allocations: 0.674 MB / 0.5493 GB, free: 9.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4118, allocations: 7.844 kB / 0.5493 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4119, allocations: 5.031 kB / 0.5493 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.4119, allocations: 7.438 kB / 0.5493 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.4123, allocations: 103.8 kB / 0.5494 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.4123, allocations: 7.125 kB / 0.5494 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.4125, allocations: 51.66 kB / 0.5495 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.4126, allocations: 21 kB / 0.5495 GB, free: 9.145 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.0005082/0.4131, allocations: 283.4 kB / 0.5498 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4132, allocations: 74.45 kB / 0.5498 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.4142, allocations: 0.527 MB / 0.5504 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4142, allocations: 2.938 kB / 0.5504 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4142, allocations: 1.469 kB / 0.5504 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.4142, allocations: 3.984 kB / 0.5504 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.4154, allocations: 0.623 MB / 0.551 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4154, allocations: 3.938 kB / 0.551 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.4157, allocations: 67 kB / 0.551 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4157, allocations: 1.125 kB / 0.551 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.4157, allocations: 16.77 kB / 0.5511 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.4157, allocations: 5.188 kB / 0.5511 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4157, allocations: 3.984 kB / 0.5511 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.417, allocations: 0.8435 MB / 0.5519 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.4171, allocations: 78.2 kB / 0.552 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.4172, allocations: 11.94 kB / 0.552 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.4174, allocations: 8 kB / 0.552 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.4174, allocations: 23.95 kB / 0.552 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.4175, allocations: 15.98 kB / 0.552 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006214/0.4181, allocations: 467 kB / 0.5525 GB, free: 7.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4181, allocations: 0 / 0.5525 GB, free: 7.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000661/0.4188, allocations: 199 kB / 0.5527 GB, free: 6.98 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.0002225/0.419, allocations: 121 kB / 0.5528 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008094/0.4198, allocations: 459.4 kB / 0.5532 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4198, allocations: 4 kB / 0.5532 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.4201, allocations: 209.2 kB / 0.5534 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.4207, allocations: 114.1 kB / 0.5535 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.4238, allocations: 1.773 MB / 0.5553 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.4244, allocations: 470.2 kB / 0.5557 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002267/0.4246, allocations: 60.25 kB / 0.5558 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4247, allocations: 39.44 kB / 0.5558 GB, free: 3.699 MB / 398.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4247, allocations: 0 / 0.5558 GB, free: 3.699 MB / 398.1 MB Notification: Performance of Templates: time 0.01334/0.4381, allocations: 5.284 MB / 0.561 GB, free: 14.48 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 -s cvode -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.080459684948437] Failed to read output from testmodel.py, exit status != 0: 0.44725277001271024 0.46341727800000004 0.067534042 Calling exit ...