Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.IO.Files.Examples.JSONWriter") translateModel(AixLib.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001315/0.001315, allocations: 105.4 kB / 16.42 MB, free: 6.512 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.001401/0.001401, allocations: 193.4 kB / 17.35 MB, free: 5.754 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.371/1.371, 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.05473/0.05473, allocations: 12.03 MB / 303.2 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005207/0.0005207, allocations: 23.94 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.048/2.048, allocations: 272.3 MB / 0.6657 GB, free: 18.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.292e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.IO.Files.Examples.JSONWriter): time 0.00269/0.002721, allocations: 1.634 MB / 0.895 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.003631, allocations: 0.5495 MB / 0.8955 GB, free: 12.99 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.003728, allocations: 3.938 kB / 0.8955 GB, free: 12.99 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.003925, allocations: 23.8 kB / 0.8956 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.004222, allocations: 71.17 kB / 0.8956 GB, free: 12.9 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.004384, allocations: 67.84 kB / 0.8957 GB, free: 12.83 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000239/0.004631, allocations: 151.6 kB / 0.8958 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.004811, allocations: 49.42 kB / 0.8959 GB, free: 12.63 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.004944, allocations: 59.7 kB / 0.8959 GB, free: 12.57 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.00507, allocations: 67.69 kB / 0.896 GB, free: 12.51 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.005108, allocations: 8 kB / 0.896 GB, free: 12.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.005181, allocations: 23.98 kB / 0.896 GB, free: 12.48 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.0001849/0.005372, allocations: 205.5 kB / 0.8962 GB, free: 12.27 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 7.979e-05/0.005458, allocations: 130 kB / 0.8963 GB, free: 12.14 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.005497, allocations: 23.88 kB / 0.8964 GB, free: 12.12 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.045e-05/0.005523, allocations: 4 kB / 0.8964 GB, free: 12.12 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: 13 (13) * Number of variables: 13 (7) Notification: Performance of Bindings: time 0.0006771/0.006204, allocations: 0.5952 MB / 0.897 GB, free: 11.42 MB / 0.67 GB Notification: Performance of FunctionAlias: time 7.349e-05/0.006283, allocations: 31.88 kB / 0.897 GB, free: 11.39 MB / 0.67 GB Notification: Performance of Early Inline: time 0.0001772/0.006467, allocations: 176.3 kB / 0.8972 GB, free: 11.19 MB / 0.67 GB Notification: Performance of simplify1: time 2.55e-05/0.0065, allocations: 11.97 kB / 0.8972 GB, free: 11.18 MB / 0.67 GB Notification: Performance of Alias: time 0.0003354/0.00684, allocations: 205.8 kB / 0.8974 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simplify2: time 1.671e-05/0.006866, allocations: 11.98 kB / 0.8974 GB, free: 10.92 MB / 0.67 GB Notification: Performance of Events: time 9.225e-05/0.006964, allocations: 47.81 kB / 0.8974 GB, free: 10.87 MB / 0.67 GB Notification: Performance of Detect States: time 9.924e-05/0.00707, allocations: 73.16 kB / 0.8975 GB, free: 10.79 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0001066/0.007183, allocations: 92.14 kB / 0.8976 GB, free: 10.68 MB / 0.67 GB Notification: Performance of Causalize: time 0.0004175/0.007607, allocations: 332.2 kB / 0.8979 GB, free: 10.34 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0001949/0.007811, allocations: 200.3 kB / 0.8981 GB, free: 10.12 MB / 0.67 GB Notification: Performance of Inline: time 0.0005315/0.008349, allocations: 448.2 kB / 0.8985 GB, free: 9.66 MB / 0.67 GB Notification: Performance of Partitioning: time 3.139e-05/0.008391, allocations: 28.11 kB / 0.8985 GB, free: 9.625 MB / 0.67 GB Notification: Performance of Cleanup: time 1.688e-05/0.008414, allocations: 15.92 kB / 0.8986 GB, free: 9.609 MB / 0.67 GB Notification: Performance of Causalize: time 0.0006543/0.009072, allocations: 0.5309 MB / 0.8991 GB, free: 9.07 MB / 0.67 GB Notification: Performance of Tearing: time 7.654e-06/0.009091, allocations: 4 kB / 0.8991 GB, free: 9.066 MB / 0.67 GB Notification: Performance of Initialization: time 3.41e-07/0.009097, allocations: 0 / 0.8991 GB, free: 9.066 MB / 0.67 GB Notification: Performance of Tearing: time 2.344e-06/0.009104, allocations: 0 / 0.8991 GB, free: 9.066 MB / 0.67 GB Notification: Performance of Categorize: time 1.254e-05/0.009121, allocations: 3.938 kB / 0.8991 GB, free: 9.062 MB / 0.67 GB Notification: Performance of Solve: time 0.0001564/0.009282, allocations: 71.88 kB / 0.8991 GB, free: 8.992 MB / 0.67 GB Notification: Performance of Jacobian: time 5.54e-06/0.009295, allocations: 4 kB / 0.8992 GB, free: 8.988 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 4.826e-05/0.009348, allocations: 13.28 kB / 0.8992 GB, free: 8.984 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);