Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter.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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter") translateModel(AixLib.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001375, allocations: 108.1 kB / 16.42 MB, free: 6.469 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.00148/0.00148, allocations: 187.2 kB / 17.35 MB, free: 5.691 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.409/1.409, allocations: 222.9 MB / 241.1 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.05768/0.05768, allocations: 12.03 MB / 303.2 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006391/0.0006393, allocations: 23.97 kB / 356.3 MB, free: 13.96 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.589/1.589, allocations: 268.2 MB / 0.6617 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.67e-05, allocations: 2.281 kB / 0.8879 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.JSONWriter): time 0.003354/0.003388, allocations: 1.634 MB / 0.8895 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.00454, allocations: 0.5495 MB / 0.89 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.004703, allocations: 7.938 kB / 0.89 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.004989, allocations: 23.77 kB / 0.89 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.00535, allocations: 67.67 kB / 0.8901 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.005562, allocations: 59.86 kB / 0.8902 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.00585, allocations: 151.6 kB / 0.8903 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.006038, allocations: 57.39 kB / 0.8904 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.00619, allocations: 59.72 kB / 0.8904 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.006331, allocations: 63.69 kB / 0.8905 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.006371, allocations: 8 kB / 0.8905 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.006464, allocations: 27.98 kB / 0.8905 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0001607/0.006631, allocations: 197.6 kB / 0.8907 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 8.174e-05/0.006718, allocations: 141.9 kB / 0.8908 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.006762, allocations: 19.94 kB / 0.8908 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.041e-05/0.006798, allocations: 7.938 kB / 0.8909 GB, free: 1.566 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 (13) * Number of variables: 13 (7) Notification: Performance of Bindings: time 0.0006927/0.007495, allocations: 0.5875 MB / 0.8914 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 7.925e-05/0.00758, allocations: 19.94 kB / 0.8914 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.0001843/0.007771, allocations: 184.3 kB / 0.8916 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of simplify1: time 3.292e-05/0.00781, allocations: 19.97 kB / 0.8916 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of Alias: time 0.0003683/0.008186, allocations: 197.8 kB / 0.8918 GB, free: 400 kB / 0.6544 GB Notification: Performance of simplify2: time 2.238e-05/0.008219, allocations: 19.97 kB / 0.8919 GB, free: 380 kB / 0.6544 GB Notification: Performance of Detect States: time 8.061e-05/0.008305, allocations: 58.72 kB / 0.8919 GB, free: 308 kB / 0.6544 GB Notification: Performance of Events: time 0.0001036/0.008415, allocations: 47.89 kB / 0.892 GB, free: 260 kB / 0.6544 GB Notification: Performance of Partitioning: time 9.853e-05/0.00852, allocations: 80.16 kB / 0.892 GB, free: 164 kB / 0.6544 GB Notification: Performance of Causalize: time 0.0004251/0.008952, allocations: 344 kB / 0.8924 GB, free: 15.81 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0001793/0.009142, allocations: 204.3 kB / 0.8926 GB, free: 15.58 MB / 0.67 GB Notification: Performance of Inline: time 0.0006593/0.009808, allocations: 463.3 kB / 0.893 GB, free: 15.11 MB / 0.67 GB Notification: Performance of Partitioning: time 2.813e-05/0.009845, allocations: 20.12 kB / 0.893 GB, free: 15.09 MB / 0.67 GB Notification: Performance of Cleanup: time 2.635e-05/0.009877, allocations: 19.91 kB / 0.893 GB, free: 15.07 MB / 0.67 GB Notification: Performance of Causalize: time 0.0006812/0.01056, allocations: 0.532 MB / 0.8936 GB, free: 14.53 MB / 0.67 GB Notification: Performance of Tearing: time 1.096e-05/0.01058, allocations: 0 / 0.8936 GB, free: 14.53 MB / 0.67 GB Notification: Performance of Initialization: time 5.21e-07/0.01059, allocations: 0 / 0.8936 GB, free: 14.53 MB / 0.67 GB Notification: Performance of Tearing: time 3.567e-06/0.0106, allocations: 0 / 0.8936 GB, free: 14.53 MB / 0.67 GB Notification: Performance of Categorize: time 1.283e-05/0.01061, allocations: 3.938 kB / 0.8936 GB, free: 14.52 MB / 0.67 GB Notification: Performance of Solve: time 0.0001473/0.01076, allocations: 75.88 kB / 0.8936 GB, free: 14.45 MB / 0.67 GB Notification: Performance of Jacobian: time 3.437e-06/0.01077, allocations: 0 / 0.8936 GB, free: 14.45 MB / 0.67 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$TEV_2, $TEV_1, $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: ............ 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 21 (scalar:17, array:0, record:4) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.905e-05/0.01082, allocations: 24.16 kB / 0.8937 GB, free: 14.44 MB / 0.67 GB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_4) [----] AixLib.Utilities.IO.Files.BaseClasses.cacheVals(jsonWriterTerminal.jsonWri, jsonWriterTerminal.u);