Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Functions.Examples.CubicHermite.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.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.CubicHermite") translateModel(AixLib.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 108.4 kB / 16.38 MB, free: 6.387 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.001239/0.001239, allocations: 195.6 kB / 17.32 MB, free: 5.766 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.367/1.367, allocations: 222.9 MB / 241 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.05488/0.05488, 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.0005431/0.0005432, allocations: 27.91 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 2.035/2.035, allocations: 272.3 MB / 0.6656 GB, free: 18.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.356e-05, allocations: 2.281 kB / 0.7863 GB, free: 12.89 MB / 0.5607 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.CubicHermite): time 0.001735/0.001775, allocations: 0.6228 MB / 0.7869 GB, free: 12.27 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.003549, allocations: 1.381 MB / 0.7883 GB, free: 10.87 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.003587, allocations: 0 / 0.7883 GB, free: 10.87 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 5.522e-05/0.003649, allocations: 3.938 kB / 0.7883 GB, free: 10.87 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 4.088e-05/0.003695, allocations: 7.984 kB / 0.7883 GB, free: 10.86 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.004291, allocations: 181.7 kB / 0.7885 GB, free: 10.68 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.004409, allocations: 51.91 kB / 0.7885 GB, free: 10.63 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.004459, allocations: 3.984 kB / 0.7885 GB, free: 10.63 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.004503, allocations: 23.91 kB / 0.7885 GB, free: 10.61 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.00456, allocations: 19.98 kB / 0.7885 GB, free: 10.59 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.004582, allocations: 4 kB / 0.7885 GB, free: 10.58 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.004862, allocations: 199.7 kB / 0.7887 GB, free: 10.39 MB / 0.5607 GB Notification: Performance of combineBinaries: time 6.977e-05/0.004941, allocations: 67.39 kB / 0.7888 GB, free: 10.32 MB / 0.5607 GB Notification: Performance of replaceArrayConstructors: time 1.765e-05/0.004964, allocations: 27.66 kB / 0.7888 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.004986, allocations: 4 kB / 0.7888 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of FrontEnd: time 8.726e-06/0.004999, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 (1) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0003757/0.005379, allocations: 300.5 kB / 0.7891 GB, free: 9.895 MB / 0.5607 GB Notification: Performance of FunctionAlias: time 0.0001119/0.005496, allocations: 61.41 kB / 0.7892 GB, free: 9.84 MB / 0.5607 GB Notification: Performance of Early Inline: time 0.0001749/0.00568, allocations: 188.2 kB / 0.7894 GB, free: 9.629 MB / 0.5607 GB Notification: Performance of simplify1: time 1.835e-05/0.005706, allocations: 15.92 kB / 0.7894 GB, free: 9.613 MB / 0.5607 GB Notification: Performance of Alias: time 7.22e-05/0.005783, allocations: 64.56 kB / 0.7894 GB, free: 9.512 MB / 0.5607 GB Notification: Performance of simplify2: time 9.538e-06/0.005797, allocations: 11.98 kB / 0.7894 GB, free: 9.5 MB / 0.5607 GB Notification: Performance of Events: time 4.651e-05/0.005848, allocations: 11.98 kB / 0.7895 GB, free: 9.488 MB / 0.5607 GB Notification: Performance of Detect States: time 9.494e-05/0.00595, allocations: 80.14 kB / 0.7895 GB, free: 9.395 MB / 0.5607 GB Notification: Performance of Partitioning: time 7.494e-05/0.006032, allocations: 36.11 kB / 0.7896 GB, free: 9.352 MB / 0.5607 GB Notification: Performance of Causalize: time 0.000223/0.006261, allocations: 140 kB / 0.7897 GB, free: 9.207 MB / 0.5607 GB Notification: Performance of After Index Reduction Inline: time 0.0001694/0.006439, allocations: 176.3 kB / 0.7899 GB, free: 9.008 MB / 0.5607 GB Notification: Performance of Inline: time 0.0002464/0.006693, allocations: 280.2 kB / 0.7901 GB, free: 8.699 MB / 0.5607 GB Notification: Performance of Partitioning: time 1.876e-05/0.006718, allocations: 12.12 kB / 0.7901 GB, free: 8.68 MB / 0.5607 GB Notification: Performance of Cleanup: time 2.129e-05/0.006744, allocations: 23.97 kB / 0.7902 GB, free: 8.656 MB / 0.5607 GB Notification: Performance of Causalize: time 0.0004324/0.007181, allocations: 381.9 kB / 0.7905 GB, free: 8.277 MB / 0.5607 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (4) ($RES_SIM_1) [----] x := (1.2 * time * (xd[4] - xd[1]) + xd[1]) - 0.5; [----] i := 1; [----] for j in 1:3 loop [----] if x > xd[j] then [----] i := j; [----] end if; [----] end for; [----] y := $FUN_1; [----] yMonotone := $FUN_2; Error: Internal error NBInitialization.main failed to apply modules!