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_SmallScaleValidation.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.001467/0.001467, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.00145/0.00145, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.373/1.373, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 178] 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.466/2.466, allocations: 443.5 MB / 0.7304 GB, free: 13.99 MB / 0.5763 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_SmallScaleValidation,fileNamePrefix="Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 71.88 kB / 1.059 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2728, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003169/0.276, allocations: 1.782 MB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008117/0.2841, allocations: 5.453 MB / 1.223 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.2843, allocations: 0 / 1.223 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.2854, allocations: 378.3 kB / 1.223 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.2855, allocations: 59.67 kB / 1.223 GB, free: 8.203 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.003747/0.2893, allocations: 1.508 MB / 1.225 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.2896, allocations: 155.4 kB / 1.225 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.031e-05/0.2896, allocations: 21.45 kB / 1.225 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.2897, allocations: 55.78 kB / 1.225 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.2899, allocations: 171.4 kB / 1.225 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.29, allocations: 16 kB / 1.225 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/0.2935, allocations: 2.317 MB / 1.227 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.2937, allocations: 279.8 kB / 1.228 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.294, allocations: 298.2 kB / 1.228 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.2971, allocations: 2.196 MB / 1.23 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2971, allocations: 0 / 1.23 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2971, allocations: 0 / 1.23 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.2972, allocations: 0 / 1.23 GB, free: 1.188 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.009889/0.3071, allocations: 1.422 MB / 1.231 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3071, allocations: 8.031 kB / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.3071, allocations: 38.73 kB / 1.231 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.3075, allocations: 100.2 kB / 1.231 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/0.3081, allocations: 406.4 kB / 1.232 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.3081, allocations: 4.375 kB / 1.232 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.3082, allocations: 16.31 kB / 1.232 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.3086, allocations: 395.2 kB / 1.232 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3086, allocations: 0 / 1.232 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3086, allocations: 0 / 1.232 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3086, allocations: 0 / 1.232 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.3091, allocations: 435.7 kB / 1.233 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.3098, allocations: 0.6737 MB / 1.233 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.3103, allocations: 0.5632 MB / 1.234 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.3106, allocations: 333.7 kB / 1.234 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.3117, allocations: 1.028 MB / 1.235 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/0.3121, allocations: 408.8 kB / 1.236 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.3121, allocations: 0 / 1.236 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001347/0.3134, allocations: 1.305 MB / 1.237 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.3135, allocations: 81.11 kB / 1.237 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.3147, allocations: 1.29 MB / 1.238 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.3148, allocations: 37.69 kB / 1.238 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.315, allocations: 289.9 kB / 1.239 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.315, allocations: 19.97 kB / 1.239 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.3154, allocations: 359.6 kB / 1.239 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3155, allocations: 318 kB / 1.239 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.3168, allocations: 1.369 MB / 1.241 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.3182, allocations: 1.505 MB / 1.242 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006916/0.3251, allocations: 3.56 MB / 1.245 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3251, allocations: 0 / 1.245 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004558/0.3296, allocations: 4.019 MB / 1.249 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3297, allocations: 4 kB / 1.249 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.3297, allocations: 4 kB / 1.249 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3297, allocations: 0 / 1.249 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3298, allocations: 23.95 kB / 1.249 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3298, allocations: 3.938 kB / 1.249 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.3303, allocations: 241.3 kB / 1.25 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.3304, allocations: 23.98 kB / 1.25 GB, free: 12.34 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.000317/0.3307, allocations: 244.3 kB / 1.25 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.3308, allocations: 83.23 kB / 1.25 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3318, allocations: 0.9562 MB / 1.251 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3318, allocations: 0 / 1.251 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3318, allocations: 7.984 kB / 1.251 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3318, allocations: 4 kB / 1.251 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.3323, allocations: 0.5101 MB / 1.251 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3323, allocations: 3.938 kB / 1.251 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.3323, allocations: 11.94 kB / 1.251 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3323, allocations: 0 / 1.251 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3324, allocations: 12.02 kB / 1.251 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3324, allocations: 0 / 1.251 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3324, allocations: 0 / 1.251 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3334, allocations: 1.01 MB / 1.252 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.3335, allocations: 176.3 kB / 1.253 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.3336, allocations: 0 / 1.253 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3337, allocations: 8 kB / 1.253 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3338, allocations: 7.984 kB / 1.253 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.3338, allocations: 11.92 kB / 1.253 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008199/0.3346, allocations: 0.7261 MB / 1.253 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3346, allocations: 0 / 1.253 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001405/0.336, allocations: 0.5884 MB / 1.254 GB, free: 7.879 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.003167/0.3392, allocations: 2.158 MB / 1.256 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.3413, allocations: 2.006 MB / 1.258 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3413, allocations: 3.938 kB / 1.258 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.3416, allocations: 339.7 kB / 1.258 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.342, allocations: 59.3 kB / 1.258 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4807/0.8227, allocations: 15.29 MB / 1.273 GB, free: 45.28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.8232, allocations: 0.9853 MB / 1.274 GB, free: 44.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.8234, allocations: 40.52 kB / 1.274 GB, free: 44.58 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.8236, allocations: 288 kB / 1.275 GB, free: 44.34 MB / 0.9981 GB Notification: Performance of SimCode: time 1.433e-06/0.8236, allocations: 0 / 1.275 GB, free: 44.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05703/0.8806, allocations: 24.16 MB / 1.298 GB, free: 41.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.495/10.38, allocations: 10.67 kB / 1.298 GB, free: 41.24 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.851466306005022]