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.001834/0.001834, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00181/0.00181, allocations: 215.2 kB / 22.25 MB, free: 4.859 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.789 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.1903/0.1903, allocations: 29.23 MB / 341.7 MB, free: 5.59 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.002006/0.002006, allocations: 66.56 kB / 478.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.319, allocations: 60.78 MB / 0.5269 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.00414/0.3232, allocations: 3.131 MB / 0.53 GB, free: 6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.325, allocations: 0.8471 MB / 0.5308 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.3253, allocations: 29.22 kB / 0.5309 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.3257, allocations: 166.9 kB / 0.531 GB, free: 5.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.326, allocations: 96.83 kB / 0.5311 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.3268, allocations: 456.2 kB / 0.5315 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008544/0.3276, allocations: 0.9944 MB / 0.5325 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006293/0.3283, allocations: 483.1 kB / 0.533 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.3286, allocations: 377 kB / 0.5333 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.3289, allocations: 368.7 kB / 0.5337 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.329, allocations: 117 kB / 0.5338 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002304/0.3293, allocations: 142.1 kB / 0.5339 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.3295, allocations: 320.7 kB / 0.5342 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.3298, allocations: 417.2 kB / 0.5346 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.331, allocations: 1.277 MB / 0.5359 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.331, allocations: 1.375 kB / 0.5359 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.331, allocations: 0 / 0.5359 GB, free: 2.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.3311, allocations: 0 / 0.5359 GB, free: 2.348 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.001555/0.3326, allocations: 1.344 MB / 0.5372 GB, free: 1.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3327, allocations: 9.625 kB / 0.5372 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.3329, allocations: 147.4 kB / 0.5373 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008617/0.3337, allocations: 0.6456 MB / 0.538 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/0.3338, allocations: 85.33 kB / 0.5381 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.3339, allocations: 113.2 kB / 0.5382 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3353, allocations: 1.099 MB / 0.5392 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.3353, allocations: 1.438 kB / 0.5392 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.3354, allocations: 51.06 kB / 0.5393 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.3355, allocations: 27.53 kB / 0.5393 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.3367, allocations: 0.711 MB / 0.54 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/0.341, allocations: 3.644 MB / 0.5436 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/0.3419, allocations: 434 kB / 0.544 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.3422, allocations: 184 kB / 0.5442 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.785e-05/0.3422, allocations: 23.08 kB / 0.5442 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3423, allocations: 41.22 kB / 0.5442 GB, free: 12.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.315e-06/0.3423, allocations: 4 kB / 0.5442 GB, free: 12.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001119/0.3434, allocations: 0.6392 MB / 0.5448 GB, free: 11.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.3435, allocations: 63.72 kB / 0.5449 GB, free: 11.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008899/0.3444, allocations: 0.6742 MB / 0.5456 GB, free: 11.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.3444, allocations: 30.83 kB / 0.5456 GB, free: 11.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/0.3449, allocations: 0.6039 MB / 0.5462 GB, free: 10.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.345, allocations: 129.7 kB / 0.5463 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3452, allocations: 105.6 kB / 0.5464 GB, free: 10.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3453, allocations: 327.6 kB / 0.5467 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.3456, allocations: 207.6 kB / 0.5469 GB, free: 10.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.3461, allocations: 357.4 kB / 0.5473 GB, free: 9.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/0.3468, allocations: 0.5755 MB / 0.5478 GB, free: 9.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3468, allocations: 2.281 kB / 0.5478 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001041/0.3479, allocations: 0.6776 MB / 0.5485 GB, free: 9.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3479, allocations: 11.91 kB / 0.5485 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3479, allocations: 4.594 kB / 0.5485 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.3479, allocations: 7.156 kB / 0.5485 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.3484, allocations: 100.6 kB / 0.5486 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.3484, allocations: 7.938 kB / 0.5486 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.3486, allocations: 46.17 kB / 0.5487 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.3487, allocations: 25.95 kB / 0.5487 GB, free: 9.203 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.0004392/0.3491, allocations: 287.3 kB / 0.549 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.3492, allocations: 74.58 kB / 0.549 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000872/0.3501, allocations: 0.5267 MB / 0.5495 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3501, allocations: 4.281 kB / 0.5495 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3501, allocations: 4 kB / 0.5495 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3501, allocations: 3.984 kB / 0.5496 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.3509, allocations: 0.6191 MB / 0.5502 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3509, allocations: 3.938 kB / 0.5502 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.3513, allocations: 66.5 kB / 0.5502 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3513, allocations: 2.25 kB / 0.5502 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.3513, allocations: 7.188 kB / 0.5502 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3513, allocations: 2.344 kB / 0.5502 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3513, allocations: 3.938 kB / 0.5502 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3525, allocations: 0.8559 MB / 0.5511 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.3526, allocations: 68.64 kB / 0.5511 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.3526, allocations: 11.44 kB / 0.5512 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3528, allocations: 8.906 kB / 0.5512 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.3529, allocations: 28.64 kB / 0.5512 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.3529, allocations: 8 kB / 0.5512 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005741/0.3535, allocations: 475 kB / 0.5516 GB, free: 7.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3535, allocations: 0 / 0.5516 GB, free: 7.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006208/0.3541, allocations: 195 kB / 0.5518 GB, free: 7.055 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.0002183/0.3543, allocations: 124.9 kB / 0.552 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007982/0.3551, allocations: 463.4 kB / 0.5524 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3551, allocations: 5.25 kB / 0.5524 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.3555, allocations: 211.8 kB / 0.5526 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.356, allocations: 109.2 kB / 0.5527 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.3587, allocations: 1.757 MB / 0.5544 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.3592, allocations: 482.2 kB / 0.5549 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.3594, allocations: 60.25 kB / 0.5549 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.3595, allocations: 39.44 kB / 0.555 GB, free: 3.77 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3595, allocations: 0 / 0.555 GB, free: 3.77 MB / 398.1 MB Notification: Performance of Templates: time 0.01163/0.3712, allocations: 5.145 MB / 0.56 GB, free: 14.68 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: 4.769497228786349] Failed to read output from testmodel.py, exit status != 0: 0.379628773778677 0.39382425400000004 0.059809772000000004 Calling exit ...