Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop.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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop") translateModel(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001146, allocations: 105.9 kB / 16.42 MB, free: 6.539 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.001244/0.001244, allocations: 183.2 kB / 17.35 MB, free: 5.723 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05534/0.05534, allocations: 12.03 MB / 303.2 MB, free: 3.043 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005192/0.0005193, allocations: 19.98 kB / 356.3 MB, free: 13.92 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.486/1.486, allocations: 268.2 MB / 0.6617 GB, free: 2.48 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.009e-05, allocations: 4.953 kB / 0.8879 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.02611/0.02615, allocations: 19.21 MB / 0.9066 GB, free: 1.32 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008518/0.03475, allocations: 4.999 MB / 0.9115 GB, free: 12.31 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009105/0.03571, allocations: 11.94 kB / 0.9115 GB, free: 12.3 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.03721, allocations: 426 kB / 0.9119 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.00289/0.04012, allocations: 0.7923 MB / 0.9127 GB, free: 11.09 MB / 0.6857 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/Year2021/Fluid/Movers/Pump.mo:39:3-39:48:writable] Warning: Conditional component 'V_flow' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/Year2021/Fluid/Movers/Pump.mo:49:7-49:152:writable] Warning: Conditional component 'V_flow' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.04276, allocations: 0.7533 MB / 0.9134 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.04511, allocations: 1.316 MB / 0.9147 GB, free: 9.016 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009015/0.04602, allocations: 419.7 kB / 0.9151 GB, free: 8.602 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.04763, allocations: 0.5644 MB / 0.9157 GB, free: 8.035 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009099/0.04855, allocations: 426.4 kB / 0.9161 GB, free: 7.617 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.0487, allocations: 36 kB / 0.9161 GB, free: 7.582 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.05079, allocations: 1.022 MB / 0.9171 GB, free: 6.559 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.001016/0.05182, allocations: 0.9207 MB / 0.918 GB, free: 5.629 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.0005303/0.05236, allocations: 0.5392 MB / 0.9185 GB, free: 5.086 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.05261, allocations: 87.69 kB / 0.9186 GB, free: 5 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0001507/0.05277, allocations: 20 kB / 0.9186 GB, free: 4.98 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 (50) * Number of variables: 51 (50) Notification: Performance of Bindings: time 0.002741/0.05552, allocations: 2.174 MB / 0.9208 GB, free: 2.688 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.000295/0.05582, allocations: 123.8 kB / 0.9209 GB, free: 2.566 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.001524/0.05735, allocations: 1.233 MB / 0.9221 GB, free: 1.305 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0001523/0.05752, allocations: 91.91 kB / 0.9222 GB, free: 1.215 MB / 0.6857 GB Notification: Performance of Alias: time 0.5131/0.5706, allocations: 1.438 MB / 0.9236 GB, free: 47.57 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0002068/0.5709, allocations: 72.22 kB / 0.9236 GB, free: 47.57 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0003476/0.5712, allocations: 193.2 kB / 0.9238 GB, free: 47.54 MB / 0.6857 GB Notification: Performance of Events: time 0.0003858/0.5716, allocations: 189.2 kB / 0.924 GB, free: 47.54 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0003757/0.572, allocations: 322 kB / 0.9243 GB, free: 47.41 MB / 0.6857 GB Notification: Performance of Causalize: time 0.00168/0.5737, allocations: 1.229 MB / 0.9255 GB, free: 47.27 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.0009416/0.5747, allocations: 0.7817 MB / 0.9263 GB, free: 47.21 MB / 0.6857 GB Notification: Performance of Inline: time 0.003442/0.5781, allocations: 1.785 MB / 0.928 GB, free: 47.11 MB / 0.6857 GB Notification: Performance of Partitioning: time 8.047e-05/0.5782, allocations: 67.38 kB / 0.9281 GB, free: 47.08 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0001907/0.5784, allocations: 176 kB / 0.9282 GB, free: 47.07 MB / 0.6857 GB Notification: Performance of Causalize: time 0.005535/0.5839, allocations: 5.091 MB / 0.9332 GB, free: 46.24 MB / 0.6857 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if NightSignal.y then [----] [SCAL] (1) pump.Head = pump.table_minMaxCharacteristics.y[1] ($RES_SIM_34) [----] else [----] [SCAL] (1) pump.Head = min(max(0.5 * pump.Head_max + (0.0010044335697769957 * hydraulicResistance.m_flow) * ((pump.Head_max * 0.5) / pump.V_flow_max) * 3600.0, pump.table_minMaxCharacteristics.y[1]), pump.table_minMaxCharacteristics.y[2]) ($RES_SIM_35) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!