Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001375/0.001375, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001394/0.001394, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 443.5 MB / 0.7304 GB, free: 13.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.002086/0.002086, allocations: 67.91 kB / 1.059 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2775, allocations: 160.7 MB / 1.216 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002512/0.28, allocations: 1.448 MB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006546/0.2865, allocations: 4.263 MB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.2866, allocations: 0 / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.2867, allocations: 11.86 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.2869, allocations: 27.84 kB / 1.221 GB, free: 10.04 MB / 0.9669 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 10.1.1-maint.10.0.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.003715/0.2906, allocations: 1.515 MB / 1.223 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.2908, allocations: 91.73 kB / 1.223 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.2908, allocations: 0 / 1.223 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.2909, allocations: 55.77 kB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.2911, allocations: 147.6 kB / 1.223 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.2912, allocations: 12 kB / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.2944, allocations: 2.313 MB / 1.225 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.2946, allocations: 275.8 kB / 1.226 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.2949, allocations: 278.3 kB / 1.226 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.2977, allocations: 2.118 MB / 1.228 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2977, allocations: 3.984 kB / 1.228 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2977, allocations: 4 kB / 1.228 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2977, allocations: 4 kB / 1.228 GB, free: 3.223 MB / 0.9669 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.009693/0.3074, allocations: 1.336 MB / 1.229 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3074, allocations: 12.03 kB / 1.229 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.3075, allocations: 30.75 kB / 1.229 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.308, allocations: 92.25 kB / 1.229 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.3084, allocations: 372.9 kB / 1.23 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3084, allocations: 12.38 kB / 1.23 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.3084, allocations: 12.3 kB / 1.23 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.3089, allocations: 387.3 kB / 1.23 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3089, allocations: 0 / 1.23 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3089, allocations: 3.984 kB / 1.23 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3089, allocations: 0 / 1.23 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.3093, allocations: 439.7 kB / 1.23 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.31, allocations: 0.6411 MB / 1.231 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.3105, allocations: 0.5555 MB / 1.232 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.3109, allocations: 341.6 kB / 1.232 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.3122, allocations: 1.021 MB / 1.233 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.3126, allocations: 404.8 kB / 1.233 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.3126, allocations: 4 kB / 1.233 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001376/0.314, allocations: 1.297 MB / 1.235 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.314, allocations: 77.11 kB / 1.235 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.3153, allocations: 1.223 MB / 1.236 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.3154, allocations: 29.7 kB / 1.236 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.3156, allocations: 274 kB / 1.236 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3157, allocations: 19.86 kB / 1.236 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003459/0.316, allocations: 351.6 kB / 1.237 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3161, allocations: 314 kB / 1.237 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.3175, allocations: 1.377 MB / 1.238 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.3189, allocations: 1.505 MB / 1.24 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007009/0.3259, allocations: 3.564 MB / 1.243 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3259, allocations: 4 kB / 1.243 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00438/0.3303, allocations: 4.003 MB / 1.247 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3303, allocations: 7.984 kB / 1.247 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3303, allocations: 4 kB / 1.247 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3303, allocations: 4.031 kB / 1.247 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3305, allocations: 15.98 kB / 1.247 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3305, allocations: 0 / 1.247 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.3309, allocations: 245.3 kB / 1.247 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.331, allocations: 23.98 kB / 1.247 GB, free: 14.65 MB / 0.9981 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.000278/0.3312, allocations: 237.6 kB / 1.248 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.3313, allocations: 79.23 kB / 1.248 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009743/0.3323, allocations: 0.9399 MB / 1.249 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3323, allocations: 4 kB / 1.249 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3323, allocations: 0 / 1.249 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3323, allocations: 7.922 kB / 1.249 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.3327, allocations: 0.4892 MB / 1.249 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3327, allocations: 3.938 kB / 1.249 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.57e-05/0.3328, allocations: 4 kB / 1.249 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3328, allocations: 4.031 kB / 1.249 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3328, allocations: 7.984 kB / 1.249 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3328, allocations: 0 / 1.249 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3328, allocations: 0 / 1.249 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009421/0.3338, allocations: 1.002 MB / 1.25 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3339, allocations: 164.4 kB / 1.25 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.3339, allocations: 8 kB / 1.25 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3341, allocations: 7.984 kB / 1.25 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.3341, allocations: 3.984 kB / 1.25 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.3341, allocations: 11.98 kB / 1.25 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007262/0.3349, allocations: 0.6766 MB / 1.251 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3349, allocations: 0 / 1.251 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001323/0.3362, allocations: 0.5845 MB / 1.251 GB, free: 10.3 MB / 0.9981 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.003054/0.3392, allocations: 2.164 MB / 1.254 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.3412, allocations: 1.997 MB / 1.256 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3412, allocations: 4 kB / 1.256 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.3416, allocations: 327.8 kB / 1.256 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3418, allocations: 38.17 kB / 1.256 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4864/0.8282, allocations: 15.28 MB / 1.271 GB, free: 46.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.8287, allocations: 0.964 MB / 1.272 GB, free: 45.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.8288, allocations: 34.02 kB / 1.272 GB, free: 45.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.829, allocations: 262.4 kB / 1.272 GB, free: 45.63 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/0.829, allocations: 1.25 kB / 1.272 GB, free: 45.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05546/0.8845, allocations: 23.9 MB / 1.295 GB, free: 42.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.225/10.11, allocations: 10.53 kB / 1.295 GB, free: 42.98 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.409012274998531]