Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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_latest_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_latest_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.001348/0.001348, allocations: 112.3 kB / 16.42 MB, free: 6.52 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.001404/0.001405, allocations: 187.2 kB / 17.36 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.385/1.385, 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/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.055/0.055, allocations: 12.03 MB / 303.2 MB, free: 3.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004667/0.0004666, allocations: 27.94 kB / 356.3 MB, free: 13.95 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.964/1.964, allocations: 272.3 MB / 0.6657 GB, free: 18.23 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.267e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2021.Fluid.Examples.PumpHydraulicResistance_closedLoop): time 0.02694/0.02698, allocations: 19.23 MB / 0.9122 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.008715/0.03577, allocations: 4.982 MB / 0.917 GB, free: 6.875 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009033/0.03671, allocations: 11.94 kB / 0.917 GB, free: 6.863 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.03822, allocations: 426 kB / 0.9175 GB, free: 6.445 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.04172, allocations: 0.7919 MB / 0.9182 GB, free: 5.652 MB / 0.6857 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.00282/0.0447, allocations: 0.7547 MB / 0.919 GB, free: 4.902 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.002646/0.04735, allocations: 1.32 MB / 0.9203 GB, free: 3.578 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.04839, allocations: 413.8 kB / 0.9206 GB, free: 3.172 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.04998, allocations: 0.5682 MB / 0.9212 GB, free: 2.602 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.05103, allocations: 442.4 kB / 0.9216 GB, free: 2.168 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.05122, allocations: 36 kB / 0.9217 GB, free: 2.133 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.05372, allocations: 1.01 MB / 0.9226 GB, free: 1.121 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.00129/0.05502, allocations: 0.9284 MB / 0.9236 GB, free: 188 kB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.4806/0.5357, allocations: 0.5319 MB / 0.9241 GB, free: 44.62 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.536, allocations: 84.03 kB / 0.9242 GB, free: 44.62 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0001872/0.5362, allocations: 20.58 kB / 0.9242 GB, free: 44.62 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.00204/0.5382, allocations: 2.169 MB / 0.9263 GB, free: 44 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0002318/0.5385, allocations: 133.8 kB / 0.9264 GB, free: 43.99 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.001129/0.5396, allocations: 1.227 MB / 0.9276 GB, free: 43.93 MB / 0.6857 GB Notification: Performance of simplify1: time 7.577e-05/0.5397, allocations: 94.05 kB / 0.9277 GB, free: 43.93 MB / 0.6857 GB Notification: Performance of Alias: time 0.001657/0.5414, allocations: 1.434 MB / 0.9291 GB, free: 43.63 MB / 0.6857 GB Notification: Performance of simplify2: time 7.63e-05/0.5415, allocations: 72.27 kB / 0.9292 GB, free: 43.63 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0002482/0.5417, allocations: 202.5 kB / 0.9294 GB, free: 43.6 MB / 0.6857 GB Notification: Performance of Events: time 0.000261/0.542, allocations: 196.7 kB / 0.9296 GB, free: 43.58 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0002954/0.5423, allocations: 322.7 kB / 0.9299 GB, free: 43.45 MB / 0.6857 GB Notification: Performance of Causalize: time 0.00135/0.5436, allocations: 1.217 MB / 0.9311 GB, free: 43.26 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.0006995/0.5444, allocations: 0.7835 MB / 0.9318 GB, free: 43.19 MB / 0.6857 GB Notification: Performance of Inline: time 0.003053/0.5474, allocations: 1.779 MB / 0.9336 GB, free: 42.96 MB / 0.6857 GB Notification: Performance of Partitioning: time 6.436e-05/0.5475, allocations: 72.42 kB / 0.9336 GB, free: 42.93 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0001505/0.5476, allocations: 180.7 kB / 0.9338 GB, free: 42.91 MB / 0.6857 GB Notification: Performance of Causalize: time 0.004967/0.5526, allocations: 5.081 MB / 0.9388 GB, free: 41.85 MB / 0.6857 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1) ($RES_SIM_33)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!