Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 104.4 kB / 16.37 MB, free: 6.371 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.001057/0.001057, allocations: 186.9 kB / 17.3 MB, free: 5.914 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.157/1.157, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05054/0.05054, allocations: 12.03 MB / 303.2 MB, free: 3.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004088/0.0004087, allocations: 27.94 kB / 356.3 MB, free: 14 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.646/1.646, allocations: 272.3 MB / 0.6656 GB, free: 18.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.14e-05, allocations: 4.812 kB / 0.7863 GB, free: 12.95 MB / 0.5607 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.01962/0.01966, allocations: 23.27 MB / 0.809 GB, free: 5.586 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.00777/0.02746, allocations: 6.511 MB / 0.8154 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006981/0.02819, allocations: 27.81 kB / 0.8154 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007986/0.02899, allocations: 389.4 kB / 0.8158 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.03108, allocations: 1.113 MB / 0.8169 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.03326, allocations: 1.08 MB / 0.8179 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.03507, allocations: 1.924 MB / 0.8198 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008356/0.03592, allocations: 0.7806 MB / 0.8206 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009673/0.03689, allocations: 0.7822 MB / 0.8213 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006345/0.03754, allocations: 0.6497 MB / 0.822 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.353e-05/0.03764, allocations: 68 kB / 0.822 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.03894, allocations: 1.002 MB / 0.823 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0009946/0.03994, allocations: 1.599 MB / 0.8246 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0004922/0.04044, allocations: 1.005 MB / 0.8256 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.04061, allocations: 159.4 kB / 0.8257 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.000126/0.04074, allocations: 43.81 kB / 0.8258 GB, free: 4.391 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 (124) * Number of variables: 139 (121) Notification: Performance of Bindings: time 0.003014/0.04376, allocations: 4.044 MB / 0.8297 GB, free: 196 kB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.000239/0.044, allocations: 225.8 kB / 0.8299 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.002333/0.04635, allocations: 2.982 MB / 0.8328 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simplify1: time 0.0002029/0.04656, allocations: 255.7 kB / 0.8331 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of Alias: time 0.00266/0.04923, allocations: 2.806 MB / 0.8358 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of simplify2: time 0.0001871/0.04943, allocations: 231.7 kB / 0.836 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of Events: time 0.000424/0.04986, allocations: 443.8 kB / 0.8365 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of Detect States: time 0.0004751/0.05034, allocations: 0.6019 MB / 0.837 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0006147/0.05096, allocations: 0.6909 MB / 0.8377 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of Causalize: time 0.003489/0.05446, allocations: 3.902 MB / 0.8415 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of After Index Reduction Inline: time 0.001754/0.05622, allocations: 2.099 MB / 0.8436 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of Inline: time 0.003554/0.05978, allocations: 4.21 MB / 0.8477 GB, free: 13.17 MB / 0.6232 GB Notification: Performance of Partitioning: time 0.0001512/0.05995, allocations: 139.7 kB / 0.8478 GB, free: 13.02 MB / 0.6232 GB Notification: Performance of Cleanup: time 0.0003402/0.06029, allocations: 459.2 kB / 0.8483 GB, free: 12.56 MB / 0.6232 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [TUPL] (4) ($FUN_1, $FUN_2, $FUN_3, $FUN_4) = AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.ySet.getInterpolationCoefficients(ySet.table, ySet.offset, ySet.startTime, time, ySet.last, 1e-13, ySet.shiftTime) ($RES_$AUX_158) slice: {3}; Notification: Performance of Causalize: time 0.02107/0.08137, allocations: 25.56 MB / 0.8732 GB, free: 4.129 MB / 0.6388 GB Notification: Performance of Tearing: time 1.427e-05/0.08141, allocations: 4.281 kB / 0.8732 GB, free: 4.125 MB / 0.6388 GB Notification: Performance of Initialization: time 7.02e-07/0.08141, allocations: 0 / 0.8732 GB, free: 4.125 MB / 0.6388 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [TUPL] (4) ($FUN_1, $FUN_2, $FUN_3, $FUN_4) = AixLib.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.ySet.getInterpolationCoefficients(ySet.table, ySet.offset, ySet.startTime, time, ySet.last, 1e-13, ySet.shiftTime) ($RES_$AUX_158)