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.001244/0.001244, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001373/0.001373, allocations: 218 kB / 23.04 MB, free: 5.074 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.332/1.332, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.1734/0.1734, allocations: 29.24 MB / 342.5 MB, free: 5.766 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: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Human_Fertility,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Human_Fertility,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility",fmuType="cs",version="2.0",platforms={"static"}) [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.001845/0.001845, allocations: 63.89 kB / 479.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3074, allocations: 60.8 MB / 0.5273 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.004066/0.3115, allocations: 3.702 MB / 0.5309 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3127, allocations: 0.8619 MB / 0.5318 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002832/0.3129, allocations: 24.59 kB / 0.5318 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.3133, allocations: 158.6 kB / 0.5319 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.3135, allocations: 100.4 kB / 0.532 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.3142, allocations: 456.2 kB / 0.5325 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008241/0.315, allocations: 0.9996 MB / 0.5334 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005951/0.3156, allocations: 0.5025 MB / 0.5339 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.3159, allocations: 385.7 kB / 0.5343 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.3162, allocations: 412.1 kB / 0.5347 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.3163, allocations: 116.4 kB / 0.5348 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.3165, allocations: 146.4 kB / 0.5349 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.3167, allocations: 316.4 kB / 0.5352 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.317, allocations: 0.5357 MB / 0.5358 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.3181, allocations: 1.258 MB / 0.537 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3181, allocations: 0 / 0.537 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3181, allocations: 7.938 kB / 0.537 GB, free: 1.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.3181, allocations: 1.125 kB / 0.537 GB, free: 1.484 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.001493/0.3196, allocations: 1.347 MB / 0.5383 GB, free: 472 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3196, allocations: 12.72 kB / 0.5383 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.635e-05/0.3197, allocations: 32.36 kB / 0.5384 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.3199, allocations: 167.2 kB / 0.5385 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.32, allocations: 148 kB / 0.5387 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/0.3209, allocations: 0.6587 MB / 0.5393 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.321, allocations: 83.19 kB / 0.5394 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.3211, allocations: 111.1 kB / 0.5395 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.3226, allocations: 1.107 MB / 0.5406 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.3227, allocations: 1.125 kB / 0.5406 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.3227, allocations: 47.34 kB / 0.5406 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.3228, allocations: 27.31 kB / 0.5407 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.3239, allocations: 0.7113 MB / 0.5413 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/0.3281, allocations: 4.047 MB / 0.5453 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007524/0.3289, allocations: 429.9 kB / 0.5457 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.3291, allocations: 186.7 kB / 0.5459 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.241e-05/0.3292, allocations: 32.22 kB / 0.5459 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3292, allocations: 36.72 kB / 0.546 GB, free: 10.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.653e-06/0.3292, allocations: 0 / 0.546 GB, free: 10.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.008691/0.3379, allocations: 3.306 MB / 0.5492 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.338, allocations: 61.72 kB / 0.5492 GB, free: 9.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.3387, allocations: 0.672 MB / 0.5499 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.3388, allocations: 36.14 kB / 0.5499 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.3392, allocations: 0.5993 MB / 0.5505 GB, free: 8.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3393, allocations: 183 kB / 0.5507 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.3395, allocations: 127.6 kB / 0.5508 GB, free: 8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3397, allocations: 331.5 kB / 0.5511 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.3404, allocations: 360.5 kB / 0.5515 GB, free: 7.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008078/0.3412, allocations: 0.5025 MB / 0.552 GB, free: 7.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.3428, allocations: 0.8909 MB / 0.5528 GB, free: 6.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3428, allocations: 0 / 0.5528 GB, free: 6.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001864/0.3447, allocations: 1.008 MB / 0.5538 GB, free: 5.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3447, allocations: 4 kB / 0.5538 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3447, allocations: 7.938 kB / 0.5538 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3447, allocations: 8 kB / 0.5538 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.3453, allocations: 152.4 kB / 0.554 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.3453, allocations: 8 kB / 0.554 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.3457, allocations: 39.97 kB / 0.554 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/0.3458, allocations: 43.98 kB / 0.5541 GB, free: 5.371 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 (77): * Single equations (assignments): 77 * 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.0003956/0.3462, allocations: 292.1 kB / 0.5543 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3463, allocations: 79.42 kB / 0.5544 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.3481, allocations: 0.9335 MB / 0.5553 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.3481, allocations: 8 kB / 0.5553 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3481, allocations: 0 / 0.5553 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3481, allocations: 3.984 kB / 0.5553 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.3511, allocations: 1.911 MB / 0.5572 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3511, allocations: 0 / 0.5572 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.3516, allocations: 119.9 kB / 0.5573 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3516, allocations: 0 / 0.5573 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.3517, allocations: 19.98 kB / 0.5573 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.3517, allocations: 7.938 kB / 0.5574 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3517, allocations: 0 / 0.5574 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.354, allocations: 1.39 MB / 0.5587 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.787e-05/0.3541, allocations: 63.47 kB / 0.5588 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.3542, allocations: 16 kB / 0.5588 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.3545, allocations: 31.97 kB / 0.5588 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.3546, allocations: 36.38 kB / 0.5589 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.3546, allocations: 31.98 kB / 0.5589 GB, free: 364 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005525/0.3552, allocations: 471 kB / 0.5593 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3552, allocations: 0 / 0.5593 GB, free: 15.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.3557, allocations: 131.9 kB / 0.5595 GB, free: 15.77 MB / 414.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 (50): * Single equations (assignments): 50 * 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.002785/0.3585, allocations: 1.979 MB / 0.5614 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.3601, allocations: 0.7872 MB / 0.5622 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3601, allocations: 7.938 kB / 0.5622 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.3608, allocations: 378.3 kB / 0.5625 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.3614, allocations: 95.97 kB / 0.5626 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.3725, allocations: 7.948 MB / 0.5704 GB, free: 4.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/0.3733, allocations: 1.089 MB / 0.5714 GB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.3736, allocations: 108.6 kB / 0.5715 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.3742, allocations: 447.2 kB / 0.572 GB, free: 2.656 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3742, allocations: 0 / 0.572 GB, free: 2.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.4129, allocations: 15.14 MB / 0.5868 GB, free: 3.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.31, allocations: 10.53 kB / 0.5868 GB, free: 3.641 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility.fmu > SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.012023282935843] Failed to read output from testmodel.py, exit status != 0: 12.468802472925745 12.482884253 12.161935943 Calling exit ...