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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 109.9 kB / 16.43 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 188.2 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.146/1.146, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.172/2.172, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.587e-05, allocations: 2.281 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001851/0.001875, allocations: 1.456 MB / 1.056 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005196/0.007082, allocations: 4.191 MB / 1.06 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.007133, allocations: 0 / 1.06 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.901e-05/0.007229, allocations: 15.86 kB / 1.06 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.007433, allocations: 31.83 kB / 1.06 GB, free: 1.973 MB / 0.8262 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.0.1-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.003165/0.01061, allocations: 1.501 MB / 1.062 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.01075, allocations: 107.7 kB / 1.062 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.01079, allocations: 7.984 kB / 1.062 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.168e-05/0.01086, allocations: 47.84 kB / 1.062 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.01096, allocations: 51.77 kB / 1.062 GB, free: 268 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.01099, allocations: 4 kB / 1.062 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.01348, allocations: 2.157 MB / 1.064 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001061/0.0136, allocations: 138.6 kB / 1.064 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.51e-05/0.01365, allocations: 86.77 kB / 1.064 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.01369, allocations: 11.94 kB / 1.064 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.105e-06/0.0137, allocations: 0 / 1.064 GB, free: 13.86 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0004741/0.01418, allocations: 0.4889 MB / 1.065 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001123/0.0143, allocations: 67.77 kB / 1.065 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002979/0.0146, allocations: 301 kB / 1.065 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simplify1: time 3.024e-05/0.01464, allocations: 27.95 kB / 1.065 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002848/0.01493, allocations: 186.2 kB / 1.065 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simplify2: time 2.629e-05/0.01497, allocations: 27.89 kB / 1.065 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Events: time 0.0001028/0.01508, allocations: 59.88 kB / 1.065 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001475/0.01523, allocations: 125.7 kB / 1.066 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of Partitioning: time 7.893e-05/0.01532, allocations: 68.22 kB / 1.066 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002312/0.01556, allocations: 224.5 kB / 1.066 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001818/0.01575, allocations: 236.1 kB / 1.066 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003494/0.0161, allocations: 376.4 kB / 1.066 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.868e-05/0.01614, allocations: 36.08 kB / 1.066 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.867e-05/0.01616, allocations: 15.98 kB / 1.066 GB, free: 11.36 MB / 0.8419 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(1) {$FUN_5}, does not fit the equation size 76. Error: Internal error NBSlice.resolveDependency failed for: $FUN_5. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (76) lntts = {$FUN_5 for $i1 in 1:76} ($RES_SIM_6) Error: Internal error NBInitialization.main failed to apply modules!