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_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.001772/0.001772, allocations: 102 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.002064/0.002064, 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.109 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.171/3.171, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 176] 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_SmallScaleValidation,fileNamePrefix="Buildings_latest_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_latest_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.001958/0.001958, allocations: 74.2 kB / 1.172 GB, free: 17.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3443, allocations: 180.2 MB / 1.348 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002959/0.3473, allocations: 1.783 MB / 1.35 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007922/0.3552, allocations: 5.441 MB / 1.355 GB, free: 2.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.3553, allocations: 3.938 kB / 1.355 GB, free: 2.766 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.3565, allocations: 378.4 kB / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.3567, allocations: 63.66 kB / 1.355 GB, free: 2.332 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.003841/0.3605, allocations: 1.513 MB / 1.357 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.3608, allocations: 167.3 kB / 1.357 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.3608, allocations: 9.5 kB / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.233e-05/0.3609, allocations: 63.77 kB / 1.357 GB, free: 0.582 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.3611, allocations: 175.4 kB / 1.357 GB, free: 420 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.3612, allocations: 16 kB / 1.357 GB, free: 404 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.3646, allocations: 2.328 MB / 1.359 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.3649, allocations: 283.7 kB / 1.36 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.3651, allocations: 306.1 kB / 1.36 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.3679, allocations: 2.204 MB / 1.362 GB, free: 11.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3679, allocations: 4 kB / 1.362 GB, free: 11.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.697e-06/0.3679, allocations: 3.984 kB / 1.362 GB, free: 11.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.3679, allocations: 0 / 1.362 GB, free: 11.27 MB / 1.061 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.01042/0.3784, allocations: 1.41 MB / 1.364 GB, free: 9.801 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3784, allocations: 12.03 kB / 1.364 GB, free: 9.789 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.3784, allocations: 34.73 kB / 1.364 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/0.3789, allocations: 100.2 kB / 1.364 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.3794, allocations: 418.3 kB / 1.364 GB, free: 9.191 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3794, allocations: 384 / 1.364 GB, free: 9.191 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.3795, allocations: 8.375 kB / 1.364 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.3799, allocations: 391.2 kB / 1.364 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.38, allocations: 4 kB / 1.365 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.38, allocations: 8 kB / 1.365 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.38, allocations: 0 / 1.365 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.3805, allocations: 435.7 kB / 1.365 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007064/0.3812, allocations: 0.662 MB / 1.366 GB, free: 7.641 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.3817, allocations: 0.5594 MB / 1.366 GB, free: 7.062 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.3821, allocations: 337.7 kB / 1.366 GB, free: 6.727 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.3832, allocations: 1.028 MB / 1.367 GB, free: 5.477 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.3836, allocations: 416.8 kB / 1.368 GB, free: 5.051 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3836, allocations: 0 / 1.368 GB, free: 5.051 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001451/0.3851, allocations: 1.301 MB / 1.369 GB, free: 3.742 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.3851, allocations: 89.22 kB / 1.369 GB, free: 3.637 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.3865, allocations: 1.294 MB / 1.37 GB, free: 2.332 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.3865, allocations: 25.7 kB / 1.37 GB, free: 2.301 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.3868, allocations: 293.9 kB / 1.371 GB, free: 2.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.3868, allocations: 15.91 kB / 1.371 GB, free: 1.992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003702/0.3872, allocations: 355.6 kB / 1.371 GB, free: 1.641 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3873, allocations: 322 kB / 1.371 GB, free: 1.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.3887, allocations: 1.373 MB / 1.373 GB, free: 15.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.3901, allocations: 1.499 MB / 1.374 GB, free: 14.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007281/0.3974, allocations: 3.564 MB / 1.378 GB, free: 10.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.3974, allocations: 4 kB / 1.378 GB, free: 10.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004701/0.4021, allocations: 4.019 MB / 1.382 GB, free: 6.723 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4022, allocations: 15.92 kB / 1.382 GB, free: 6.707 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.4022, allocations: 0 / 1.382 GB, free: 6.707 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4022, allocations: 0 / 1.382 GB, free: 6.707 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.4023, allocations: 15.94 kB / 1.382 GB, free: 6.691 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.4023, allocations: 7.984 kB / 1.382 GB, free: 6.684 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.4029, allocations: 237.4 kB / 1.382 GB, free: 6.449 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.403, allocations: 23.98 kB / 1.382 GB, free: 6.426 MB / 1.076 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.0003762/0.4033, allocations: 249.7 kB / 1.382 GB, free: 6.172 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.4034, allocations: 79.23 kB / 1.382 GB, free: 6.094 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.4037, allocations: 79.75 kB / 1.382 GB, free: 6.004 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.4037, allocations: 4 kB / 1.382 GB, free: 6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4037, allocations: 3.984 kB / 1.382 GB, free: 5.996 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4037, allocations: 7.922 kB / 1.382 GB, free: 5.988 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.4043, allocations: 0.5258 MB / 1.383 GB, free: 5.418 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4043, allocations: 3.938 kB / 1.383 GB, free: 5.414 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.4043, allocations: 4 kB / 1.383 GB, free: 5.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4043, allocations: 0 / 1.383 GB, free: 5.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.4044, allocations: 7.984 kB / 1.383 GB, free: 5.402 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4044, allocations: 0 / 1.383 GB, free: 5.402 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4044, allocations: 0 / 1.383 GB, free: 5.402 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.4054, allocations: 1.01 MB / 1.384 GB, free: 4.371 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.4056, allocations: 172.3 kB / 1.384 GB, free: 4.184 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.4056, allocations: 0 / 1.384 GB, free: 4.184 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.4058, allocations: 4 kB / 1.384 GB, free: 4.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.4058, allocations: 7.984 kB / 1.384 GB, free: 4.172 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.4058, allocations: 11.98 kB / 1.384 GB, free: 4.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008571/0.4067, allocations: 0.7261 MB / 1.385 GB, free: 3.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4067, allocations: 0 / 1.385 GB, free: 3.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001723/0.4084, allocations: 0.5923 MB / 1.385 GB, free: 2.836 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.003454/0.4119, allocations: 2.171 MB / 1.387 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.4141, allocations: 2.001 MB / 1.389 GB, free: 14.64 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4141, allocations: 0 / 1.389 GB, free: 14.64 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.4144, allocations: 331.8 kB / 1.39 GB, free: 14.31 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.4148, allocations: 56.84 kB / 1.39 GB, free: 14.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.4313, allocations: 15.29 MB / 1.405 GB, free: 14.78 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.432, allocations: 0.9879 MB / 1.406 GB, free: 13.77 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.4322, allocations: 49.33 kB / 1.406 GB, free: 13.71 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.4325, allocations: 294.2 kB / 1.406 GB, free: 13.43 MB / 1.107 GB Notification: Performance of SimCode: time 1.011e-06/0.4325, allocations: 4 kB / 1.406 GB, free: 13.43 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05809/0.4906, allocations: 24.37 MB / 1.43 GB, free: 5.258 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.83, allocations: 12.88 kB / 1.43 GB, free: 5.246 MB / 1.123 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv --start-time 0 --stop-time 1.8e+12 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.2e+08 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.380879978183657] Failed to read output from testmodel.py, exit status != 0: 10.919345041038468 10.941714048 10.569425849 Calling exit ...