Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001202/0.001202, allocations: 108 kB / 16.42 MB, free: 6.48 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.001258/0.001258, allocations: 190 kB / 17.36 MB, free: 5.703 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 290.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9982/0.9982, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/2.957e-05, allocations: 2.281 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003162/0.003204, allocations: 1.425 MB / 0.6835 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007397/0.01061, allocations: 4.196 MB / 0.6876 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.01075, allocations: 0 / 0.6876 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.0109, allocations: 15.86 kB / 0.6876 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.01124, allocations: 31.78 kB / 0.6876 GB, free: 1.297 MB / 494.1 MB [/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/BuildingSystems 2.0.0-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.3883/0.3995, allocations: 1.497 MB / 0.6891 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.3999, allocations: 105.6 kB / 0.6892 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.4, allocations: 10.25 kB / 0.6892 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.4001, allocations: 45.88 kB / 0.6893 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.4002, allocations: 50.09 kB / 0.6893 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.4002, allocations: 4.656 kB / 0.6893 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.4052, allocations: 2.153 MB / 0.6914 GB, free: 12.7 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002538/0.4055, allocations: 149.6 kB / 0.6915 GB, free: 12.64 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 7.916e-05/0.4056, allocations: 89.61 kB / 0.6916 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.4056, allocations: 12.09 kB / 0.6916 GB, free: 12.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.815e-05/0.4057, allocations: 2.484 kB / 0.6916 GB, free: 12.58 MB / 494.1 MB 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.0009383/0.4066, allocations: 0.4941 MB / 0.6921 GB, free: 12.26 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001834/0.4068, allocations: 72.39 kB / 0.6922 GB, free: 12.25 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0005861/0.4074, allocations: 299.7 kB / 0.6925 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simplify1: time 5.963e-05/0.4075, allocations: 31.91 kB / 0.6925 GB, free: 12.19 MB / 494.1 MB Notification: Performance of Alias: time 0.000462/0.408, allocations: 188.8 kB / 0.6927 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simplify2: time 5.197e-05/0.408, allocations: 27.94 kB / 0.6927 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Detect States: time 0.0002301/0.4083, allocations: 121.1 kB / 0.6928 GB, free: 12.03 MB / 494.1 MB Notification: Performance of Events: time 0.0001523/0.4084, allocations: 53.7 kB / 0.6929 GB, free: 12.02 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001224/0.4085, allocations: 74.44 kB / 0.693 GB, free: 11.98 MB / 494.1 MB Notification: Performance of Causalize: time 0.0004194/0.409, allocations: 221 kB / 0.6932 GB, free: 11.95 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003282/0.4093, allocations: 237.2 kB / 0.6934 GB, free: 11.89 MB / 494.1 MB Notification: Performance of Inline: time 0.0007992/0.4101, allocations: 427.2 kB / 0.6938 GB, free: 11.8 MB / 494.1 MB Notification: Performance of Partitioning: time 3.935e-05/0.4102, allocations: 25.28 kB / 0.6938 GB, free: 11.78 MB / 494.1 MB Notification: Performance of Cleanup: time 3.656e-05/0.4102, allocations: 18.83 kB / 0.6938 GB, free: 11.78 MB / 494.1 MB 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!