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.001258/0.001258, allocations: 109.5 kB / 19.72 MB, free: 2.082 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.001407/0.001407, allocations: 216.7 kB / 23.04 MB, free: 4.914 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.573/2.573, allocations: 476.7 MB / 0.7715 GB, free: 4.297 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.001913/0.001913, allocations: 63.06 kB / 1.118 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2959, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002419/0.2984, allocations: 1.467 MB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006295/0.3047, allocations: 4.286 MB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.3047, allocations: 4 kB / 1.29 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.3048, allocations: 11.86 kB / 1.29 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.305, allocations: 27.84 kB / 1.29 GB, free: 5.891 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.003771/0.3088, allocations: 1.619 MB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.309, allocations: 83.75 kB / 1.292 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.309, allocations: 8 kB / 1.292 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.3091, allocations: 55.75 kB / 1.292 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.3093, allocations: 147.6 kB / 1.292 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.3093, allocations: 16 kB / 1.292 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/0.3132, allocations: 2.628 MB / 1.294 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.3134, allocations: 267.8 kB / 1.295 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.3136, allocations: 282.3 kB / 1.295 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.3165, allocations: 2.151 MB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3165, allocations: 0 / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3165, allocations: 4 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3166, allocations: 3.938 kB / 1.297 GB, free: 14.63 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.01014/0.3267, allocations: 1.268 MB / 1.298 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3267, allocations: 8.031 kB / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.843e-05/0.3268, allocations: 4.188 kB / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.3268, allocations: 34.73 kB / 1.298 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003748/0.3272, allocations: 100.2 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.3276, allocations: 307.1 kB / 1.299 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3276, allocations: 8.375 kB / 1.299 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.3276, allocations: 4.375 kB / 1.299 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.3281, allocations: 391.1 kB / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3281, allocations: 4 kB / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3281, allocations: 0 / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3281, allocations: 4 kB / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.3285, allocations: 439.7 kB / 1.299 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.3291, allocations: 0.6127 MB / 1.3 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.3296, allocations: 0.5671 MB / 1.301 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.3299, allocations: 337.7 kB / 1.301 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006444/0.3306, allocations: 131.8 kB / 1.301 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/0.331, allocations: 408.9 kB / 1.301 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.331, allocations: 0 / 1.301 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001362/0.3324, allocations: 1.289 MB / 1.303 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.3324, allocations: 85.09 kB / 1.303 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.3336, allocations: 1.219 MB / 1.304 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.3336, allocations: 33.64 kB / 1.304 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3338, allocations: 269.9 kB / 1.304 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3339, allocations: 19.84 kB / 1.304 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.3342, allocations: 355.6 kB / 1.305 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3343, allocations: 310 kB / 1.305 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.3356, allocations: 1.373 MB / 1.306 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.337, allocations: 1.501 MB / 1.308 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006933/0.3439, allocations: 3.557 MB / 1.311 GB, free: 15.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3439, allocations: 3.938 kB / 1.311 GB, free: 15.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004395/0.3483, allocations: 4.019 MB / 1.315 GB, free: 11.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.3484, allocations: 13.86 kB / 1.315 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.3484, allocations: 0 / 1.315 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3484, allocations: 4 kB / 1.315 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3485, allocations: 12 kB / 1.315 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3485, allocations: 7.922 kB / 1.315 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.349, allocations: 233.4 kB / 1.315 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.3491, allocations: 31.97 kB / 1.315 GB, free: 11.36 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.000298/0.3494, allocations: 242.6 kB / 1.316 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.3494, allocations: 71.28 kB / 1.316 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009891/0.3504, allocations: 0.936 MB / 1.317 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.3504, allocations: 0 / 1.317 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3504, allocations: 4 kB / 1.317 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3504, allocations: 3.984 kB / 1.317 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.3509, allocations: 479.9 kB / 1.317 GB, free: 9.578 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3509, allocations: 8.031 kB / 1.317 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.3509, allocations: 4 kB / 1.317 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3509, allocations: 0 / 1.317 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.351, allocations: 7.984 kB / 1.317 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.351, allocations: 0 / 1.317 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.351, allocations: 0 / 1.317 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.3519, allocations: 1.006 MB / 1.318 GB, free: 8.531 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.352, allocations: 79.34 kB / 1.318 GB, free: 8.453 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.3521, allocations: 7.984 kB / 1.318 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3522, allocations: 4 kB / 1.318 GB, free: 8.441 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3522, allocations: 7.984 kB / 1.318 GB, free: 8.434 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.3523, allocations: 11.98 kB / 1.318 GB, free: 8.422 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007066/0.353, allocations: 0.6728 MB / 1.319 GB, free: 7.742 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.353, allocations: 7.938 kB / 1.319 GB, free: 7.734 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001491/0.3545, allocations: 0.5922 MB / 1.319 GB, free: 7.141 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.003059/0.3575, allocations: 2.145 MB / 1.322 GB, free: 4.977 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.3595, allocations: 1.996 MB / 1.323 GB, free: 2.969 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3595, allocations: 4 kB / 1.323 GB, free: 2.965 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.3598, allocations: 339.7 kB / 1.324 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.3602, allocations: 32.73 kB / 1.324 GB, free: 2.598 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.3754, allocations: 15.29 MB / 1.339 GB, free: 3.133 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.376, allocations: 0.964 MB / 1.34 GB, free: 2.141 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.3761, allocations: 36.47 kB / 1.34 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.3764, allocations: 267.3 kB / 1.34 GB, free: 1.844 MB / 1.029 GB Notification: Performance of SimCode: time 9.22e-07/0.3764, allocations: 4 kB / 1.34 GB, free: 1.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05029/0.4267, allocations: 24.14 MB / 1.364 GB, free: 9.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.38, allocations: 12.41 kB / 1.364 GB, free: 9.879 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.30802502197912] Failed to read output from testmodel.py, exit status != 0: 13.953723469981924 13.562923897 13.24295859 Calling exit ...