Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001102/0.001102, allocations: 107.9 kB / 16.42 MB, free: 6.504 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.001112/0.001112, allocations: 187.8 kB / 17.35 MB, free: 5.754 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.151/1.151, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.214/1.214, allocations: 251.7 MB / 0.51 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.638e-05, allocations: 6.219 kB / 0.7264 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.002189/0.002213, allocations: 1.674 MB / 0.7281 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4236/0.4258, allocations: 147.3 MB / 0.8719 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.4259, allocations: 0 / 0.8719 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.426, allocations: 7.922 kB / 0.8719 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.426, allocations: 20.78 kB / 0.8719 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.4268, allocations: 235.5 kB / 0.8722 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.4269, allocations: 101.8 kB / 0.8723 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.427, allocations: 24.31 kB / 0.8723 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.033e-05/0.427, allocations: 43.08 kB / 0.8723 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.4271, allocations: 45.3 kB / 0.8724 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.4271, allocations: 7.875 kB / 0.8724 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.4275, allocations: 238.5 kB / 0.8726 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of combineBinaries: time 9.954e-05/0.4277, allocations: 143.3 kB / 0.8727 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 3.729e-05/0.4277, allocations: 78.78 kB / 0.8728 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.4277, allocations: 11.94 kB / 0.8728 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-05/0.4277, allocations: 7.875 kB / 0.8728 GB, free: 7.754 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.0004414/0.4282, allocations: 0.491 MB / 0.8733 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 1.769e-05/0.4282, allocations: 15.94 kB / 0.8733 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.0004326/0.4287, allocations: 464 kB / 0.8738 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of simplify1: time 1.211e-05/0.4287, allocations: 11.98 kB / 0.8738 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of Alias: time 0.00047/0.4292, allocations: 401.8 kB / 0.8742 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of simplify2: time 5.837e-05/0.4292, allocations: 7.984 kB / 0.8742 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of Events: time 0.0001553/0.4294, allocations: 123.6 kB / 0.8743 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0001058/0.4295, allocations: 104.1 kB / 0.8744 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001039/0.4296, allocations: 112 kB / 0.8745 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of Causalize: time 0.0005655/0.4302, allocations: 0.5975 MB / 0.8751 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.0002737/0.4305, allocations: 372.1 kB / 0.8754 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of Inline: time 0.0005255/0.431, allocations: 0.6526 MB / 0.8761 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of Partitioning: time 2.522e-05/0.431, allocations: 32.05 kB / 0.8761 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of Cleanup: time 2.393e-05/0.4311, allocations: 23.97 kB / 0.8761 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of Causalize: time 0.0006019/0.4317, allocations: 0.7143 MB / 0.8768 GB, free: 3.375 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!