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_100boreholes.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 111.9 kB / 16.43 MB, free: 6.469 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.001203/0.001203, allocations: 185.9 kB / 17.36 MB, free: 5.723 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.163/1.163, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.107/2.107, allocations: 437 MB / 0.7111 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.067e-05, allocations: 4.25 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001967/0.001995, allocations: 1.437 MB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005422/0.007428, allocations: 4.202 MB / 1.025 GB, free: 3.738 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.007487, allocations: 7.938 kB / 1.025 GB, free: 3.73 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.397e-05/0.007586, allocations: 11.92 kB / 1.025 GB, free: 3.719 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.00778, allocations: 31.78 kB / 1.025 GB, free: 3.688 MB / 0.795 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.003276/0.01108, allocations: 1.498 MB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.01122, allocations: 107.7 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.01127, allocations: 11.97 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.69e-05/0.01134, allocations: 39.84 kB / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.01144, allocations: 47.83 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.01146, allocations: 4 kB / 1.026 GB, free: 1.98 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.01397, allocations: 2.161 MB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.0001197/0.0141, allocations: 150.5 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 4.924e-05/0.01416, allocations: 86.77 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.0142, allocations: 15.94 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.097e-05/0.01422, allocations: 7.984 kB / 1.029 GB, free: 15.56 MB / 0.8106 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.0004918/0.01472, allocations: 0.4928 MB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.0001161/0.01484, allocations: 78.27 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.0003083/0.01515, allocations: 288 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of simplify1: time 2.816e-05/0.01519, allocations: 23.97 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of Alias: time 0.0003018/0.0155, allocations: 198.1 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of simplify2: time 2.51e-05/0.01553, allocations: 23.95 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of Detect States: time 0.0002789/0.01582, allocations: 122.8 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of Events: time 0.0001149/0.01594, allocations: 63.81 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of Partitioning: time 8.132e-05/0.01603, allocations: 64.23 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of Causalize: time 0.0002482/0.01628, allocations: 216.1 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of After Index Reduction Inline: time 0.0001997/0.01649, allocations: 240.2 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of Inline: time 0.0004469/0.01694, allocations: 437 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of Partitioning: time 2.742e-05/0.01698, allocations: 24.11 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of Cleanup: time 2.458e-05/0.01701, allocations: 23.91 kB / 1.031 GB, free: 13.01 MB / 0.8106 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!