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.0008908/0.0008908, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001032/0.001032, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9266/0.9266, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 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.1259/0.1259, allocations: 21.78 MB / 281 MB, free: 7.402 MB / 266.7 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="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 3.216e-06/3.216e-06, allocations: 0 / 417.7 MB, free: 9.426 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.496e-05, allocations: 5.375 kB / 417.7 MB, free: 9.422 MB / 394.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.003645/0.00367, allocations: 3.121 MB / 420.8 MB, free: 6.289 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.005355, allocations: 0.8565 MB / 421.7 MB, free: 5.43 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000558/0.005913, allocations: 23.81 kB / 421.7 MB, free: 5.406 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.006307, allocations: 166.3 kB / 421.9 MB, free: 5.242 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006449/0.006951, allocations: 98.97 kB / 422 MB, free: 5.145 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/0.007941, allocations: 455.5 kB / 422.4 MB, free: 4.699 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009538/0.008895, allocations: 0.9963 MB / 423.4 MB, free: 3.699 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005984/0.009493, allocations: 0.492 MB / 423.9 MB, free: 3.176 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004593/0.009953, allocations: 0.5456 MB / 424.5 MB, free: 2.629 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.01021, allocations: 290.8 kB / 424.7 MB, free: 2.344 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.01032, allocations: 116 kB / 424.9 MB, free: 2.23 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.0105, allocations: 148 kB / 425 MB, free: 2.086 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.01072, allocations: 326.8 kB / 425.3 MB, free: 1.766 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.01095, allocations: 322.9 kB / 425.6 MB, free: 1.449 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.0119, allocations: 1.261 MB / 426.9 MB, free: 188 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01191, allocations: 0 / 426.9 MB, free: 188 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01191, allocations: 3.938 kB / 426.9 MB, free: 184 kB / 394.7 MB Notification: Performance of Transformations before backend: time 3.297e-05/0.01194, allocations: 0 / 426.9 MB, free: 184 kB / 394.7 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.001456/0.0134, allocations: 1.33 MB / 428.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.01344, allocations: 8.031 kB / 428.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.01362, allocations: 167.3 kB / 428.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.01376, allocations: 148 kB / 428.5 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009866/0.01475, allocations: 0.6496 MB / 429.2 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.219e-05/0.0148, allocations: 86.58 kB / 429.3 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/0.01488, allocations: 116.4 kB / 429.4 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.01596, allocations: 1.095 MB / 430.5 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.01598, allocations: 7.938 kB / 430.5 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.01602, allocations: 44 kB / 430.5 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.01604, allocations: 28 kB / 430.6 MB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007915/0.01683, allocations: 0.7066 MB / 431.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/0.01972, allocations: 3.773 MB / 435 MB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.02031, allocations: 448 kB / 435.5 MB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.02048, allocations: 186.1 kB / 435.7 MB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.02053, allocations: 16.28 kB / 435.7 MB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.02056, allocations: 46.77 kB / 435.7 MB, free: 7.008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.565e-06/0.02056, allocations: 0 / 435.7 MB, free: 7.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.000951/0.02151, allocations: 0.6358 MB / 436.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.02155, allocations: 59.34 kB / 436.4 MB, free: 6.297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.02209, allocations: 0.6879 MB / 437.1 MB, free: 5.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.02211, allocations: 33.7 kB / 437.1 MB, free: 5.562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.02238, allocations: 0.5933 MB / 437.7 MB, free: 4.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/0.02246, allocations: 138.8 kB / 437.9 MB, free: 4.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.02256, allocations: 98.28 kB / 438 MB, free: 4.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.02264, allocations: 330 kB / 438.3 MB, free: 4.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.02286, allocations: 201.2 kB / 438.5 MB, free: 4.195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.02313, allocations: 360.4 kB / 438.8 MB, free: 3.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.02362, allocations: 0.5718 MB / 439.4 MB, free: 3.145 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.02362, allocations: 0 / 439.4 MB, free: 3.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006308/0.02425, allocations: 0.6722 MB / 440.1 MB, free: 2.465 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.02427, allocations: 11.94 kB / 440.1 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.02428, allocations: 4 kB / 440.1 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.0243, allocations: 8.625 kB / 440.1 MB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.02451, allocations: 99.83 kB / 440.2 MB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.02452, allocations: 15.94 kB / 440.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.02466, allocations: 51.62 kB / 440.3 MB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.02468, allocations: 27.98 kB / 440.3 MB, free: 2.25 MB / 410.7 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.0003127/0.02499, allocations: 276.2 kB / 440.6 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.02505, allocations: 75.47 kB / 440.6 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000661/0.02572, allocations: 0.5286 MB / 441.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.02572, allocations: 4 kB / 441.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.02573, allocations: 0 / 441.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.02573, allocations: 0 / 441.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007543/0.02649, allocations: 0.75 MB / 441.9 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.02649, allocations: 0 / 441.9 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.0267, allocations: 67.91 kB / 442 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.02671, allocations: 0 / 442 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.02674, allocations: 12 kB / 442 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.02674, allocations: 11.94 kB / 442 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.02674, allocations: 3.984 kB / 442 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.171/0.1978, allocations: 0.8419 MB / 442.9 MB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1979, allocations: 72.52 kB / 442.9 MB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.1979, allocations: 9.156 kB / 442.9 MB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1981, allocations: 13.47 kB / 442.9 MB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.1981, allocations: 22.95 kB / 443 MB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1981, allocations: 13.92 kB / 443 MB, free: 64.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000399/0.1985, allocations: 472 kB / 443.4 MB, free: 64.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1985, allocations: 1.812 kB / 443.4 MB, free: 64.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004375/0.1989, allocations: 189.7 kB / 443.6 MB, free: 64.05 MB / 410.7 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.0008767/0.1998, allocations: 1.414 MB / 445 MB, free: 63.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004666/0.2003, allocations: 476 kB / 445.5 MB, free: 63.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2003, allocations: 0 / 445.5 MB, free: 63.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.2005, allocations: 207.7 kB / 445.7 MB, free: 63.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.2008, allocations: 95.92 kB / 445.8 MB, free: 63.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.2057, allocations: 6.638 MB / 452.4 MB, free: 59.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.206, allocations: 483.7 kB / 452.9 MB, free: 59.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.2061, allocations: 59.81 kB / 453 MB, free: 59.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.2064, allocations: 402.9 kB / 453.4 MB, free: 59.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2064, allocations: 0 / 453.4 MB, free: 59.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.2317, allocations: 13.33 MB / 466.7 MB, free: 56.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.719, allocations: 7.281 kB / 466.7 MB, free: 56.98 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.82149501889944] Failed to read output from testmodel.py, exit status != 0: 7.807917076162994 7.816354336 7.802658428 Calling exit ...