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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003096/0.003096, allocations: 185.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 8.765/8.765, allocations: 225.7 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 171] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2392/0.2392, allocations: 29.24 MB / 335.5 MB, free: 11.4 MB / 270.1 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Human_Fertility,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SystemDynamics.WorldDynamics.World3.Human_Fertility,fileNamePrefix="SystemDynamics_SystemDynamics_WorldDynamics_World3_Human_Fertility",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.88 kB / 469.9 MB, free: 7.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 59.61 MB / 0.5171 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.005205/0.34, allocations: 3.731 MB / 0.5207 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.3426, allocations: 0.8726 MB / 0.5216 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003749/0.3464, allocations: 21 kB / 0.5216 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.3491, allocations: 166.4 kB / 0.5217 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008348/0.35, allocations: 115.9 kB / 0.5219 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.3524, allocations: 452 kB / 0.5223 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.3542, allocations: 1.024 MB / 0.5233 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.3553, allocations: 0.5103 MB / 0.5238 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.3557, allocations: 380.6 kB / 0.5241 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.3561, allocations: 428.1 kB / 0.5246 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.3562, allocations: 116.4 kB / 0.5247 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.3565, allocations: 149.7 kB / 0.5248 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.3568, allocations: 312.7 kB / 0.5251 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.3572, allocations: 0.5493 MB / 0.5256 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.3591, allocations: 1.276 MB / 0.5269 GB, free: 3.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3591, allocations: 4 kB / 0.5269 GB, free: 3.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3591, allocations: 1.281 kB / 0.5269 GB, free: 3.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008326/0.36, allocations: 0 / 0.5269 GB, free: 3.242 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.007305/0.3673, allocations: 1.419 MB / 0.5283 GB, free: 2.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3673, allocations: 9.406 kB / 0.5283 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000881/0.3682, allocations: 164.8 kB / 0.5284 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.3684, allocations: 149.6 kB / 0.5286 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.3704, allocations: 0.7176 MB / 0.5293 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.432e-05/0.3705, allocations: 88.19 kB / 0.5294 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004396/0.371, allocations: 118.8 kB / 0.5295 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.3733, allocations: 1.095 MB / 0.5306 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006141/0.3739, allocations: 5.562 kB / 0.5306 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.62e-05/0.374, allocations: 46.81 kB / 0.5306 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/0.3742, allocations: 32.03 kB / 0.5306 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.3754, allocations: 0.7064 MB / 0.5313 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006193/0.3816, allocations: 4.106 MB / 0.5353 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.3835, allocations: 453.8 kB / 0.5358 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.3838, allocations: 181 kB / 0.5359 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-05/0.3839, allocations: 14.84 kB / 0.536 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.384, allocations: 37.42 kB / 0.536 GB, free: 13.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.955e-06/0.384, allocations: 0 / 0.536 GB, free: 13.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.002014/0.386, allocations: 0.6469 MB / 0.5366 GB, free: 13.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.386, allocations: 59.59 kB / 0.5367 GB, free: 13.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3871, allocations: 0.6676 MB / 0.5373 GB, free: 12.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.3871, allocations: 35.69 kB / 0.5374 GB, free: 12.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/0.3876, allocations: 0.5991 MB / 0.538 GB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.3878, allocations: 135.2 kB / 0.5381 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.3879, allocations: 106.2 kB / 0.5382 GB, free: 12.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3881, allocations: 330.7 kB / 0.5385 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.3884, allocations: 203.2 kB / 0.5387 GB, free: 11.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.3889, allocations: 369.9 kB / 0.539 GB, free: 11.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.3897, allocations: 0.5718 MB / 0.5396 GB, free: 11.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3897, allocations: 1.672 kB / 0.5396 GB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001243/0.3909, allocations: 0.6696 MB / 0.5403 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.391, allocations: 6.219 kB / 0.5403 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.391, allocations: 6.203 kB / 0.5403 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/0.3913, allocations: 6.469 kB / 0.5403 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.3917, allocations: 100.1 kB / 0.5404 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.3917, allocations: 17.33 kB / 0.5404 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.392, allocations: 53.03 kB / 0.5404 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.392, allocations: 21.77 kB / 0.5405 GB, free: 10.89 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.0004631/0.3925, allocations: 287.8 kB / 0.5407 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3926, allocations: 71.59 kB / 0.5408 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/0.3936, allocations: 0.5255 MB / 0.5413 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3936, allocations: 8.609 kB / 0.5413 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3936, allocations: 5.25 kB / 0.5413 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3936, allocations: 1.734 kB / 0.5413 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.3948, allocations: 0.8414 MB / 0.5422 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3948, allocations: 0 / 0.5422 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.3952, allocations: 62.25 kB / 0.5422 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3952, allocations: 5.25 kB / 0.5422 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.3952, allocations: 20.02 kB / 0.5422 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3952, allocations: 2.219 kB / 0.5422 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3952, allocations: 0 / 0.5422 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.3963, allocations: 0.8426 MB / 0.5431 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.3965, allocations: 150.6 kB / 0.5432 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.3965, allocations: 10.69 kB / 0.5432 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.3967, allocations: 11.92 kB / 0.5432 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/0.3971, allocations: 20.67 kB / 0.5432 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.3971, allocations: 11.44 kB / 0.5433 GB, free: 9.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006637/0.3978, allocations: 475.2 kB / 0.5437 GB, free: 9.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3978, allocations: 0 / 0.5437 GB, free: 9.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000656/0.3984, allocations: 202 kB / 0.5439 GB, free: 8.941 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.001798/0.4002, allocations: 1.414 MB / 0.5453 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.4033, allocations: 470.9 kB / 0.5457 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4033, allocations: 1.438 kB / 0.5457 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.4036, allocations: 213.2 kB / 0.5459 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.4051, allocations: 102.5 kB / 0.546 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009765/0.4149, allocations: 6.702 MB / 0.5526 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008045/0.4157, allocations: 1.059 MB / 0.5536 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000232/0.4159, allocations: 58.72 kB / 0.5537 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.4164, allocations: 408.5 kB / 0.5541 GB, free: 2.273 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4164, allocations: 1.594 kB / 0.5541 GB, free: 2.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.5212, allocations: 13.3 MB / 0.5671 GB, free: 5.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.26/9.781, allocations: 10.47 kB / 0.5671 GB, free: 5.695 MB / 414.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file SystemDynamics_SystemDynamics.WorldDynamics.World3.Human_Fertility_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 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: 20.429380196146667] Failed to read output from testmodel.py, exit status != 0: 9.860340610146523 9.889309971 9.524105275 Calling exit ...