Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) 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: 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_11_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_11_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.0009947/0.0009948, allocations: 110.5 kB / 16.42 MB, free: 6.523 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.001007/0.001007, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.279/2.279, allocations: 469.8 MB / 0.7432 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.759e-05, allocations: 2.281 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.4797/0.4797, allocations: 49.21 MB / 1.114 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.4989, allocations: 14.01 MB / 1.128 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/0.5015, allocations: 68.34 kB / 1.128 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.5042, allocations: 0.9151 MB / 1.129 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00725/0.5115, allocations: 2.632 MB / 1.131 GB, free: 12.35 MB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.004555/0.516, allocations: 1.713 MB / 1.133 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006814/0.5228, allocations: 5.07 MB / 1.138 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.5252, allocations: 1.251 MB / 1.139 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.5296, allocations: 1.86 MB / 1.141 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.5323, allocations: 1.288 MB / 1.142 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006387/0.533, allocations: 201.2 kB / 1.142 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005242/0.5382, allocations: 2.048 MB / 1.144 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.004501/0.5427, allocations: 3.149 MB / 1.147 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 0.002051/0.5448, allocations: 1.978 MB / 1.149 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006785/0.5455, allocations: 356.2 kB / 1.15 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.000412/0.5459, allocations: 50.91 kB / 1.15 GB, free: 2.477 MB / 0.8731 GB Error: Internal error NBackendDAE.lowerIfEquationBody failed for: