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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 107.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 75.89 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.147, allocations: 173.9 MB / 1.304 GB, free: 32.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002383/1.149, allocations: 1.441 MB / 1.305 GB, free: 31.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005564/1.155, allocations: 4.228 MB / 1.31 GB, free: 28.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/1.155, allocations: 3.938 kB / 1.31 GB, free: 28.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/1.155, allocations: 10.69 kB / 1.31 GB, free: 28.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002465/1.155, allocations: 32.23 kB / 1.31 GB, free: 28.37 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 12.0.0-master/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.003969/1.159, allocations: 1.509 MB / 1.311 GB, free: 27.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/1.159, allocations: 91.55 kB / 1.311 GB, free: 27.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/1.159, allocations: 6.219 kB / 1.311 GB, free: 27.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/1.159, allocations: 48.88 kB / 1.311 GB, free: 27.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/1.159, allocations: 154.9 kB / 1.311 GB, free: 27.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/1.159, allocations: 11.41 kB / 1.311 GB, free: 27.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/1.162, allocations: 2.314 MB / 1.314 GB, free: 27.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/1.162, allocations: 270.9 kB / 1.314 GB, free: 26.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/1.163, allocations: 277.9 kB / 1.314 GB, free: 26.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/1.165, allocations: 2.119 MB / 1.316 GB, free: 26.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/1.165, allocations: 7.938 kB / 1.316 GB, free: 26.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.557e-06/1.165, allocations: 0 / 1.316 GB, free: 26.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.488e-05/1.165, allocations: 0 / 1.316 GB, free: 26.13 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.008481/1.174, allocations: 1.333 MB / 1.318 GB, free: 25.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.174, allocations: 8.094 kB / 1.318 GB, free: 25.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/1.174, allocations: 40.61 kB / 1.318 GB, free: 25.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/1.174, allocations: 98.88 kB / 1.318 GB, free: 25.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007229/1.175, allocations: 365.5 kB / 1.318 GB, free: 24.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.175, allocations: 3.281 kB / 1.318 GB, free: 24.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/1.175, allocations: 6.312 kB / 1.318 GB, free: 24.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/1.175, allocations: 396.1 kB / 1.318 GB, free: 24.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.175, allocations: 0 / 1.318 GB, free: 24.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/1.175, allocations: 5.703 kB / 1.318 GB, free: 24.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.175, allocations: 0 / 1.318 GB, free: 24.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/1.176, allocations: 435.1 kB / 1.319 GB, free: 24.69 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/1.176, allocations: 0.6375 MB / 1.319 GB, free: 24.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/1.177, allocations: 0.5593 MB / 1.32 GB, free: 24.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/1.177, allocations: 338 kB / 1.32 GB, free: 24.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008177/1.178, allocations: 1.025 MB / 1.321 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005614/1.178, allocations: 423.3 kB / 1.322 GB, free: 22.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/1.178, allocations: 1.125 kB / 1.322 GB, free: 22.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001974/1.18, allocations: 1.287 MB / 1.323 GB, free: 22.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/1.18, allocations: 83.86 kB / 1.323 GB, free: 22.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/1.182, allocations: 1.213 MB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/1.182, allocations: 35.48 kB / 1.324 GB, free: 22.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/1.182, allocations: 268.9 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/1.182, allocations: 26.58 kB / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000418/1.182, allocations: 350.8 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.139e-05/1.182, allocations: 315.6 kB / 1.325 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/1.184, allocations: 1.375 MB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/1.186, allocations: 1.506 MB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00714/1.193, allocations: 3.558 MB / 1.332 GB, free: 18.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.193, allocations: 3.938 kB / 1.332 GB, free: 18.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004955/1.198, allocations: 4.005 MB / 1.335 GB, free: 16.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.198, allocations: 10.66 kB / 1.335 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.198, allocations: 2.188 kB / 1.335 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/1.198, allocations: 4.859 kB / 1.335 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/1.198, allocations: 23.89 kB / 1.335 GB, free: 16.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/1.198, allocations: 1.062 kB / 1.335 GB, free: 16.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/1.199, allocations: 237.6 kB / 1.336 GB, free: 16.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/1.199, allocations: 23.09 kB / 1.336 GB, free: 16.6 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.0004273/1.199, allocations: 247.4 kB / 1.336 GB, free: 16.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/1.199, allocations: 74.05 kB / 1.336 GB, free: 16.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/1.199, allocations: 75.86 kB / 1.336 GB, free: 16.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.199, allocations: 1.5 kB / 1.336 GB, free: 16.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.199, allocations: 2.031 kB / 1.336 GB, free: 16.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.2, allocations: 0.5625 kB / 1.336 GB, free: 16.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/1.2, allocations: 0.4946 MB / 1.337 GB, free: 16.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.2, allocations: 9.406 kB / 1.337 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/1.2, allocations: 6.438 kB / 1.337 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.2, allocations: 2.141 kB / 1.337 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/1.2, allocations: 3.781 kB / 1.337 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.2, allocations: 1.219 kB / 1.337 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.2, allocations: 1 kB / 1.337 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.201, allocations: 1.005 MB / 1.338 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-05/1.201, allocations: 160.8 kB / 1.338 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/1.201, allocations: 2.297 kB / 1.338 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/1.201, allocations: 8.031 kB / 1.338 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/1.201, allocations: 6.938 kB / 1.338 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/1.201, allocations: 15.92 kB / 1.338 GB, free: 15.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007645/1.202, allocations: 0.6741 MB / 1.338 GB, free: 15.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.202, allocations: 4 kB / 1.338 GB, free: 15.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002065/1.204, allocations: 0.5893 MB / 1.339 GB, free: 15.41 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.003254/1.208, allocations: 2.151 MB / 1.341 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00251/1.21, allocations: 1.994 MB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.21, allocations: 0 / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/1.21, allocations: 335.1 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/1.211, allocations: 35.12 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/1.228, allocations: 15.29 MB / 1.358 GB, free: 7.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/1.228, allocations: 0.9648 MB / 1.359 GB, free: 6.375 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001484/1.228, allocations: 32.72 kB / 1.359 GB, free: 6.367 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/1.229, allocations: 268.3 kB / 1.36 GB, free: 6.145 MB / 1.061 GB Notification: Performance of SimCode: time 1.623e-06/1.229, allocations: 0 / 1.36 GB, free: 6.145 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07616/1.305, allocations: 23.97 MB / 1.383 GB, free: 2.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.76, allocations: 3.719 kB / 1.383 GB, free: 2.52 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.428030598908663] Failed to read output from testmodel.py, exit status != 0: 11.845142181031406 11.858801034 10.690590005 Calling exit ...