Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop.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.Communication.SocketCommunication.Examples.ExampleClientLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop") translateModel(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 107.5 kB / 16.42 MB, free: 6.465 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.001445/0.001445, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05467/0.05467, allocations: 12.03 MB / 303.2 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004801/0.0004797, allocations: 15.98 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.008/2.008, allocations: 272.3 MB / 0.6657 GB, free: 18.48 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.002e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.22 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop): time 0.00365/0.003688, allocations: 2.55 MB / 0.8959 GB, free: 12.64 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.005, allocations: 0.7832 MB / 0.8966 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-05/0.005102, allocations: 3.938 kB / 0.8966 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.005274, allocations: 27.8 kB / 0.8967 GB, free: 11.83 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.005388, allocations: 27.72 kB / 0.8967 GB, free: 11.8 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.005897, allocations: 167.5 kB / 0.8969 GB, free: 11.64 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.006184, allocations: 199.4 kB / 0.897 GB, free: 11.44 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.006336, allocations: 41.48 kB / 0.8971 GB, free: 11.4 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.00645, allocations: 75.69 kB / 0.8972 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.00658, allocations: 87.59 kB / 0.8972 GB, free: 11.24 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.00662, allocations: 16 kB / 0.8973 GB, free: 11.22 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.006732, allocations: 51.97 kB / 0.8973 GB, free: 11.17 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.0001915/0.006932, allocations: 245.2 kB / 0.8975 GB, free: 10.93 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 8.485e-05/0.007023, allocations: 141.8 kB / 0.8977 GB, free: 10.79 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.007083, allocations: 23.88 kB / 0.8977 GB, free: 10.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.316e-05/0.007122, allocations: 4 kB / 0.8977 GB, free: 10.76 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 (19) * Number of variables: 20 (20) Notification: Performance of Bindings: time 0.0007792/0.007911, allocations: 0.7485 MB / 0.8984 GB, free: 9.91 MB / 0.67 GB Notification: Performance of FunctionAlias: time 3.009e-05/0.007948, allocations: 19.88 kB / 0.8985 GB, free: 9.891 MB / 0.67 GB Notification: Performance of Early Inline: time 0.0003433/0.008297, allocations: 388.1 kB / 0.8988 GB, free: 9.484 MB / 0.67 GB Notification: Performance of simplify1: time 2.72e-05/0.008333, allocations: 23.97 kB / 0.8988 GB, free: 9.461 MB / 0.67 GB Notification: Performance of Alias: time 0.0005464/0.008885, allocations: 394.6 kB / 0.8992 GB, free: 9.008 MB / 0.67 GB Notification: Performance of simplify2: time 2.262e-05/0.008919, allocations: 23.91 kB / 0.8992 GB, free: 8.984 MB / 0.67 GB Notification: Performance of Events: time 0.0001714/0.009096, allocations: 102.7 kB / 0.8993 GB, free: 8.887 MB / 0.67 GB Notification: Performance of Detect States: time 0.0002523/0.009356, allocations: 209 kB / 0.8995 GB, free: 8.668 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0001531/0.009518, allocations: 136.2 kB / 0.8997 GB, free: 8.52 MB / 0.67 GB Notification: Performance of Causalize: time 0.0005127/0.01004, allocations: 425.5 kB / 0.9001 GB, free: 8.09 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0003734/0.01042, allocations: 424.2 kB / 0.9005 GB, free: 7.648 MB / 0.67 GB Notification: Performance of Inline: time 0.000639/0.01107, allocations: 0.6197 MB / 0.9011 GB, free: 7 MB / 0.67 GB Notification: Performance of Partitioning: time 4.097e-05/0.01112, allocations: 37.23 kB / 0.9011 GB, free: 6.957 MB / 0.67 GB Notification: Performance of Cleanup: time 7.663e-05/0.0112, allocations: 79.92 kB / 0.9012 GB, free: 6.875 MB / 0.67 GB Notification: Performance of Causalize: time 0.0024/0.01361, allocations: 2.145 MB / 0.9033 GB, free: 4.715 MB / 0.67 GB Notification: Performance of Tearing: time 8.286e-06/0.01363, allocations: 0 / 0.9033 GB, free: 4.715 MB / 0.67 GB Notification: Performance of Initialization: time 9.52e-07/0.01363, allocations: 0 / 0.9033 GB, free: 4.715 MB / 0.67 GB Notification: Performance of Tearing: time 4.128e-06/0.01364, allocations: 3.938 kB / 0.9033 GB, free: 4.711 MB / 0.67 GB Notification: Performance of Categorize: time 1.156e-05/0.01366, allocations: 8 kB / 0.9033 GB, free: 4.703 MB / 0.67 GB Notification: Performance of Solve: time 0.0001699/0.01383, allocations: 85.61 kB / 0.9034 GB, free: 4.617 MB / 0.67 GB Notification: Performance of Jacobian: time 0.0003174/0.01416, allocations: 338.2 kB / 0.9037 GB, free: 4.246 MB / 0.67 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {system.y} * Number of discrete states: .................... 4 (4) {tCPCommunicatorExample.firstTrigger, tCPCommunicatorExample.isConnected, pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 10 (10) {tCPCommunicatorExample.sampleTrigger, tCPCommunicatorExample.y, tCPCommunicatorExample.stateExample, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $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: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:1, when:4, 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: ........... 31 (scalar:27, array:1, record:3) * Number of multi strong components: ............ 2 (algorithm:2, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:27, array:1, record:3) * Number of multi strong components: ............ 2 (algorithm:2, 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 0.0001232/0.01429, allocations: 37.77 kB / 0.9037 GB, free: 4.219 MB / 0.67 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false