Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001494/0.001494, allocations: 113.5 kB / 19.73 MB, free: 2.242 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: 218.8 kB / 23.04 MB, free: 5.074 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3/3, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_latest_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_latest_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.001873/0.001873, allocations: 66.17 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3221, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002499/0.3246, allocations: 1.461 MB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006685/0.3313, allocations: 4.292 MB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.3314, allocations: 0 / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.3315, allocations: 11.86 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.3317, allocations: 35.78 kB / 1.351 GB, free: 10.59 MB / 1.045 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.004259/0.336, allocations: 1.614 MB / 1.353 GB, free: 8.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3362, allocations: 95.67 kB / 1.353 GB, free: 8.887 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.3362, allocations: 3.984 kB / 1.353 GB, free: 8.883 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.3363, allocations: 51.83 kB / 1.353 GB, free: 8.832 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.3366, allocations: 147.6 kB / 1.353 GB, free: 8.688 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.3366, allocations: 16 kB / 1.353 GB, free: 8.672 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/0.3408, allocations: 2.648 MB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.3411, allocations: 275.8 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.3413, allocations: 278.3 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003457/0.3448, allocations: 2.157 MB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3448, allocations: 0 / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3448, allocations: 0 / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.3448, allocations: 3.938 kB / 1.358 GB, free: 3.309 MB / 1.045 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.01018/0.355, allocations: 1.276 MB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.355, allocations: 12.03 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.374e-05/0.355, allocations: 192 / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.3551, allocations: 34.73 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.3555, allocations: 96.23 kB / 1.36 GB, free: 1.848 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.3559, allocations: 299.2 kB / 1.36 GB, free: 1.52 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3559, allocations: 16.36 kB / 1.36 GB, free: 1.504 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.3559, allocations: 4.375 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.3564, allocations: 387.1 kB / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3564, allocations: 3.938 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3564, allocations: 0 / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3564, allocations: 3.984 kB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.3569, allocations: 439.8 kB / 1.361 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.3575, allocations: 0.6127 MB / 1.361 GB, free: 16 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.3581, allocations: 0.5594 MB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.3585, allocations: 337.7 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.3592, allocations: 135.8 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004324/0.3596, allocations: 408.8 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.3596, allocations: 4 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001437/0.3611, allocations: 1.286 MB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.3611, allocations: 89.02 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.3624, allocations: 1.219 MB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.3624, allocations: 29.7 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.3626, allocations: 266 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.3627, allocations: 27.78 kB / 1.365 GB, free: 11.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.363, allocations: 355.6 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3631, allocations: 313.9 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.3644, allocations: 1.369 MB / 1.367 GB, free: 9.551 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.3658, allocations: 1.501 MB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007081/0.3729, allocations: 3.564 MB / 1.372 GB, free: 4.383 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.3729, allocations: 4 kB / 1.372 GB, free: 4.379 MB / 1.061 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004596/0.3775, allocations: 3.999 MB / 1.376 GB, free: 352 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.3775, allocations: 9.406 kB / 1.376 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.3776, allocations: 0 / 1.376 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3776, allocations: 11.97 kB / 1.376 GB, free: 332 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3777, allocations: 19.92 kB / 1.376 GB, free: 312 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.3777, allocations: 4.062 kB / 1.376 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.3782, allocations: 241.4 kB / 1.377 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.3783, allocations: 19.98 kB / 1.377 GB, free: 44 kB / 1.061 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.0003441/0.3786, allocations: 245.6 kB / 1.377 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.3787, allocations: 71.28 kB / 1.377 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.3797, allocations: 0.9438 MB / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.3797, allocations: 4 kB / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3797, allocations: 0 / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3797, allocations: 0 / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.3802, allocations: 475.9 kB / 1.378 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3802, allocations: 8 kB / 1.378 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.3803, allocations: 11.92 kB / 1.378 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3803, allocations: 4.031 kB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3803, allocations: 4 kB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3803, allocations: 0 / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3803, allocations: 0 / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009456/0.3812, allocations: 1.006 MB / 1.379 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.61e-05/0.3813, allocations: 75.34 kB / 1.379 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.3814, allocations: 12 kB / 1.379 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3815, allocations: 7.984 kB / 1.379 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.3815, allocations: 0 / 1.379 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.3816, allocations: 15.97 kB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007411/0.3823, allocations: 0.6727 MB / 1.38 GB, free: 12.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3823, allocations: 0 / 1.38 GB, free: 12.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001499/0.3838, allocations: 0.5884 MB / 1.381 GB, free: 11.82 MB / 1.076 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.003235/0.387, allocations: 2.146 MB / 1.383 GB, free: 9.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002151/0.3892, allocations: 2.005 MB / 1.385 GB, free: 7.641 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3892, allocations: 0 / 1.385 GB, free: 7.641 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.3895, allocations: 332 kB / 1.385 GB, free: 7.316 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3899, allocations: 38.94 kB / 1.385 GB, free: 7.281 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.4058, allocations: 15.3 MB / 1.4 GB, free: 7.801 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.4064, allocations: 0.964 MB / 1.401 GB, free: 6.812 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.4065, allocations: 36.41 kB / 1.401 GB, free: 6.773 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.4068, allocations: 267.3 kB / 1.401 GB, free: 6.512 MB / 1.092 GB Notification: Performance of SimCode: time 8.02e-07/0.4068, allocations: 0 / 1.401 GB, free: 6.512 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05174/0.4586, allocations: 24.21 MB / 1.425 GB, free: 14.48 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.29, allocations: 3.984 kB / 1.425 GB, free: 14.48 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.45561646297574] Failed to read output from testmodel.py, exit status != 0: 13.478783076978289 13.506996591 13.15763732 Calling exit ...