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.001855/0.001855, allocations: 101.6 kB / 16.45 MB, free: 6.504 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.002234/0.002234, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.422/1.422, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.046/3.046, allocations: 0.505 GB / 0.8066 GB, free: 23.1 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="me",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="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.001998/0.001998, allocations: 80.06 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3662, allocations: 180.2 MB / 1.348 GB, free: 9.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002729/0.3689, allocations: 1.451 MB / 1.349 GB, free: 8.535 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006978/0.3759, allocations: 4.254 MB / 1.353 GB, free: 4.262 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.3759, allocations: 3.938 kB / 1.353 GB, free: 4.258 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.3761, allocations: 15.86 kB / 1.353 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.3763, allocations: 31.83 kB / 1.353 GB, free: 4.211 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.004194/0.3805, allocations: 1.513 MB / 1.355 GB, free: 2.699 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.3807, allocations: 99.66 kB / 1.355 GB, free: 2.602 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.3808, allocations: 0 / 1.355 GB, free: 2.602 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.3808, allocations: 51.83 kB / 1.355 GB, free: 2.551 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.3811, allocations: 151.6 kB / 1.355 GB, free: 2.402 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.3811, allocations: 16 kB / 1.355 GB, free: 2.387 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.3847, allocations: 2.34 MB / 1.358 GB, free: 44 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.385, allocations: 263.9 kB / 1.358 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.3853, allocations: 286.2 kB / 1.358 GB, free: 15.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.3884, allocations: 2.122 MB / 1.36 GB, free: 13.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3884, allocations: 8 kB / 1.36 GB, free: 13.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3884, allocations: 0 / 1.36 GB, free: 13.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3884, allocations: 0 / 1.36 GB, free: 13.37 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.01077/0.3991, allocations: 1.345 MB / 1.361 GB, free: 11.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3992, allocations: 16.02 kB / 1.361 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.3992, allocations: 34.75 kB / 1.361 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003991/0.3996, allocations: 88.25 kB / 1.362 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.4001, allocations: 361.1 kB / 1.362 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.4001, allocations: 20.23 kB / 1.362 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.4002, allocations: 8.375 kB / 1.362 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.4007, allocations: 395.2 kB / 1.362 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4007, allocations: 0 / 1.362 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4007, allocations: 0 / 1.362 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4007, allocations: 0 / 1.362 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.4012, allocations: 439.7 kB / 1.363 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007796/0.402, allocations: 0.641 MB / 1.363 GB, free: 9.875 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.4026, allocations: 0.5594 MB / 1.364 GB, free: 9.297 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.403, allocations: 333.7 kB / 1.364 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.4043, allocations: 1.032 MB / 1.365 GB, free: 7.711 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004842/0.4048, allocations: 404.8 kB / 1.366 GB, free: 7.297 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.4048, allocations: 0 / 1.366 GB, free: 7.297 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001618/0.4064, allocations: 1.297 MB / 1.367 GB, free: 5.992 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.4065, allocations: 85.11 kB / 1.367 GB, free: 5.891 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.4079, allocations: 1.215 MB / 1.368 GB, free: 4.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.4079, allocations: 33.7 kB / 1.368 GB, free: 4.621 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.4082, allocations: 261.9 kB / 1.368 GB, free: 4.359 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.4083, allocations: 31.91 kB / 1.368 GB, free: 4.328 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.4087, allocations: 355.6 kB / 1.369 GB, free: 3.977 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4088, allocations: 310 kB / 1.369 GB, free: 3.668 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.4103, allocations: 1.377 MB / 1.37 GB, free: 2.289 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.4122, allocations: 1.501 MB / 1.372 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007455/0.4197, allocations: 3.56 MB / 1.375 GB, free: 13.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.4197, allocations: 0 / 1.375 GB, free: 13.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00503/0.4247, allocations: 4.007 MB / 1.379 GB, free: 9.082 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4248, allocations: 6.5 kB / 1.379 GB, free: 9.078 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.4248, allocations: 4 kB / 1.379 GB, free: 9.074 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.4248, allocations: 4.016 kB / 1.379 GB, free: 9.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.4249, allocations: 19.94 kB / 1.379 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4249, allocations: 0 / 1.379 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.4255, allocations: 245.3 kB / 1.38 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.4255, allocations: 23.98 kB / 1.38 GB, free: 8.785 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.0003882/0.4259, allocations: 237.6 kB / 1.38 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.426, allocations: 75.28 kB / 1.38 GB, free: 8.469 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.4263, allocations: 79.05 kB / 1.38 GB, free: 8.379 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.4263, allocations: 4 kB / 1.38 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.4263, allocations: 0 / 1.38 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4264, allocations: 0 / 1.38 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008027/0.4272, allocations: 0.4891 MB / 1.38 GB, free: 7.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4272, allocations: 7.938 kB / 1.38 GB, free: 7.832 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.4273, allocations: 11.92 kB / 1.38 GB, free: 7.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4273, allocations: 0 / 1.38 GB, free: 7.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.4273, allocations: 12.03 kB / 1.38 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4273, allocations: 0 / 1.38 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4273, allocations: 3.938 kB / 1.38 GB, free: 7.805 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4283, allocations: 0.998 MB / 1.381 GB, free: 6.785 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.4285, allocations: 160.3 kB / 1.382 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.4285, allocations: 8 kB / 1.382 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4287, allocations: 3.984 kB / 1.382 GB, free: 6.598 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.4287, allocations: 8 kB / 1.382 GB, free: 6.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.4287, allocations: 15.97 kB / 1.382 GB, free: 6.574 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008122/0.4296, allocations: 0.6689 MB / 1.382 GB, free: 5.898 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4296, allocations: 0 / 1.382 GB, free: 5.898 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001638/0.4312, allocations: 0.5884 MB / 1.383 GB, free: 5.309 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.003596/0.4348, allocations: 2.162 MB / 1.385 GB, free: 3.129 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002628/0.4374, allocations: 1.997 MB / 1.387 GB, free: 1.117 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.4374, allocations: 0 / 1.387 GB, free: 1.117 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.4378, allocations: 339.8 kB / 1.387 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4381, allocations: 34.62 kB / 1.387 GB, free: 0.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/0.4551, allocations: 15.27 MB / 1.402 GB, free: 1.297 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007437/0.4558, allocations: 0.964 MB / 1.403 GB, free: 312 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.456, allocations: 40.52 kB / 1.403 GB, free: 272 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.4563, allocations: 267.3 kB / 1.403 GB, free: 4 kB / 1.092 GB Notification: Performance of SimCode: time 9.62e-07/0.4563, allocations: 0 / 1.403 GB, free: 4 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06176/0.5181, allocations: 24.1 MB / 1.427 GB, free: 8.09 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.8, allocations: 9.438 kB / 1.427 GB, free: 8.086 MB / 1.123 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 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: 17.339365173131227] Failed to read output from testmodel.py, exit status != 0: 10.887409930117428 10.908705536 10.516257775 Calling exit ...