Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 109.3 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.001067/0.001067, allocations: 189.9 kB / 17.36 MB, free: 5.75 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.148/1.148, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.165/2.165, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.104e-05, allocations: 2.281 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002002/0.00202, allocations: 1.66 MB / 1.056 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.5396/0.5417, allocations: 147.3 MB / 1.2 GB, free: 10.83 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.5418, allocations: 1.656 kB / 1.2 GB, free: 10.83 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.5418, allocations: 7.875 kB / 1.2 GB, free: 10.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.542, allocations: 25.91 kB / 1.2 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007484/0.5427, allocations: 238.4 kB / 1.2 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.5429, allocations: 100.8 kB / 1.2 GB, free: 10.57 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.543, allocations: 27.97 kB / 1.2 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.543, allocations: 33.94 kB / 1.201 GB, free: 10.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.5431, allocations: 45.97 kB / 1.201 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.5432, allocations: 7.469 kB / 1.201 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.5436, allocations: 244.8 kB / 1.201 GB, free: 10.37 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0001047/0.5437, allocations: 129.8 kB / 1.201 GB, free: 10.28 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 4.563e-05/0.5438, allocations: 89.66 kB / 1.201 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.5438, allocations: 13.72 kB / 1.201 GB, free: 10.2 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.563e-05/0.5438, allocations: 6.219 kB / 1.201 GB, free: 10.2 MB / 0.92 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.0004686/0.5443, allocations: 0.4904 MB / 1.202 GB, free: 9.727 MB / 0.92 GB Notification: Performance of FunctionAlias: time 1.907e-05/0.5443, allocations: 17.25 kB / 1.202 GB, free: 9.711 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0004525/0.5448, allocations: 468.6 kB / 1.202 GB, free: 9.352 MB / 0.92 GB Notification: Performance of simplify1: time 1.496e-05/0.5448, allocations: 14.3 kB / 1.202 GB, free: 9.34 MB / 0.92 GB Notification: Performance of Alias: time 0.0005384/0.5454, allocations: 431.6 kB / 1.202 GB, free: 8.984 MB / 0.92 GB Notification: Performance of simplify2: time 1.221e-05/0.5454, allocations: 11.67 kB / 1.202 GB, free: 8.977 MB / 0.92 GB Notification: Performance of Events: time 0.0001783/0.5456, allocations: 129.5 kB / 1.203 GB, free: 8.887 MB / 0.92 GB Notification: Performance of Detect States: time 0.0001232/0.5457, allocations: 106.2 kB / 1.203 GB, free: 8.785 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0001187/0.5458, allocations: 106.9 kB / 1.203 GB, free: 8.715 MB / 0.92 GB Notification: Performance of Causalize: time 0.0003888/0.5462, allocations: 312.6 kB / 1.203 GB, free: 8.598 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0003055/0.5465, allocations: 382.7 kB / 1.203 GB, free: 8.293 MB / 0.92 GB Notification: Performance of Inline: time 0.0005756/0.5471, allocations: 0.6504 MB / 1.204 GB, free: 7.773 MB / 0.92 GB Notification: Performance of Partitioning: time 2.906e-05/0.5471, allocations: 24.97 kB / 1.204 GB, free: 7.75 MB / 0.92 GB Notification: Performance of Cleanup: time 3.324e-05/0.5472, allocations: 29.84 kB / 1.204 GB, free: 7.727 MB / 0.92 GB Notification: Performance of Causalize: time 0.0005072/0.5477, allocations: 454.7 kB / 1.205 GB, free: 7.523 MB / 0.92 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!