Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|seg.port_a1.m_flow|seg.TBouCon.port.T|seg.soi.T.1.|seg.soi.T.2.|seg.soi.T.3.|seg.soi.T.4.|seg.soi.T.5.|seg.soi.T.6.|seg.soi.T.7.|seg.soi.T.8.|seg.soi.T.9.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|seg.port_a1.m_flow|seg.TBouCon.port.T|seg.soi.T.1.|seg.soi.T.2.|seg.soi.T.3.|seg.soi.T.4.|seg.soi.T.5.|seg.soi.T.6.|seg.soi.T.7.|seg.soi.T.8.|seg.soi.T.9.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 112.1 kB / 16.43 MB, free: 6.5 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.001063/0.001063, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.152/1.152, 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 9.1.3-maint.9.1.x/package.mo): time 1.892/1.892, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.062e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.038/0.03802, allocations: 49.21 MB / 0.9995 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0154/0.05345, allocations: 14 MB / 1.013 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.05483, allocations: 67.62 kB / 1.013 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.05648, allocations: 0.9125 MB / 1.014 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004493/0.06098, allocations: 2.627 MB / 1.017 GB, free: 4.668 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/Geothermal/Boreholes/BaseClasses/temperatureDrop.mo:2:1-109:20:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.temperatureDrop' contains a call to impure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues'. Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.06409, allocations: 1.706 MB / 1.018 GB, free: 2.977 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00472/0.06882, allocations: 5.071 MB / 1.023 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.0707, allocations: 1.649 MB / 1.025 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.07351, allocations: 1.873 MB / 1.027 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.07468, allocations: 1.288 MB / 1.028 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.07489, allocations: 204 kB / 1.028 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.07768, allocations: 2.04 MB / 1.03 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001936/0.07962, allocations: 3.147 MB / 1.033 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.000971/0.0806, allocations: 1.976 MB / 1.035 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.08092, allocations: 355.1 kB / 1.036 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0002939/0.08122, allocations: 51.81 kB / 1.036 GB, free: 1.227 MB / 0.8106 GB Error: Internal error NBackendDAE.lowerIfEquationBody failed for: