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.001288/0.001288, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001369/0.001369, allocations: 213.7 kB / 22.25 MB, free: 5.262 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.781 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.8246/0.8246, allocations: 134 MB / 446.4 MB, free: 9.91 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.001954/0.001954, allocations: 69.08 kB / 0.6185 GB, free: 6.832 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1617, allocations: 85.91 MB / 0.7024 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002603/0.1643, allocations: 1.405 MB / 0.7038 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004764/0.1691, allocations: 2.759 MB / 0.7065 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.1691, allocations: 4 kB / 0.7065 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.1692, allocations: 11.86 kB / 0.7065 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1694, allocations: 31.84 kB / 0.7066 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.1718, allocations: 1.033 MB / 0.7076 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.172, allocations: 83.75 kB / 0.7076 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.172, allocations: 4 kB / 0.7077 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.1721, allocations: 47.77 kB / 0.7077 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.1723, allocations: 143.6 kB / 0.7078 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.1724, allocations: 19.94 kB / 0.7079 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.1746, allocations: 1.408 MB / 0.7092 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.1749, allocations: 271.8 kB / 0.7095 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.1751, allocations: 210.9 kB / 0.7097 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.1769, allocations: 1.51 MB / 0.7112 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1769, allocations: 0 / 0.7112 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1769, allocations: 0 / 0.7112 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.1769, allocations: 0 / 0.7112 GB, free: 8.051 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.009242/0.1861, allocations: 1.171 MB / 0.7123 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1862, allocations: 8.031 kB / 0.7123 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1862, allocations: 34.75 kB / 0.7123 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.1866, allocations: 88.25 kB / 0.7124 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.187, allocations: 311 kB / 0.7127 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.187, allocations: 12.12 kB / 0.7127 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.1871, allocations: 4 kB / 0.7127 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.1876, allocations: 391.1 kB / 0.7131 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1876, allocations: 0 / 0.7131 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1876, allocations: 0 / 0.7131 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1876, allocations: 0 / 0.7131 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.1881, allocations: 435.7 kB / 0.7135 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.1887, allocations: 0.5893 MB / 0.7141 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.1892, allocations: 0.5672 MB / 0.7147 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.1896, allocations: 333.6 kB / 0.715 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006897/0.1903, allocations: 127.9 kB / 0.7151 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000444/0.1907, allocations: 416.8 kB / 0.7155 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1907, allocations: 0 / 0.7155 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001426/0.1921, allocations: 1.289 MB / 0.7168 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.1922, allocations: 85.11 kB / 0.7168 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.1934, allocations: 1.21 MB / 0.718 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.1934, allocations: 25.7 kB / 0.718 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.1936, allocations: 266 kB / 0.7183 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.1937, allocations: 23.84 kB / 0.7183 GB, free: 496 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.194, allocations: 351.5 kB / 0.7187 GB, free: 140 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1942, allocations: 314 kB / 0.719 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.1955, allocations: 1.357 MB / 0.7203 GB, free: 14.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.1969, allocations: 1.493 MB / 0.7217 GB, free: 12.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007364/0.2043, allocations: 3.549 MB / 0.7252 GB, free: 9.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2043, allocations: 0 / 0.7252 GB, free: 9.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004401/0.2087, allocations: 3.969 MB / 0.7291 GB, free: 5.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2087, allocations: 4 kB / 0.7291 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.2087, allocations: 0 / 0.7291 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2087, allocations: 4 kB / 0.7291 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.2088, allocations: 19.92 kB / 0.7291 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.2089, allocations: 0 / 0.7291 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.2093, allocations: 241.4 kB / 0.7293 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.2094, allocations: 23.98 kB / 0.7294 GB, free: 5.027 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.0002975/0.2097, allocations: 245.5 kB / 0.7296 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.2098, allocations: 71.33 kB / 0.7297 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.2108, allocations: 0.9359 MB / 0.7306 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2108, allocations: 7.984 kB / 0.7306 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2108, allocations: 32 / 0.7306 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2108, allocations: 4 kB / 0.7306 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.2113, allocations: 471.7 kB / 0.731 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2113, allocations: 4 kB / 0.731 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.2114, allocations: 4 kB / 0.731 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2114, allocations: 3.938 kB / 0.7311 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.2114, allocations: 7.984 kB / 0.7311 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2114, allocations: 0 / 0.7311 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2114, allocations: 0 / 0.7311 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.2124, allocations: 1.006 MB / 0.732 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.2125, allocations: 79.33 kB / 0.7321 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.2125, allocations: 7.938 kB / 0.7321 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.2127, allocations: 0 / 0.7321 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.2127, allocations: 11.98 kB / 0.7321 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.2127, allocations: 11.98 kB / 0.7321 GB, free: 2.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007477/0.2135, allocations: 0.6687 MB / 0.7328 GB, free: 1.414 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2135, allocations: 0 / 0.7328 GB, free: 1.414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001108/0.2146, allocations: 403 kB / 0.7332 GB, free: 1.02 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.002436/0.217, allocations: 1.93 MB / 0.7351 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.2191, allocations: 1.949 MB / 0.737 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2192, allocations: 7.938 kB / 0.737 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.2195, allocations: 327.8 kB / 0.7373 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.2198, allocations: 36.48 kB / 0.7373 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3114/0.5312, allocations: 15.05 MB / 0.752 GB, free: 45.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.5316, allocations: 372.7 kB / 0.7524 GB, free: 45.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.5318, allocations: 37.03 kB / 0.7524 GB, free: 45.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.5321, allocations: 265.2 kB / 0.7527 GB, free: 45.32 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.5321, allocations: 2.812 kB / 0.7527 GB, free: 45.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05705/0.5891, allocations: 20.79 MB / 0.773 GB, free: 39.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.89, allocations: 10.11 kB / 0.773 GB, free: 39.02 MB / 0.5606 GB " [Timeout remaining time 647] (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: 16.96421375963837] Failed to read output from testmodel.py, exit status != 0: 13.007747731171548 13.025861235 12.845690922 Calling exit ...