Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001263/0.001263, allocations: 104 kB / 16.45 MB, free: 6.449 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.001342/0.001342, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.378/1.378, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.666/2.666, allocations: 476.7 MB / 0.7672 GB, free: 5.172 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002151/0.002151, allocations: 74.38 kB / 1.112 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7993/0.8015, allocations: 169.9 MB / 1.278 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002998/0.8044, allocations: 1.458 MB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006948/0.8114, allocations: 4.251 MB / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.8115, allocations: 3.938 kB / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.8116, allocations: 7.922 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.8119, allocations: 31.78 kB / 1.284 GB, free: 7.582 MB / 0.9825 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004542/0.8164, allocations: 1.521 MB / 1.285 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.8166, allocations: 95.67 kB / 1.286 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.8167, allocations: 7.984 kB / 1.286 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.8168, allocations: 47.83 kB / 1.286 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.817, allocations: 147.6 kB / 1.286 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.8171, allocations: 16 kB / 1.286 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004187/0.8212, allocations: 2.324 MB / 1.288 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.8215, allocations: 263.8 kB / 1.288 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.8218, allocations: 290.2 kB / 1.289 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.8261, allocations: 2.117 MB / 1.291 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.8261, allocations: 4 kB / 1.291 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8261, allocations: 0 / 1.291 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.949e-05/0.8261, allocations: 4 kB / 1.291 GB, free: 0.75 MB / 0.9825 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.01062/0.8367, allocations: 1.336 MB / 1.292 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.8368, allocations: 12.03 kB / 1.292 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.8369, allocations: 34.73 kB / 1.292 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.8373, allocations: 92.2 kB / 1.292 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.8378, allocations: 369 kB / 1.292 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.8378, allocations: 12.38 kB / 1.292 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.8378, allocations: 8.359 kB / 1.292 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.8383, allocations: 391.2 kB / 1.293 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8383, allocations: 3.938 kB / 1.293 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8383, allocations: 0 / 1.293 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.8383, allocations: 0 / 1.293 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.8388, allocations: 439.7 kB / 1.293 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.8395, allocations: 0.641 MB / 1.294 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.8401, allocations: 0.5595 MB / 1.294 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.8404, allocations: 333.6 kB / 1.295 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.8416, allocations: 1.028 MB / 1.296 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/0.8421, allocations: 412.8 kB / 1.296 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.8421, allocations: 4 kB / 1.296 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001482/0.8436, allocations: 1.289 MB / 1.297 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.8436, allocations: 85.09 kB / 1.297 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.845, allocations: 1.211 MB / 1.299 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/0.845, allocations: 33.69 kB / 1.299 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.8453, allocations: 274 kB / 1.299 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.8453, allocations: 23.88 kB / 1.299 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.8457, allocations: 347.6 kB / 1.299 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8459, allocations: 310 kB / 1.3 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.8472, allocations: 1.369 MB / 1.301 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.8487, allocations: 1.505 MB / 1.302 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00744/0.8561, allocations: 3.564 MB / 1.306 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.8561, allocations: 0 / 1.306 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004808/0.8609, allocations: 4.007 MB / 1.31 GB, free: 12.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.861, allocations: 7.938 kB / 1.31 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.861, allocations: 4 kB / 1.31 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.861, allocations: 7.969 kB / 1.31 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.8612, allocations: 15.98 kB / 1.31 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.8612, allocations: 0 / 1.31 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.8617, allocations: 253.2 kB / 1.31 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.8618, allocations: 23.98 kB / 1.31 GB, free: 12.17 MB / 1.014 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.0003415/0.8621, allocations: 237.6 kB / 1.31 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.8622, allocations: 75.28 kB / 1.31 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.8625, allocations: 75.06 kB / 1.31 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.8625, allocations: 4 kB / 1.31 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8625, allocations: 0 / 1.31 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8625, allocations: 0 / 1.31 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.863, allocations: 496.8 kB / 1.311 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.863, allocations: 11.94 kB / 1.311 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.8631, allocations: 4 kB / 1.311 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.8631, allocations: 8.016 kB / 1.311 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.8631, allocations: 4 kB / 1.311 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.8631, allocations: 0 / 1.311 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.8631, allocations: 320 / 1.311 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.8642, allocations: 1.014 MB / 1.312 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.8643, allocations: 156.4 kB / 1.312 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.8644, allocations: 8 kB / 1.312 GB, free: 9.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.8645, allocations: 0 / 1.312 GB, free: 9.996 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.8646, allocations: 7.984 kB / 1.312 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.8646, allocations: 19.97 kB / 1.312 GB, free: 9.969 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008007/0.8654, allocations: 0.6728 MB / 1.313 GB, free: 9.289 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8654, allocations: 0 / 1.313 GB, free: 9.289 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001715/0.8671, allocations: 0.5806 MB / 1.313 GB, free: 8.707 MB / 1.014 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.003842/0.871, allocations: 2.156 MB / 1.315 GB, free: 6.535 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002321/0.8733, allocations: 2.005 MB / 1.317 GB, free: 4.516 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8733, allocations: 0 / 1.317 GB, free: 4.516 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.8737, allocations: 339.7 kB / 1.318 GB, free: 4.184 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.874, allocations: 32.61 kB / 1.318 GB, free: 4.148 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/0.8911, allocations: 15.28 MB / 1.333 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.8917, allocations: 0.9679 MB / 1.334 GB, free: 3.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001579/0.8919, allocations: 32.55 kB / 1.334 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.8922, allocations: 271.3 kB / 1.334 GB, free: 3.402 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/0.8922, allocations: 0 / 1.334 GB, free: 3.402 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06008/0.9523, allocations: 24.04 MB / 1.357 GB, free: 11.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.29, allocations: 1.906 kB / 1.357 GB, free: 11.57 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.107365434989333] Failed to read output from testmodel.py, exit status != 0: 11.375696192029864 11.395827783 10.565586968 Calling exit ...