Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009936/0.0009937, allocations: 113.1 kB / 16.42 MB, free: 6.512 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.001096/0.001096, allocations: 191.2 kB / 17.35 MB, free: 5.754 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.162/1.162, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05325/0.05325, allocations: 12.03 MB / 303.2 MB, free: 3.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006102/0.0006103, allocations: 23.97 kB / 356.3 MB, free: 13.96 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.664/1.664, allocations: 272.3 MB / 0.6657 GB, free: 18.49 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.506e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01686/0.01688, allocations: 19.44 MB / 0.9124 GB, free: 11.66 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.006154/0.02307, allocations: 5.159 MB / 0.9174 GB, free: 6.484 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004647/0.02356, allocations: 19.88 kB / 0.9175 GB, free: 6.465 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.02417, allocations: 270 kB / 0.9177 GB, free: 6.199 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.02567, allocations: 0.7722 MB / 0.9185 GB, free: 5.426 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.02741, allocations: 0.8904 MB / 0.9193 GB, free: 4.543 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.02892, allocations: 1.508 MB / 0.9208 GB, free: 3.027 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005896/0.02952, allocations: 0.5247 MB / 0.9213 GB, free: 2.492 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008957/0.03043, allocations: 0.6188 MB / 0.9219 GB, free: 1.871 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005097/0.03095, allocations: 0.5019 MB / 0.9224 GB, free: 1.367 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 8.189e-05/0.03104, allocations: 52 kB / 0.9225 GB, free: 1.316 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009561/0.032, allocations: 0.6979 MB / 0.9232 GB, free: 0.6172 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.3014/0.3334, allocations: 1.25 MB / 0.9244 GB, free: 43.99 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.0003832/0.3338, allocations: 0.7945 MB / 0.9252 GB, free: 43.59 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.334, allocations: 126.1 kB / 0.9253 GB, free: 43.59 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0001717/0.3342, allocations: 31.92 kB / 0.9253 GB, free: 43.59 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: 113 (105) * Number of variables: 113 (101) Notification: Performance of Bindings: time 0.002083/0.3363, allocations: 3.235 MB / 0.9285 GB, free: 42.37 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0001742/0.3365, allocations: 175.6 kB / 0.9286 GB, free: 42.36 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.003107/0.3396, allocations: 4.978 MB / 0.9335 GB, free: 42.28 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0002923/0.3399, allocations: 471.8 kB / 0.9339 GB, free: 42.27 MB / 0.6857 GB Notification: Performance of Alias: time 0.002451/0.3423, allocations: 3.139 MB / 0.937 GB, free: 41.27 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0002788/0.3426, allocations: 467.3 kB / 0.9375 GB, free: 41.25 MB / 0.6857 GB Notification: Performance of Events: time 0.0003098/0.3429, allocations: 444.7 kB / 0.9379 GB, free: 41.21 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0004515/0.3434, allocations: 0.7969 MB / 0.9387 GB, free: 41.16 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.000628/0.344, allocations: 0.8927 MB / 0.9395 GB, free: 40.99 MB / 0.6857 GB Notification: Performance of Causalize: time 0.002469/0.3465, allocations: 2.841 MB / 0.9423 GB, free: 40.39 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.002222/0.3487, allocations: 3.517 MB / 0.9457 GB, free: 40.15 MB / 0.6857 GB Notification: Performance of Inline: time 0.004477/0.3532, allocations: 6.692 MB / 0.9523 GB, free: 37.91 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0001171/0.3533, allocations: 104.1 kB / 0.9524 GB, free: 37.85 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0006204/0.354, allocations: 0.7048 MB / 0.9531 GB, free: 37.53 MB / 0.6857 GB Notification: Performance of Causalize: time 0.01023/0.3642, allocations: 8.31 MB / 0.9612 GB, free: 34.62 MB / 0.6857 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min Error: Internal error NBInitialization.main failed to apply modules!