Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.FixedResistances.Examples.CheckValve") translateModel(AixLib.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.001241, allocations: 113.4 kB / 16.43 MB, free: 6.496 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.001381/0.001382, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.524/1.524, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06082/0.06082, allocations: 12.02 MB / 303.2 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005877/0.0005874, allocations: 31.95 kB / 356.3 MB, free: 13.98 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.105/2.105, allocations: 272.3 MB / 0.6657 GB, free: 18.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/2.948e-05, allocations: 9.172 kB / 0.8934 GB, free: 15.23 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.FixedResistances.Examples.CheckValve): time 0.02239/0.02243, allocations: 20.75 MB / 0.9137 GB, free: 10.39 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.007931/0.03041, allocations: 4.951 MB / 0.9185 GB, free: 5.426 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009396/0.03139, allocations: 15.88 kB / 0.9185 GB, free: 5.41 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0009544/0.03235, allocations: 278.1 kB / 0.9188 GB, free: 5.137 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.03495, allocations: 0.8542 MB / 0.9196 GB, free: 4.281 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.03706, allocations: 0.7189 MB / 0.9203 GB, free: 3.57 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.001994/0.03907, allocations: 1.398 MB / 0.9217 GB, free: 2.168 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006965/0.03977, allocations: 460.3 kB / 0.9221 GB, free: 1.711 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.04093, allocations: 0.5954 MB / 0.9227 GB, free: 1.113 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006102/0.04155, allocations: 438.3 kB / 0.9231 GB, free: 0.6836 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 6.603e-05/0.04163, allocations: 36 kB / 0.9232 GB, free: 0.6484 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.04302, allocations: 0.6394 MB / 0.9238 GB, free: 8 kB / 0.6857 GB Notification: Performance of combineBinaries: time 0.5725/0.6155, allocations: 0.9763 MB / 0.9247 GB, free: 43.29 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.0004681/0.616, allocations: 0.6206 MB / 0.9253 GB, free: 42.91 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.6163, allocations: 97.88 kB / 0.9254 GB, free: 42.89 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0003114/0.6166, allocations: 30.34 kB / 0.9255 GB, free: 42.89 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: 71 (65) * Number of variables: 71 (62) Notification: Performance of Bindings: time 0.002816/0.6194, allocations: 2.43 MB / 0.9278 GB, free: 41.89 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0002536/0.6197, allocations: 136.9 kB / 0.928 GB, free: 41.88 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.001234/0.621, allocations: 1.027 MB / 0.929 GB, free: 41.8 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0001182/0.6211, allocations: 94.72 kB / 0.9291 GB, free: 41.8 MB / 0.6857 GB Notification: Performance of Alias: time 0.001756/0.6229, allocations: 1.234 MB / 0.9303 GB, free: 41.49 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0001008/0.623, allocations: 85.08 kB / 0.9304 GB, free: 41.49 MB / 0.6857 GB Notification: Performance of Events: time 0.0002353/0.6232, allocations: 156.7 kB / 0.9305 GB, free: 41.48 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0003146/0.6235, allocations: 276.5 kB / 0.9308 GB, free: 41.44 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0004304/0.624, allocations: 405.4 kB / 0.9312 GB, free: 41.25 MB / 0.6857 GB Notification: Performance of Causalize: time 0.001662/0.6256, allocations: 1.416 MB / 0.9325 GB, free: 40.94 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.0007878/0.6264, allocations: 0.786 MB / 0.9333 GB, free: 40.84 MB / 0.6857 GB Notification: Performance of Inline: time 0.001836/0.6283, allocations: 1.69 MB / 0.935 GB, free: 40.63 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0001108/0.6284, allocations: 87.36 kB / 0.935 GB, free: 40.6 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0001778/0.6286, allocations: 189.5 kB / 0.9352 GB, free: 40.58 MB / 0.6857 GB Notification: Performance of Causalize: time 0.005219/0.6338, allocations: 4.51 MB / 0.9396 GB, free: 39.73 MB / 0.6857 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!