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.001574/0.001574, allocations: 120 kB / 17.17 MB, free: 5.977 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.001696/0.001696, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.384/1.384, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.589/2.589, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 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="cs",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="cs",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.001948/0.001948, allocations: 67.91 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8507, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002573/0.8533, allocations: 1.464 MB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006735/0.8601, allocations: 4.254 MB / 1.285 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.8601, allocations: 0 / 1.285 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.8602, allocations: 14.67 kB / 1.285 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.8605, allocations: 32.08 kB / 1.285 GB, free: 7.844 MB / 0.9981 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.004357/0.8648, allocations: 1.506 MB / 1.286 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.865, allocations: 94.75 kB / 1.286 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.865, allocations: 4.281 kB / 1.286 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.8651, allocations: 52.94 kB / 1.286 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.8653, allocations: 149.7 kB / 1.286 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.8654, allocations: 13.5 kB / 1.286 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.8695, allocations: 2.325 MB / 1.289 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.8698, allocations: 268.4 kB / 1.289 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.87, allocations: 279.4 kB / 1.289 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00415/0.8742, allocations: 2.123 MB / 1.291 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8742, allocations: 1.219 kB / 1.291 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8742, allocations: 0 / 1.291 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.8742, allocations: 0 / 1.291 GB, free: 5.605 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.01107/0.8853, allocations: 1.343 MB / 1.293 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.8853, allocations: 11.31 kB / 1.293 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.219e-05/0.8853, allocations: 192 / 1.293 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.8854, allocations: 33.48 kB / 1.293 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.8858, allocations: 94.75 kB / 1.293 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.8863, allocations: 367.7 kB / 1.293 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.8863, allocations: 7.781 kB / 1.293 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.8863, allocations: 9.453 kB / 1.293 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.8868, allocations: 392.8 kB / 1.293 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.8868, allocations: 9.375 kB / 1.293 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8868, allocations: 0.75 kB / 1.293 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.8868, allocations: 1.344 kB / 1.293 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.8873, allocations: 436 kB / 1.294 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.8881, allocations: 0.6408 MB / 1.295 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/0.8886, allocations: 0.5611 MB / 1.295 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.889, allocations: 332.8 kB / 1.295 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/0.8902, allocations: 1.037 MB / 1.296 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.8906, allocations: 407.8 kB / 1.297 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.8906, allocations: 5.625 kB / 1.297 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001702/0.8923, allocations: 1.29 MB / 1.298 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.8924, allocations: 80.8 kB / 1.298 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.8943, allocations: 1.214 MB / 1.299 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.935e-05/0.8944, allocations: 32.27 kB / 1.299 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.8947, allocations: 272.4 kB / 1.3 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.8947, allocations: 21 kB / 1.3 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005014/0.8952, allocations: 354.6 kB / 1.3 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8954, allocations: 310 kB / 1.3 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.8969, allocations: 1.373 MB / 1.302 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.8986, allocations: 1.503 MB / 1.303 GB, free: 112 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007667/0.9063, allocations: 3.561 MB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9063, allocations: 0 / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004968/0.9113, allocations: 4.011 MB / 1.31 GB, free: 12.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9113, allocations: 5.5 kB / 1.31 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.9113, allocations: 1.938 kB / 1.31 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.9113, allocations: 6.156 kB / 1.31 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.9115, allocations: 18.88 kB / 1.31 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.9115, allocations: 5.156 kB / 1.31 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/0.9121, allocations: 245.5 kB / 1.311 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.9122, allocations: 26.38 kB / 1.311 GB, free: 12.06 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.000418/0.9126, allocations: 240 kB / 1.311 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.9127, allocations: 73.94 kB / 1.311 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.913, allocations: 80.08 kB / 1.311 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.913, allocations: 1.688 kB / 1.311 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.913, allocations: 0.6094 kB / 1.311 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.913, allocations: 0.7031 kB / 1.311 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.9137, allocations: 0.4911 MB / 1.312 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.9137, allocations: 1.281 kB / 1.312 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.9137, allocations: 6.781 kB / 1.312 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.9137, allocations: 5.781 kB / 1.312 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.9138, allocations: 3.391 kB / 1.312 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9138, allocations: 5.641 kB / 1.312 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9138, allocations: 0 / 1.312 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.9148, allocations: 1.011 MB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.915, allocations: 158.1 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.915, allocations: 3.234 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.9152, allocations: 4.969 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.9152, allocations: 5.922 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.9153, allocations: 12.56 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009025/0.9162, allocations: 0.6705 MB / 1.313 GB, free: 11 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9162, allocations: 0 / 1.313 GB, free: 11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002219/0.9184, allocations: 0.5866 MB / 1.314 GB, free: 10.89 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.004325/0.9227, allocations: 2.161 MB / 1.316 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.9252, allocations: 2.001 MB / 1.318 GB, free: 9.473 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.9252, allocations: 0 / 1.318 GB, free: 9.473 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.9255, allocations: 335.2 kB / 1.318 GB, free: 9.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.9259, allocations: 37.2 kB / 1.318 GB, free: 9.434 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/0.9447, allocations: 15.29 MB / 1.333 GB, free: 1.914 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.9454, allocations: 0.9656 MB / 1.334 GB, free: 1.094 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.9455, allocations: 35.25 kB / 1.334 GB, free: 1.082 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.9459, allocations: 267.8 kB / 1.335 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of SimCode: time 1.252e-06/0.9459, allocations: 0 / 1.335 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05233/0.9982, allocations: 24.08 MB / 1.358 GB, free: 10.74 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.23, allocations: 9.906 kB / 1.358 GB, free: 10.73 MB / 1.045 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=400 --tolerance=1e-06 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.04063221096294] Failed to read output from testmodel.py, exit status != 0: 11.36811472295085 11.39121917 10.512229111 Calling exit ...