Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.00164/0.00164, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002022/0.002022, allocations: 214.4 kB / 22.25 MB, free: 5.129 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7988/0.7988, allocations: 134 MB / 446.4 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001918/0.001918, allocations: 59.75 kB / 0.6186 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1726, allocations: 85.91 MB / 0.7025 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00273/0.1753, allocations: 1.425 MB / 0.7039 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00501/0.1803, allocations: 3.1 MB / 0.7069 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.1804, allocations: 0 / 0.7069 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.1805, allocations: 11.86 kB / 0.7069 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1807, allocations: 31.84 kB / 0.707 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.1833, allocations: 1.044 MB / 0.708 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1835, allocations: 79.7 kB / 0.7081 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.1835, allocations: 4 kB / 0.7081 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.1836, allocations: 43.89 kB / 0.7081 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.1838, allocations: 151.6 kB / 0.7082 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.1838, allocations: 12 kB / 0.7083 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.1863, allocations: 1.552 MB / 0.7098 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.1866, allocations: 275.7 kB / 0.71 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.1868, allocations: 270.3 kB / 0.7103 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.1888, allocations: 1.503 MB / 0.7118 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1888, allocations: 0 / 0.7118 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1888, allocations: 3.938 kB / 0.7118 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.1888, allocations: 0 / 0.7118 GB, free: 7.844 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008631/0.1974, allocations: 1.179 MB / 0.7129 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1974, allocations: 8.031 kB / 0.7129 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.1975, allocations: 30.75 kB / 0.713 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/0.1978, allocations: 96.25 kB / 0.713 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.1983, allocations: 303.1 kB / 0.7133 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1983, allocations: 8.125 kB / 0.7133 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.1983, allocations: 8 kB / 0.7134 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.1988, allocations: 391.1 kB / 0.7137 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1988, allocations: 4 kB / 0.7137 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1988, allocations: 0 / 0.7137 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1988, allocations: 0 / 0.7137 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.1993, allocations: 435.7 kB / 0.7141 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.1999, allocations: 0.6087 MB / 0.7147 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.2005, allocations: 0.5632 MB / 0.7153 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.2008, allocations: 329.7 kB / 0.7156 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006657/0.2015, allocations: 131.9 kB / 0.7157 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004361/0.2019, allocations: 408.8 kB / 0.7161 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.2019, allocations: 0 / 0.7161 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001431/0.2033, allocations: 1.297 MB / 0.7174 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.2034, allocations: 85.22 kB / 0.7175 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.2047, allocations: 1.21 MB / 0.7187 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.2047, allocations: 33.7 kB / 0.7187 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.2049, allocations: 261.9 kB / 0.7189 GB, free: 280 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.205, allocations: 23.78 kB / 0.719 GB, free: 256 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/0.2053, allocations: 351.5 kB / 0.7193 GB, free: 15.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2055, allocations: 306 kB / 0.7196 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.2068, allocations: 1.365 MB / 0.7209 GB, free: 14.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.2082, allocations: 1.489 MB / 0.7224 GB, free: 12.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007575/0.2158, allocations: 3.549 MB / 0.7258 GB, free: 9.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2158, allocations: 0 / 0.7258 GB, free: 9.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004903/0.2207, allocations: 3.966 MB / 0.7297 GB, free: 5.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.2207, allocations: 5.875 kB / 0.7297 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.2207, allocations: 4 kB / 0.7297 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2208, allocations: 0 / 0.7297 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.2209, allocations: 19.92 kB / 0.7297 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2209, allocations: 0 / 0.7297 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.2214, allocations: 245.3 kB / 0.73 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.2214, allocations: 24.02 kB / 0.73 GB, free: 4.797 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003154/0.2217, allocations: 249.6 kB / 0.7302 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.2218, allocations: 67.34 kB / 0.7303 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.223, allocations: 0.9398 MB / 0.7312 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.223, allocations: 0 / 0.7312 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.223, allocations: 0 / 0.7312 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.223, allocations: 8.031 kB / 0.7312 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.2236, allocations: 471.7 kB / 0.7317 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2236, allocations: 4 kB / 0.7317 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.2237, allocations: 7.938 kB / 0.7317 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2237, allocations: 4 kB / 0.7317 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.2237, allocations: 3.984 kB / 0.7317 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2237, allocations: 0 / 0.7317 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.2237, allocations: 4 kB / 0.7317 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.225, allocations: 1.002 MB / 0.7327 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/0.2251, allocations: 83.33 kB / 0.7328 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.2252, allocations: 4 kB / 0.7328 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2253, allocations: 4 kB / 0.7328 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.2253, allocations: 11.97 kB / 0.7328 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.2254, allocations: 15.92 kB / 0.7328 GB, free: 1.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007912/0.2262, allocations: 0.6726 MB / 0.7334 GB, free: 1.172 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2262, allocations: 3.938 kB / 0.7334 GB, free: 1.168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001109/0.2273, allocations: 399 kB / 0.7338 GB, free: 0.7773 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002674/0.23, allocations: 1.92 MB / 0.7357 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.2324, allocations: 1.952 MB / 0.7376 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2324, allocations: 0 / 0.7376 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.2328, allocations: 335.7 kB / 0.7379 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.2331, allocations: 38.67 kB / 0.738 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3338/0.5669, allocations: 15.06 MB / 0.7527 GB, free: 45.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.5673, allocations: 0.9659 MB / 0.7536 GB, free: 44.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.5675, allocations: 37.09 kB / 0.7536 GB, free: 44.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.5678, allocations: 258.5 kB / 0.7539 GB, free: 44.92 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.5678, allocations: 0.5 kB / 0.7539 GB, free: 44.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06502/0.6328, allocations: 19.84 MB / 0.7733 GB, free: 39.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.94, allocations: 14.55 kB / 0.7733 GB, free: 39.3 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.99591811200662] Failed to read output from testmodel.py, exit status != 0: 14.05104525799834 14.062475324 13.871415982 Calling exit ...