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.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.001755/0.001755, allocations: 105.8 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.001887/0.001887, 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.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 476.7 MB / 0.7611 GB, free: 15.79 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001886/0.001886, allocations: 63.89 kB / 1.104 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 168.7 MB / 1.269 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002407/1.05, allocations: 1.441 MB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005908/1.056, allocations: 4.227 MB / 1.274 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/1.056, allocations: 1.094 kB / 1.274 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/1.056, allocations: 16.73 kB / 1.274 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002404/1.057, allocations: 34.12 kB / 1.274 GB, free: 3.883 MB / 0.9981 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 11.1.0-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.004378/1.061, allocations: 1.505 MB / 1.276 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/1.061, allocations: 92.19 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/1.061, allocations: 3 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/1.061, allocations: 51.48 kB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/1.062, allocations: 149.2 kB / 1.276 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/1.062, allocations: 14.03 kB / 1.276 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/1.066, allocations: 2.311 MB / 1.278 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/1.066, allocations: 269.5 kB / 1.279 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/1.066, allocations: 279.2 kB / 1.279 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004146/1.07, allocations: 2.121 MB / 1.281 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/1.07, allocations: 0 / 1.281 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.434e-06/1.07, allocations: 2.469 kB / 1.281 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.028e-05/1.07, allocations: 0.7031 kB / 1.281 GB, free: 1.66 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.008387/1.079, allocations: 1.346 MB / 1.282 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.079, allocations: 13.47 kB / 1.282 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/1.079, allocations: 33.31 kB / 1.282 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/1.079, allocations: 98.39 kB / 1.282 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/1.079, allocations: 356.2 kB / 1.283 GB, free: 300 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/1.079, allocations: 12.8 kB / 1.283 GB, free: 292 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/1.08, allocations: 5.312 kB / 1.283 GB, free: 292 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/1.08, allocations: 392.5 kB / 1.283 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.08, allocations: 0 / 1.283 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/1.08, allocations: 5.109 kB / 1.283 GB, free: 224 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.08, allocations: 1.312 kB / 1.283 GB, free: 224 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/1.081, allocations: 438.1 kB / 1.284 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/1.081, allocations: 0.6441 MB / 1.284 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/1.082, allocations: 0.5688 MB / 1.285 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/1.082, allocations: 331.8 kB / 1.285 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/1.083, allocations: 1.025 MB / 1.286 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/1.084, allocations: 404.1 kB / 1.287 GB, free: 14.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/1.084, allocations: 3.938 kB / 1.287 GB, free: 14.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.001506/1.085, allocations: 1.296 MB / 1.288 GB, free: 14.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/1.085, allocations: 89.73 kB / 1.288 GB, free: 14.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/1.087, allocations: 1.223 MB / 1.289 GB, free: 13.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/1.087, allocations: 27.83 kB / 1.289 GB, free: 13.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/1.088, allocations: 268.8 kB / 1.289 GB, free: 13.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/1.088, allocations: 25.25 kB / 1.289 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/1.088, allocations: 354.6 kB / 1.29 GB, free: 13.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.088, allocations: 313.2 kB / 1.29 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/1.09, allocations: 1.37 MB / 1.291 GB, free: 12.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/1.092, allocations: 1.508 MB / 1.293 GB, free: 12.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007952/1.1, allocations: 3.557 MB / 1.296 GB, free: 10.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.1, allocations: 0 / 1.296 GB, free: 10.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005124/1.105, allocations: 4.01 MB / 1.3 GB, free: 8.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.105, allocations: 6.125 kB / 1.3 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/1.105, allocations: 2.938 kB / 1.3 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.105, allocations: 1.094 kB / 1.3 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/1.105, allocations: 19.2 kB / 1.3 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.105, allocations: 1.844 kB / 1.3 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/1.106, allocations: 241.2 kB / 1.3 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/1.106, allocations: 26.27 kB / 1.3 GB, free: 8.117 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.0003683/1.106, allocations: 240.8 kB / 1.301 GB, free: 7.996 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/1.106, allocations: 77.66 kB / 1.301 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/1.106, allocations: 76.16 kB / 1.301 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.106, allocations: 1.094 kB / 1.301 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.106, allocations: 1.734 kB / 1.301 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/1.106, allocations: 1.812 kB / 1.301 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/1.107, allocations: 0.4909 MB / 1.301 GB, free: 7.598 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.107, allocations: 3.938 kB / 1.301 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/1.107, allocations: 15.78 kB / 1.301 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/1.107, allocations: 1.094 kB / 1.301 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/1.107, allocations: 8.344 kB / 1.301 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.107, allocations: 1.062 kB / 1.301 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.107, allocations: 0 / 1.301 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/1.108, allocations: 1.007 MB / 1.302 GB, free: 7.426 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/1.108, allocations: 162.3 kB / 1.303 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/1.109, allocations: 3.859 kB / 1.303 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.109, allocations: 4.141 kB / 1.303 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/1.109, allocations: 10.06 kB / 1.303 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/1.109, allocations: 16.94 kB / 1.303 GB, free: 7.262 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009825/1.11, allocations: 0.6743 MB / 1.303 GB, free: 7.031 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.11, allocations: 0 / 1.303 GB, free: 7.031 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00231/1.112, allocations: 0.5806 MB / 1.304 GB, free: 6.926 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.003912/1.116, allocations: 2.153 MB / 1.306 GB, free: 6.066 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002746/1.119, allocations: 1.995 MB / 1.308 GB, free: 5.523 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.119, allocations: 1.375 kB / 1.308 GB, free: 5.523 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004042/1.119, allocations: 335.5 kB / 1.308 GB, free: 5.516 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/1.119, allocations: 39.34 kB / 1.308 GB, free: 5.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/1.138, allocations: 15.28 MB / 1.323 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/1.139, allocations: 0.9654 MB / 1.324 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001607/1.139, allocations: 37.61 kB / 1.324 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/1.139, allocations: 264 kB / 1.324 GB, free: 13.66 MB / 1.029 GB Notification: Performance of SimCode: time 1.092e-06/1.139, allocations: 0 / 1.324 GB, free: 13.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06643/1.206, allocations: 23.97 MB / 1.348 GB, free: 4.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.66, allocations: 6.562 kB / 1.348 GB, free: 4.219 MB / 1.029 GB " [Timeout remaining time 288] (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: 17.873545871581882] Failed to read output from testmodel.py, exit status != 0: 11.742047869134694 11.755490953 10.682403595 Calling exit ...