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_SmallScaleValidation.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.001749/0.001749, allocations: 107 kB / 16.45 MB, free: 6.453 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.002382/0.002382, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.692/2.692, allocations: 476.7 MB / 0.7672 GB, free: 5.23 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_SmallScaleValidation,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.003382/0.003382, allocations: 71.89 kB / 1.112 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7957/0.7991, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003131/0.8022, allocations: 1.789 MB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008557/0.8108, allocations: 5.451 MB / 1.285 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.8109, allocations: 3.938 kB / 1.285 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.8123, allocations: 370.2 kB / 1.286 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.8125, allocations: 67.66 kB / 1.286 GB, free: 5.695 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.004248/0.8167, allocations: 1.501 MB / 1.287 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.8171, allocations: 163.3 kB / 1.287 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.934e-05/0.8171, allocations: 9.562 kB / 1.287 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.461e-05/0.8172, allocations: 59.78 kB / 1.288 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.8175, allocations: 167.5 kB / 1.288 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.8175, allocations: 19.94 kB / 1.288 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.8214, allocations: 2.317 MB / 1.29 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.8217, allocations: 283.7 kB / 1.29 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.822, allocations: 310.1 kB / 1.291 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.8253, allocations: 2.2 MB / 1.293 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.8253, allocations: 0 / 1.293 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8253, allocations: 4 kB / 1.293 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.8253, allocations: 0 / 1.293 GB, free: 14.66 MB / 0.9981 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.01038/0.8357, allocations: 1.414 MB / 1.294 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.8358, allocations: 12.03 kB / 1.294 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.8358, allocations: 34.73 kB / 1.294 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.8362, allocations: 104.2 kB / 1.294 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.8368, allocations: 406.4 kB / 1.295 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.8368, allocations: 384 / 1.295 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.8369, allocations: 8.359 kB / 1.295 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.8374, allocations: 399.2 kB / 1.295 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8374, allocations: 4 kB / 1.295 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.8374, allocations: 4 kB / 1.295 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8374, allocations: 0 / 1.295 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.8379, allocations: 435.7 kB / 1.295 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007427/0.8386, allocations: 0.662 MB / 1.296 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.8392, allocations: 0.5712 MB / 1.297 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.8395, allocations: 337.5 kB / 1.297 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/0.8407, allocations: 1.021 MB / 1.298 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000466/0.8412, allocations: 416.8 kB / 1.298 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.8412, allocations: 0 / 1.298 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001529/0.8427, allocations: 1.301 MB / 1.3 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.8428, allocations: 85.22 kB / 1.3 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.8441, allocations: 1.298 MB / 1.301 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.8442, allocations: 33.69 kB / 1.301 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.8444, allocations: 285.9 kB / 1.301 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.8445, allocations: 23.8 kB / 1.301 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.8448, allocations: 355.6 kB / 1.302 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.845, allocations: 318 kB / 1.302 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.8465, allocations: 1.381 MB / 1.303 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.848, allocations: 1.497 MB / 1.305 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007673/0.8557, allocations: 3.564 MB / 1.308 GB, free: 14.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.8557, allocations: 0 / 1.308 GB, free: 14.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004779/0.8605, allocations: 4.019 MB / 1.312 GB, free: 10.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.8605, allocations: 4 kB / 1.312 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.8605, allocations: 7.984 kB / 1.312 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.8606, allocations: 0 / 1.312 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.8607, allocations: 12 kB / 1.312 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.8607, allocations: 4 kB / 1.312 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.8612, allocations: 241.3 kB / 1.312 GB, free: 9.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.8613, allocations: 24.02 kB / 1.312 GB, free: 9.82 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.0003397/0.8616, allocations: 249.6 kB / 1.313 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.8617, allocations: 87.19 kB / 1.313 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.862, allocations: 79.81 kB / 1.313 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.862, allocations: 0 / 1.313 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.862, allocations: 4 kB / 1.313 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.862, allocations: 7.969 kB / 1.313 GB, free: 9.379 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.8625, allocations: 0.5179 MB / 1.313 GB, free: 8.816 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8625, allocations: 7.922 kB / 1.313 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.8626, allocations: 4 kB / 1.313 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.8626, allocations: 0 / 1.313 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.8626, allocations: 7.984 kB / 1.313 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.8626, allocations: 0 / 1.313 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8626, allocations: 3.938 kB / 1.313 GB, free: 8.793 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.864, allocations: 1.01 MB / 1.314 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.8641, allocations: 168.3 kB / 1.314 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.8642, allocations: 3.984 kB / 1.314 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.8643, allocations: 4 kB / 1.314 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.8644, allocations: 7.984 kB / 1.315 GB, free: 7.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.8644, allocations: 7.984 kB / 1.315 GB, free: 7.555 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008605/0.8653, allocations: 0.73 MB / 1.315 GB, free: 6.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.8653, allocations: 0 / 1.315 GB, free: 6.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001617/0.8669, allocations: 0.5923 MB / 1.316 GB, free: 6.227 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.003388/0.8703, allocations: 2.165 MB / 1.318 GB, free: 4.047 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002314/0.8726, allocations: 1.997 MB / 1.32 GB, free: 2.035 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8726, allocations: 0 / 1.32 GB, free: 2.035 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.873, allocations: 347.8 kB / 1.32 GB, free: 1.695 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.8734, allocations: 55.39 kB / 1.32 GB, free: 1.641 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.8913, allocations: 15.3 MB / 1.335 GB, free: 2.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.892, allocations: 0.9917 MB / 1.336 GB, free: 1.148 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.8922, allocations: 41.39 kB / 1.336 GB, free: 1.105 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.8925, allocations: 295.3 kB / 1.336 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of SimCode: time 1.182e-06/0.8925, allocations: 0 / 1.336 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06569/0.9582, allocations: 24.28 MB / 1.36 GB, free: 8.766 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.61, allocations: 24.02 kB / 1.36 GB, free: 8.746 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv --start-time 0 --stop-time 1.8e+12 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.2e+08 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.547212928999215] Failed to read output from testmodel.py, exit status != 0: 11.692933670943603 11.705967886 10.87756643 Calling exit ...