Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001134/0.001134, allocations: 107.1 kB / 16.41 MB, free: 5.926 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.001079/0.001079, allocations: 190.4 kB / 17.35 MB, free: 5.555 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.173/1.173, allocations: 222.9 MB / 241 MB, free: 15.17 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.146/2.146, allocations: 437 MB / 0.7111 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.81e-05, allocations: 2.281 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.04438/0.04441, allocations: 49.22 MB / 1.067 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.4382/0.4826, allocations: 13.99 MB / 1.081 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.4848, allocations: 65.97 kB / 1.081 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.4867, allocations: 0.9152 MB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.4924, allocations: 2.613 MB / 1.084 GB, free: 11.68 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.003732/0.4962, allocations: 1.708 MB / 1.086 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00627/0.5025, allocations: 5.082 MB / 1.091 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.5049, allocations: 1.644 MB / 1.093 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004007/0.5089, allocations: 1.876 MB / 1.094 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.5114, allocations: 1.282 MB / 1.096 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006344/0.512, allocations: 200.6 kB / 1.096 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00486/0.5169, allocations: 2.043 MB / 1.098 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.003506/0.5204, allocations: 3.149 MB / 1.101 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0009817/0.5214, allocations: 1.977 MB / 1.103 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.522, allocations: 357.8 kB / 1.103 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0003936/0.5224, allocations: 49.06 kB / 1.103 GB, free: 8.02 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerIfEquationBody failed for: