Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001397/0.001397, allocations: 107.3 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.001514/0.001514, 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.397/1.397, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.046/3.046, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002046/0.002046, allocations: 72.48 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3441, allocations: 176.1 MB / 1.321 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003342/0.3475, allocations: 1.777 MB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00805/0.3555, allocations: 5.464 MB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.3557, allocations: 3.938 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.3569, allocations: 378.4 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.357, allocations: 55.67 kB / 1.328 GB, free: 11.56 MB / 1.029 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.004021/0.3611, allocations: 1.519 MB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.3614, allocations: 159.3 kB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.3614, allocations: 13.56 kB / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3615, allocations: 51.78 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.3618, allocations: 179.4 kB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.3618, allocations: 16 kB / 1.33 GB, free: 9.629 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.3659, allocations: 2.34 MB / 1.333 GB, free: 7.285 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.3662, allocations: 279.8 kB / 1.333 GB, free: 7.008 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.3665, allocations: 310.1 kB / 1.333 GB, free: 6.703 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.3705, allocations: 2.208 MB / 1.335 GB, free: 4.488 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3705, allocations: 0 / 1.335 GB, free: 4.488 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3705, allocations: 0 / 1.335 GB, free: 4.488 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.135e-05/0.3705, allocations: 0 / 1.335 GB, free: 4.488 MB / 1.029 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.01092/0.3814, allocations: 1.418 MB / 1.337 GB, free: 3.016 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.3815, allocations: 8.031 kB / 1.337 GB, free: 3.008 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.875e-05/0.3815, allocations: 34.75 kB / 1.337 GB, free: 2.965 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004802/0.382, allocations: 104.2 kB / 1.337 GB, free: 2.863 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006879/0.3827, allocations: 402.4 kB / 1.337 GB, free: 2.422 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.3827, allocations: 20.34 kB / 1.337 GB, free: 2.402 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.3828, allocations: 4.375 kB / 1.337 GB, free: 2.398 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.3833, allocations: 395.2 kB / 1.338 GB, free: 2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.3833, allocations: 0 / 1.338 GB, free: 2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3833, allocations: 0 / 1.338 GB, free: 2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3833, allocations: 0 / 1.338 GB, free: 2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.3838, allocations: 439.7 kB / 1.338 GB, free: 1.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.3846, allocations: 0.6776 MB / 1.339 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.3851, allocations: 0.5555 MB / 1.339 GB, free: 276 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.3855, allocations: 329.7 kB / 1.34 GB, free: 15.94 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.3866, allocations: 1.036 MB / 1.341 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.3871, allocations: 408.8 kB / 1.341 GB, free: 14.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.3871, allocations: 4 kB / 1.341 GB, free: 14.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001518/0.3886, allocations: 1.297 MB / 1.342 GB, free: 12.96 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.3886, allocations: 85.11 kB / 1.342 GB, free: 12.86 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.3902, allocations: 1.294 MB / 1.344 GB, free: 11.55 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.3902, allocations: 33.7 kB / 1.344 GB, free: 11.51 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.3905, allocations: 294 kB / 1.344 GB, free: 11.22 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.3906, allocations: 27.78 kB / 1.344 GB, free: 11.19 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.391, allocations: 351.6 kB / 1.344 GB, free: 10.84 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3911, allocations: 318 kB / 1.345 GB, free: 10.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.3926, allocations: 1.369 MB / 1.346 GB, free: 9.156 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.3942, allocations: 1.505 MB / 1.347 GB, free: 7.641 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007768/0.402, allocations: 3.56 MB / 1.351 GB, free: 3.988 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.402, allocations: 0 / 1.351 GB, free: 3.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005132/0.4071, allocations: 4.023 MB / 1.355 GB, free: 15.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.4071, allocations: 4 kB / 1.355 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.4071, allocations: 4 kB / 1.355 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4072, allocations: 4.031 kB / 1.355 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.4073, allocations: 15.98 kB / 1.355 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4073, allocations: 0 / 1.355 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.4079, allocations: 241.4 kB / 1.355 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.408, allocations: 31.92 kB / 1.355 GB, free: 15.63 MB / 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.0003981/0.4084, allocations: 246.4 kB / 1.355 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.4085, allocations: 83.22 kB / 1.355 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.4088, allocations: 83.81 kB / 1.355 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4088, allocations: 0 / 1.355 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4088, allocations: 0 / 1.355 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4088, allocations: 0 / 1.355 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.4094, allocations: 0.5141 MB / 1.356 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.4095, allocations: 3.938 kB / 1.356 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.087e-05/0.4095, allocations: 8 kB / 1.356 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4095, allocations: 4.031 kB / 1.356 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.4096, allocations: 7.984 kB / 1.356 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.4096, allocations: 7.938 kB / 1.356 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4096, allocations: 0 / 1.356 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.4107, allocations: 1.002 MB / 1.357 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4109, allocations: 176.3 kB / 1.357 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.411, allocations: 4 kB / 1.357 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.4111, allocations: 4 kB / 1.357 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.4112, allocations: 7.984 kB / 1.357 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.4112, allocations: 11.98 kB / 1.357 GB, free: 13.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009609/0.4122, allocations: 0.7261 MB / 1.358 GB, free: 12.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4122, allocations: 0 / 1.358 GB, free: 12.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001746/0.4139, allocations: 0.5923 MB / 1.358 GB, free: 12.05 MB / 1.061 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.004137/0.4181, allocations: 2.17 MB / 1.361 GB, free: 9.871 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002577/0.4206, allocations: 2.001 MB / 1.362 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4206, allocations: 0 / 1.362 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.421, allocations: 339.8 kB / 1.363 GB, free: 7.523 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.4216, allocations: 57.45 kB / 1.363 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/0.4406, allocations: 15.29 MB / 1.378 GB, free: 7.988 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007845/0.4413, allocations: 0.9879 MB / 1.379 GB, free: 6.973 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.4415, allocations: 41.39 kB / 1.379 GB, free: 6.934 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/0.4419, allocations: 292.9 kB / 1.379 GB, free: 6.648 MB / 1.076 GB Notification: Performance of SimCode: time 8.31e-07/0.4419, allocations: 0 / 1.379 GB, free: 6.648 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06516/0.5071, allocations: 24.38 MB / 1.403 GB, free: 14.49 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.05, allocations: 7.188 kB / 1.403 GB, free: 14.49 MB / 1.107 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.517163885058835] Failed to read output from testmodel.py, exit status != 0: 11.144079429097474 11.168157826 10.793126552 Calling exit ...