Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Controls.Continuous.Examples.OffTimer") translateModel(AixLib.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009066/0.000907, allocations: 104.4 kB / 16.37 MB, free: 6.367 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.0008585/0.0008585, allocations: 182.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.137/1.137, allocations: 222.9 MB / 241 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05003/0.05003, allocations: 12.03 MB / 303.2 MB, free: 3.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004681/0.000468, allocations: 19.97 kB / 356.3 MB, free: 14.04 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.624/1.624, allocations: 272.3 MB / 0.6656 GB, free: 18.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.753e-05, allocations: 2.281 kB / 0.7863 GB, free: 12.96 MB / 0.5607 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.OffTimer): time 0.002053/0.002083, allocations: 1.462 MB / 0.7877 GB, free: 11.48 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0005601/0.002654, allocations: 442.8 kB / 0.7881 GB, free: 11.05 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.002693, allocations: 0 / 0.7881 GB, free: 11.05 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.002725, allocations: 7.938 kB / 0.7881 GB, free: 11.04 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.002787, allocations: 3.938 kB / 0.7882 GB, free: 11.04 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.002903, allocations: 27.89 kB / 0.7882 GB, free: 11.01 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.002996, allocations: 55.91 kB / 0.7882 GB, free: 10.95 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.003087, allocations: 12 kB / 0.7882 GB, free: 10.94 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.003141, allocations: 23.86 kB / 0.7883 GB, free: 10.92 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.00319, allocations: 23.91 kB / 0.7883 GB, free: 10.89 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.003211, allocations: 7.938 kB / 0.7883 GB, free: 10.89 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.003224, allocations: 4 kB / 0.7883 GB, free: 10.88 MB / 0.5607 GB Notification: Performance of combineBinaries: time 5.833e-05/0.003286, allocations: 71.22 kB / 0.7884 GB, free: 10.81 MB / 0.5607 GB Notification: Performance of replaceArrayConstructors: time 1.655e-05/0.003308, allocations: 39.41 kB / 0.7884 GB, free: 10.77 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.003335, allocations: 12 kB / 0.7884 GB, free: 10.76 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.151e-05/0.003351, allocations: 0 / 0.7884 GB, free: 10.76 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0003156/0.00367, allocations: 322.7 kB / 0.7887 GB, free: 10.35 MB / 0.5607 GB Notification: Performance of FunctionAlias: time 1.712e-05/0.003695, allocations: 15.92 kB / 0.7887 GB, free: 10.33 MB / 0.5607 GB Notification: Performance of Early Inline: time 0.0001221/0.003821, allocations: 140.3 kB / 0.7889 GB, free: 10.17 MB / 0.5607 GB Notification: Performance of simplify1: time 1.562e-05/0.003842, allocations: 11.98 kB / 0.7889 GB, free: 10.16 MB / 0.5607 GB Notification: Performance of Alias: time 0.0003292/0.004176, allocations: 265.6 kB / 0.7891 GB, free: 9.836 MB / 0.5607 GB Notification: Performance of simplify2: time 4.768e-06/0.004189, allocations: 0 / 0.7891 GB, free: 9.836 MB / 0.5607 GB Notification: Performance of Events: time 5.472e-05/0.004248, allocations: 31.92 kB / 0.7892 GB, free: 9.805 MB / 0.5607 GB Notification: Performance of Detect States: time 9.409e-05/0.004348, allocations: 62.38 kB / 0.7892 GB, free: 9.73 MB / 0.5607 GB Notification: Performance of Partitioning: time 4.892e-05/0.004404, allocations: 36.09 kB / 0.7893 GB, free: 9.688 MB / 0.5607 GB Notification: Performance of Causalize: time 0.0001777/0.004588, allocations: 172 kB / 0.7894 GB, free: 9.512 MB / 0.5607 GB Notification: Performance of After Index Reduction Inline: time 9.502e-05/0.00469, allocations: 132.3 kB / 0.7896 GB, free: 9.355 MB / 0.5607 GB Notification: Performance of Inline: time 0.0001577/0.004854, allocations: 168.4 kB / 0.7897 GB, free: 9.156 MB / 0.5607 GB Notification: Performance of Partitioning: time 1.354e-05/0.004875, allocations: 12.12 kB / 0.7897 GB, free: 9.137 MB / 0.5607 GB Notification: Performance of Cleanup: time 1.224e-05/0.004893, allocations: 15.86 kB / 0.7897 GB, free: 9.121 MB / 0.5607 GB Notification: Performance of Causalize: time 0.0002031/0.0051, allocations: 228.9 kB / 0.79 GB, free: 8.891 MB / 0.5607 GB Notification: Performance of Tearing: time 4.288e-06/0.005114, allocations: 4 kB / 0.79 GB, free: 8.887 MB / 0.5607 GB Notification: Performance of Initialization: time 3.1e-07/0.005118, allocations: 0 / 0.79 GB, free: 8.887 MB / 0.5607 GB Notification: Performance of Tearing: time 6.92e-07/0.005123, allocations: 0 / 0.79 GB, free: 8.887 MB / 0.5607 GB Notification: Performance of Categorize: time 5.621e-06/0.005132, allocations: 3.984 kB / 0.79 GB, free: 8.883 MB / 0.5607 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2011:9-2012:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for pre Notification: Performance of Solve: time 8.782e-05/0.005223, allocations: 39.91 kB / 0.79 GB, free: 8.844 MB / 0.5607 GB Notification: Performance of Jacobian: time 2.304e-06/0.005232, allocations: 0 / 0.79 GB, free: 8.844 MB / 0.5607 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {offTim1.u, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.391e-05/0.005259, allocations: 18.16 kB / 0.79 GB, free: 8.832 MB / 0.5607 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)