Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001346/0.001346, allocations: 119 kB / 19.69 MB, free: 2.199 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.001521/0.001521, allocations: 224.3 kB / 23.01 MB, free: 5.047 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9498/0.9498, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002087/0.002087, allocations: 65.38 kB / 0.6413 GB, free: 10.28 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1853, allocations: 89.17 MB / 0.7284 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002887/0.1882, allocations: 1.443 MB / 0.7298 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007374/0.1956, allocations: 4.285 MB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.1957, allocations: 3.938 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1958, allocations: 15.86 kB / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.1962, allocations: 31.84 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.005122/0.2013, allocations: 1.613 MB / 0.7356 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.2015, allocations: 91.67 kB / 0.7357 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.2016, allocations: 7.984 kB / 0.7357 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.2017, allocations: 47.84 kB / 0.7358 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.2019, allocations: 147.6 kB / 0.7359 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.202, allocations: 16 kB / 0.7359 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004795/0.2068, allocations: 2.663 MB / 0.7385 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.2071, allocations: 267.8 kB / 0.7388 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.2074, allocations: 274.3 kB / 0.7391 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.2114, allocations: 2.161 MB / 0.7412 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2114, allocations: 8 kB / 0.7412 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2114, allocations: 0 / 0.7412 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.2114, allocations: 0 / 0.7412 GB, free: 4.078 MB / 0.5606 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.009063/0.2205, allocations: 1.268 MB / 0.7424 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2205, allocations: 8.031 kB / 0.7424 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.2206, allocations: 30.75 kB / 0.7424 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004059/0.221, allocations: 104.2 kB / 0.7425 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.2215, allocations: 299.2 kB / 0.7428 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.2215, allocations: 12.11 kB / 0.7428 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.2215, allocations: 8 kB / 0.7429 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.222, allocations: 387.1 kB / 0.7432 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.222, allocations: 0 / 0.7432 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.222, allocations: 0 / 0.7432 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.222, allocations: 4 kB / 0.7432 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.2225, allocations: 439.7 kB / 0.7436 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.2232, allocations: 0.6167 MB / 0.7442 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.2237, allocations: 0.5632 MB / 0.7448 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.2241, allocations: 337.7 kB / 0.7451 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007631/0.2249, allocations: 127.9 kB / 0.7452 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00046/0.2253, allocations: 416.8 kB / 0.7456 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.2253, allocations: 0 / 0.7456 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001519/0.2268, allocations: 1.29 MB / 0.7469 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.2269, allocations: 77.11 kB / 0.747 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.2282, allocations: 1.219 MB / 0.7482 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.2283, allocations: 37.7 kB / 0.7482 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.2285, allocations: 265.9 kB / 0.7485 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.2286, allocations: 23.83 kB / 0.7485 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000374/0.2289, allocations: 351.6 kB / 0.7488 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2291, allocations: 314 kB / 0.7491 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.2306, allocations: 1.369 MB / 0.7504 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.2321, allocations: 1.512 MB / 0.7519 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007631/0.2397, allocations: 3.56 MB / 0.7554 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.2397, allocations: 0 / 0.7554 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004872/0.2446, allocations: 4.007 MB / 0.7593 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.2446, allocations: 8.031 kB / 0.7593 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.2446, allocations: 8.078 kB / 0.7593 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2447, allocations: 0 / 0.7593 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2448, allocations: 15.98 kB / 0.7593 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.2448, allocations: 3.984 kB / 0.7593 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.2453, allocations: 245.3 kB / 0.7596 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.2454, allocations: 23.98 kB / 0.7596 GB, free: 0.8203 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003354/0.2457, allocations: 253.5 kB / 0.7598 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.2458, allocations: 71.34 kB / 0.7599 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3232/0.5689, allocations: 0.9261 MB / 0.7608 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.5689, allocations: 3.5 kB / 0.7608 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.569, allocations: 0 / 0.7608 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.569, allocations: 0.5625 kB / 0.7608 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.5695, allocations: 477.4 kB / 0.7613 GB, free: 34.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5695, allocations: 1.312 kB / 0.7613 GB, free: 34.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.5696, allocations: 10.52 kB / 0.7613 GB, free: 34.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.5696, allocations: 2.484 kB / 0.7613 GB, free: 34.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.5696, allocations: 7.969 kB / 0.7613 GB, free: 34.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5696, allocations: 1.062 kB / 0.7613 GB, free: 34.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5696, allocations: 0 / 0.7613 GB, free: 34.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/0.5705, allocations: 1.006 MB / 0.7623 GB, free: 34.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.5706, allocations: 82.7 kB / 0.7624 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.5706, allocations: 2.688 kB / 0.7624 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.5708, allocations: 5.688 kB / 0.7624 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.5708, allocations: 10.33 kB / 0.7624 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.5709, allocations: 13.97 kB / 0.7624 GB, free: 34.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005999/0.5715, allocations: 0.6709 MB / 0.763 GB, free: 34.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5715, allocations: 1.094 kB / 0.763 GB, free: 34.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001542/0.573, allocations: 0.588 MB / 0.7636 GB, free: 34.57 MB / 0.5762 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.002681/0.5757, allocations: 2.156 MB / 0.7657 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00227/0.578, allocations: 1.995 MB / 0.7677 GB, free: 33.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.578, allocations: 0.75 kB / 0.7677 GB, free: 33.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.5784, allocations: 335.2 kB / 0.768 GB, free: 33.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.5788, allocations: 44.3 kB / 0.768 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/0.5955, allocations: 15.28 MB / 0.783 GB, free: 29.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.596, allocations: 0.9664 MB / 0.7839 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001605/0.5961, allocations: 39.73 kB / 0.7839 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.5964, allocations: 263.3 kB / 0.7842 GB, free: 28.17 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.5964, allocations: 4.406 kB / 0.7842 GB, free: 28.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06418/0.6606, allocations: 24.19 MB / 0.8078 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.02, allocations: 7.25 kB / 0.8078 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.360471208998206] Failed to read output from testmodel.py, exit status != 0: 14.140718004000519 14.158438207 13.943297817 Calling exit ...