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.001254/0.001254, allocations: 110 kB / 16.41 MB, free: 6.508 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.001266/0.001266, allocations: 191.7 kB / 19.35 MB, free: 3.734 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 1.422/1.422, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] 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.1892/0.1892, allocations: 28.77 MB / 326 MB, free: 15.81 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.001909/0.001909, allocations: 71.89 kB / 452.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1125, allocations: 56.41 MB / 0.497 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World3.Human_Fertility): time 0.004838/0.1174, allocations: 3.712 MB / 0.5006 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.119, allocations: 0.8645 MB / 0.5015 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.1194, allocations: 19.88 kB / 0.5015 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.1198, allocations: 162.3 kB / 0.5016 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.1201, allocations: 110.9 kB / 0.5017 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007817/0.1209, allocations: 447.6 kB / 0.5022 GB, free: 3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009746/0.1218, allocations: 1.027 MB / 0.5032 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008668/0.1227, allocations: 0.7024 MB / 0.5039 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.1231, allocations: 370.4 kB / 0.5042 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.1234, allocations: 421.6 kB / 0.5046 GB, free: 468 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.1235, allocations: 116 kB / 0.5047 GB, free: 352 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.1238, allocations: 144 kB / 0.5049 GB, free: 208 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2159/0.3397, allocations: 310.2 kB / 0.5052 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.3402, allocations: 0.5438 MB / 0.5057 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3415, allocations: 1.271 MB / 0.5069 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3415, allocations: 0 / 0.5069 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3415, allocations: 0.9062 kB / 0.5069 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.3416, allocations: 0.5625 kB / 0.5069 GB, free: 9.324 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.001601/0.3432, allocations: 1.425 MB / 0.5083 GB, free: 8.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3432, allocations: 9.344 kB / 0.5083 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.3434, allocations: 165.8 kB / 0.5085 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.3436, allocations: 150.2 kB / 0.5086 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000791/0.3444, allocations: 0.7199 MB / 0.5093 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/0.3445, allocations: 88.86 kB / 0.5094 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3446, allocations: 109.9 kB / 0.5095 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.346, allocations: 1.098 MB / 0.5106 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.3461, allocations: 3.531 kB / 0.5106 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.3461, allocations: 49.19 kB / 0.5106 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.3461, allocations: 29.06 kB / 0.5107 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.3472, allocations: 0.7088 MB / 0.5114 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.351, allocations: 4.112 MB / 0.5154 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007986/0.3518, allocations: 461.2 kB / 0.5158 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.3521, allocations: 189 kB / 0.516 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.3522, allocations: 22.27 kB / 0.516 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.3522, allocations: 37 kB / 0.5161 GB, free: 5.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.3522, allocations: 0 / 0.5161 GB, free: 5.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009703/0.3532, allocations: 0.6483 MB / 0.5167 GB, free: 5.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.3532, allocations: 58.81 kB / 0.5167 GB, free: 5.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.354, allocations: 0.6729 MB / 0.5174 GB, free: 4.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.354, allocations: 31.2 kB / 0.5174 GB, free: 4.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.3543, allocations: 0.5993 MB / 0.518 GB, free: 4.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.819e-05/0.3544, allocations: 139.5 kB / 0.5182 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.3546, allocations: 102.6 kB / 0.5183 GB, free: 4.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.3546, allocations: 329.1 kB / 0.5186 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.355, allocations: 205.1 kB / 0.5188 GB, free: 3.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.3553, allocations: 360.6 kB / 0.5191 GB, free: 3.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.356, allocations: 0.5758 MB / 0.5197 GB, free: 3.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.356, allocations: 1.188 kB / 0.5197 GB, free: 3.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008907/0.3569, allocations: 0.6684 MB / 0.5203 GB, free: 3.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.357, allocations: 7.891 kB / 0.5203 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.357, allocations: 6.188 kB / 0.5203 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.357, allocations: 7.406 kB / 0.5203 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.3573, allocations: 103.1 kB / 0.5204 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.3574, allocations: 10.98 kB / 0.5204 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.3576, allocations: 55.66 kB / 0.5205 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.3577, allocations: 21.34 kB / 0.5205 GB, free: 3.051 MB / 382.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.0003351/0.358, allocations: 281.2 kB / 0.5208 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.3581, allocations: 71.06 kB / 0.5209 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008142/0.3589, allocations: 0.5301 MB / 0.5214 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3589, allocations: 4.094 kB / 0.5214 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3589, allocations: 3.594 kB / 0.5214 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3589, allocations: 1.641 kB / 0.5214 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009162/0.3599, allocations: 0.8492 MB / 0.5222 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3599, allocations: 1.375 kB / 0.5222 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.3602, allocations: 69.7 kB / 0.5223 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3602, allocations: 2.531 kB / 0.5223 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.3603, allocations: 8.641 kB / 0.5223 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3603, allocations: 1.312 kB / 0.5223 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.3603, allocations: 9.156 kB / 0.5223 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009979/0.3613, allocations: 0.841 MB / 0.5231 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.3614, allocations: 145.4 kB / 0.5233 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.3614, allocations: 11.36 kB / 0.5233 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3616, allocations: 9.703 kB / 0.5233 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.3617, allocations: 28.34 kB / 0.5233 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.3617, allocations: 7.891 kB / 0.5233 GB, free: 1.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005276/0.3623, allocations: 474 kB / 0.5238 GB, free: 1.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3623, allocations: 1.344 kB / 0.5238 GB, free: 1.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005527/0.3628, allocations: 197.4 kB / 0.524 GB, free: 1.391 MB / 382.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.00127/0.3641, allocations: 1.421 MB / 0.5253 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007486/0.3649, allocations: 488.2 kB / 0.5258 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3649, allocations: 2.906 kB / 0.5258 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.3652, allocations: 221.8 kB / 0.526 GB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.3658, allocations: 97.38 kB / 0.5261 GB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009179/0.375, allocations: 6.684 MB / 0.5326 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009517/0.376, allocations: 1.066 MB / 0.5337 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.3763, allocations: 62.33 kB / 0.5337 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.3768, allocations: 413.6 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3768, allocations: 0 / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05482/0.4317, allocations: 12.95 MB / 0.5468 GB, free: 5.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.442/9.874, allocations: 20.36 kB / 0.5468 GB, free: 5.773 MB / 398.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: 12.577128324075602] Failed to read output from testmodel.py, exit status != 0: 9.945082754013129 9.959073594 9.614868456 Calling exit ...