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.001512/0.001512, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001727/0.001727, allocations: 220.2 kB / 23.03 MB, free: 4.941 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.797 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.612/2.612, allocations: 476.8 MB / 0.7715 GB, free: 3.91 MB / 0.6231 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.001941/0.001941, allocations: 64.64 kB / 1.118 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.28, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002553/0.2826, allocations: 1.436 MB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006131/0.2887, allocations: 3.846 MB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.2888, allocations: 3.938 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.2889, allocations: 15.86 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.2891, allocations: 31.78 kB / 1.289 GB, free: 5.281 MB / 0.9825 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.003932/0.293, allocations: 1.601 MB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.2932, allocations: 87.75 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.2932, allocations: 3.984 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.2933, allocations: 51.83 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.2935, allocations: 143.6 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.2936, allocations: 16 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003786/0.2974, allocations: 2.519 MB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.2976, allocations: 275.8 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.2978, allocations: 222.9 kB / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.3007, allocations: 2.135 MB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3007, allocations: 0 / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3007, allocations: 0 / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.3007, allocations: 0 / 1.296 GB, free: 14.23 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.008242/0.3089, allocations: 1.276 MB / 1.297 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.309, allocations: 12.03 kB / 1.297 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.318e-05/0.309, allocations: 8.188 kB / 1.298 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.309, allocations: 30.75 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.3094, allocations: 92.2 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.3098, allocations: 303.2 kB / 1.298 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3098, allocations: 8.312 kB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.3098, allocations: 12.36 kB / 1.298 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.3103, allocations: 391.1 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3103, allocations: 3.938 kB / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3103, allocations: 0 / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3103, allocations: 4 kB / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.3107, allocations: 435.7 kB / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.3113, allocations: 0.5972 MB / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.3118, allocations: 0.5595 MB / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.3121, allocations: 333.6 kB / 1.3 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006409/0.3127, allocations: 147.6 kB / 1.3 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004051/0.3132, allocations: 404.8 kB / 1.301 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3132, allocations: 0 / 1.301 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001339/0.3145, allocations: 1.289 MB / 1.302 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.3146, allocations: 89.05 kB / 1.302 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.3157, allocations: 1.215 MB / 1.303 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.3157, allocations: 29.7 kB / 1.303 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.3159, allocations: 269.9 kB / 1.304 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.316, allocations: 23.83 kB / 1.304 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.3163, allocations: 351.6 kB / 1.304 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3164, allocations: 314 kB / 1.304 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.3177, allocations: 1.377 MB / 1.306 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.319, allocations: 1.497 MB / 1.307 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007005/0.326, allocations: 3.557 MB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.326, allocations: 7.938 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004472/0.3305, allocations: 4.003 MB / 1.314 GB, free: 11.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3305, allocations: 8 kB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.3305, allocations: 7.969 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3306, allocations: 4 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3307, allocations: 19.94 kB / 1.314 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.3307, allocations: 0 / 1.314 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.3312, allocations: 241.3 kB / 1.315 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.3312, allocations: 19.98 kB / 1.315 GB, free: 10.98 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.000301/0.3315, allocations: 241.7 kB / 1.315 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.3316, allocations: 71.28 kB / 1.315 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.3326, allocations: 0.948 MB / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3326, allocations: 0 / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3326, allocations: 7.938 kB / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3326, allocations: 0 / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.3331, allocations: 471.9 kB / 1.316 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3331, allocations: 0 / 1.316 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/0.3331, allocations: 12.03 kB / 1.316 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3331, allocations: 0 / 1.316 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.3331, allocations: 15.92 kB / 1.316 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3332, allocations: 0 / 1.316 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3332, allocations: 0 / 1.316 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009418/0.3341, allocations: 1.006 MB / 1.317 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.3342, allocations: 79.28 kB / 1.317 GB, free: 8.066 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.3342, allocations: 11.98 kB / 1.317 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3344, allocations: 8 kB / 1.317 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.3344, allocations: 7.984 kB / 1.317 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.3344, allocations: 11.98 kB / 1.317 GB, free: 8.027 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000718/0.3352, allocations: 0.6728 MB / 1.318 GB, free: 7.348 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3352, allocations: 3.938 kB / 1.318 GB, free: 7.344 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001513/0.3367, allocations: 0.5845 MB / 1.319 GB, free: 6.758 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.003306/0.34, allocations: 2.154 MB / 1.321 GB, free: 4.594 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.3421, allocations: 1.997 MB / 1.323 GB, free: 2.582 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3421, allocations: 4 kB / 1.323 GB, free: 2.578 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.3424, allocations: 335.7 kB / 1.323 GB, free: 2.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3428, allocations: 34.33 kB / 1.323 GB, free: 2.215 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.3585, allocations: 15.29 MB / 1.338 GB, free: 2.746 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3589, allocations: 368.1 kB / 1.338 GB, free: 2.359 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001552/0.359, allocations: 36.47 kB / 1.338 GB, free: 2.324 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.3593, allocations: 263.3 kB / 1.339 GB, free: 2.066 MB / 1.029 GB Notification: Performance of SimCode: time 1.192e-06/0.3593, allocations: 0 / 1.339 GB, free: 2.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05442/0.4138, allocations: 24.82 MB / 1.363 GB, free: 9.512 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.59, allocations: 5.312 kB / 1.363 GB, free: 9.508 MB / 1.061 GB " [Timeout remaining time 286] (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: 20.590649666031823] Failed to read output from testmodel.py, exit status != 0: 14.206940338015556 13.772333568 13.468673845 Calling exit ...