Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.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.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absChi.QCon_flow|QCon_EP.y|absChi.QEva_flow|QEva_EP.y|absChi.QGen_flow|QGen_EP.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus") translateModel(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absChi.QCon_flow|QCon_EP.y|absChi.QEva_flow|QEva_EP.y|absChi.QGen_flow|QGen_EP.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 105.8 kB / 16.42 MB, free: 6.027 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.001094/0.001093, allocations: 191.4 kB / 17.36 MB, free: 5.613 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.15/1.15, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.262/2.262, allocations: 469.8 MB / 0.7431 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.123e-05, allocations: 4.188 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus): time 0.4283/0.4284, allocations: 53.91 MB / 1.118 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.4447, allocations: 12.47 MB / 1.131 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.4471, allocations: 61.59 kB / 1.131 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.4494, allocations: 0.8258 MB / 1.131 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004336/0.4537, allocations: 2.064 MB / 1.133 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.4568, allocations: 1.389 MB / 1.135 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003954/0.4607, allocations: 3.791 MB / 1.139 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.462, allocations: 1.076 MB / 1.14 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.4645, allocations: 1.444 MB / 1.141 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.4656, allocations: 1.004 MB / 1.142 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.4657, allocations: 126.5 kB / 1.142 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.4683, allocations: 1.334 MB / 1.143 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.001828/0.4701, allocations: 2.629 MB / 1.146 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 0.001023/0.4711, allocations: 1.731 MB / 1.148 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.4715, allocations: 260.5 kB / 1.148 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.0002902/0.4718, allocations: 57.42 kB / 1.148 GB, free: 2.613 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 (210) * Number of variables: 227 (212) Notification: Performance of Bindings: time 0.004881/0.4766, allocations: 5.765 MB / 1.154 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.0002635/0.4769, allocations: 262.4 kB / 1.154 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.003249/0.4802, allocations: 3.108 MB / 1.157 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of simplify1: time 0.0004254/0.4806, allocations: 349.9 kB / 1.157 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of Alias: time 0.004286/0.4849, allocations: 3.648 MB / 1.161 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simplify2: time 0.0002764/0.4852, allocations: 250.8 kB / 1.161 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of Detect States: time 0.0005598/0.4858, allocations: 0.5544 MB / 1.162 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of Events: time 0.0006983/0.4865, allocations: 0.63 MB / 1.162 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0007696/0.4872, allocations: 0.7476 MB / 1.163 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of Causalize: time 0.003757/0.491, allocations: 3.328 MB / 1.166 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.001948/0.493, allocations: 2.014 MB / 1.168 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of Inline: time 0.005434/0.4984, allocations: 4.498 MB / 1.173 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0001513/0.4986, allocations: 73.33 kB / 1.173 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0006086/0.4992, allocations: 0.7733 MB / 1.173 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of Causalize: time 0.006936/0.5061, allocations: 5.688 MB / 1.179 GB, free: 15.82 MB / 0.9044 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_54)if realToBoolean.y then [----] [SCAL] (1) -absChi.preHeaFloEva.port.Q_flow = smooth(1, if $SEV_13 then absChi.QEva_flow_set.y else if $SEV_14 then absChi.perMod.QEva_flow_ava else if $SEV_2 then 0.25 * (absChi.perMod.QEva_flow_ava - absChi.QEva_flow_set.y) * ((-3.0) + ((absChi.QEva_flow_set.y - absChi.perMod.QEva_flow_ava) / absChi.perMod.Q_flow_small) ^ 2.0) * ((absChi.QEva_flow_set.y - absChi.perMod.QEva_flow_ava) / absChi.perMod.Q_flow_small) + 0.5 * (absChi.QEva_flow_set.y + absChi.perMod.QEva_flow_ava) else 0.5 * (absChi.QEva_flow_set.y + absChi.perMod.QEva_flow_ava)) ($RES_SIM_55) [----] else [----] [SCAL] (1) -absChi.preHeaFloEva.port.Q_flow = 0.0 ($RES_SIM_56) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!