Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 108.1 kB / 16.38 MB, free: 6.43 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.001229/0.001229, allocations: 186.5 kB / 17.31 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.791/1.791, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.116e-05, allocations: 5.797 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.00303/0.003078, allocations: 1.675 MB / 0.6745 GB, free: 4.176 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5843/0.5874, allocations: 147.3 MB / 0.8183 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.5876, allocations: 3.891 kB / 0.8183 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.895e-05/0.5876, allocations: 5.953 kB / 0.8183 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.691e-05/0.5877, allocations: 20.73 kB / 0.8184 GB, free: 44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.5888, allocations: 237.8 kB / 0.8186 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.589, allocations: 100 kB / 0.8187 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.5891, allocations: 25.97 kB / 0.8187 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.814e-05/0.5892, allocations: 37.03 kB / 0.8188 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.5893, allocations: 47.61 kB / 0.8188 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.5894, allocations: 8.312 kB / 0.8188 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005275/0.5899, allocations: 234.6 kB / 0.819 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0001582/0.5901, allocations: 149.1 kB / 0.8192 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 6.161e-05/0.5901, allocations: 81.72 kB / 0.8192 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.5902, allocations: 12.67 kB / 0.8193 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.075e-05/0.5902, allocations: 3.141 kB / 0.8193 GB, free: 43.84 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 (13) * Number of variables: 15 (15) Notification: Performance of Bindings: time 0.0005316/0.5907, allocations: 499.1 kB / 0.8197 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 2.178e-05/0.5908, allocations: 18.67 kB / 0.8198 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.0005486/0.5913, allocations: 469.6 kB / 0.8202 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of simplify1: time 1.765e-05/0.5913, allocations: 13.5 kB / 0.8202 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of Alias: time 0.0005545/0.5919, allocations: 397.5 kB / 0.8206 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of simplify2: time 1.207e-05/0.5919, allocations: 8.562 kB / 0.8206 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of Events: time 0.0002124/0.5921, allocations: 125.3 kB / 0.8207 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0001446/0.5923, allocations: 113.3 kB / 0.8208 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001504/0.5925, allocations: 99.73 kB / 0.8209 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of Causalize: time 0.0007474/0.5932, allocations: 0.5876 MB / 0.8215 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.0003644/0.5936, allocations: 374.8 kB / 0.8219 GB, free: 43 MB / 0.6544 GB Notification: Performance of Inline: time 0.0006967/0.5943, allocations: 0.6405 MB / 0.8225 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of Partitioning: time 2.871e-05/0.5943, allocations: 30.08 kB / 0.8225 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of Cleanup: time 3.87e-05/0.5944, allocations: 32.19 kB / 0.8225 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of Causalize: time 0.0007991/0.5952, allocations: 0.7166 MB / 0.8232 GB, free: 42.78 MB / 0.6544 GB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if onOff.y then [SCAL] (1) shr.SHR = smooth(1, if $SEV_0 then shr.entRat else if $SEV_1 then 0.999 else 0.25 * (0.999 - shr.entRat) * ((-3.0) + ((0.999 - shr.entRat) / 1e-4) ^ 2.0) * (1e4 * (0.999 - shr.entRat)) + 0.5 * (0.999 + shr.entRat)) ($RES_SIM_3) [SCAL] (1) shr.entRat = (shr.h_TEvaIn_XADP - hADP.k) / smooth(1, if $SEV_2 then shr.epsH else if $SEV_3 then hEvaIn.y - hADP.k else if $SEV_4 then 0.25 * (hEvaIn.y - (shr.epsH + hADP.k)) * ((-3.0) + (((hADP.k + shr.epsH) - hEvaIn.y) / (0.1 * shr.epsH)) ^ 2.0) * ((10.0 * ((shr.epsH + hADP.k) - hEvaIn.y)) / shr.epsH) + 0.5 * ((shr.epsH + hEvaIn.y) - hADP.k) else 0.5 * ((shr.epsH + hEvaIn.y) - hADP.k)) ($RES_SIM_4) [SCAL] (1) shr.h_TEvaIn_XADP = 1006.0 * ((-273.15) + TEvaIn.y) * (1.0 - XADP.k) + (2.5010145e6 + 1860.0 * ((-273.15) + TEvaIn.y)) * XADP.k ($RES_SIM_5) else [SCAL] (1) shr.SHR = 0.0 ($RES_SIM_6) [SCAL] (1) shr.entRat = 1.0 ($RES_SIM_7) [SCAL] (1) shr.h_TEvaIn_XADP = 0.0 ($RES_SIM_8) end if; Error: Internal error NBInitialization.main failed to apply modules!