Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.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.Electrical.PVSystem.Examples.ExamplePVSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem") translateModel(AixLib.Electrical.PVSystem.Examples.ExamplePVSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 103.2 kB / 16.37 MB, free: 6.363 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.001084/0.001084, allocations: 189.2 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.175/1.175, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05237/0.05237, allocations: 12.02 MB / 303.2 MB, free: 3.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004268/0.0004268, allocations: 23.97 kB / 356.3 MB, free: 14.01 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.674/1.674, allocations: 272.3 MB / 0.6656 GB, free: 18.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/1.898e-05, allocations: 2.281 kB / 0.7863 GB, free: 12.96 MB / 0.5607 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.PVSystem.Examples.ExamplePVSystem): time 0.006493/0.006524, allocations: 5.971 MB / 0.7921 GB, free: 6.953 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.4021/0.4087, allocations: 151.4 MB / 0.94 GB, free: 40.47 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.4097, allocations: 15.66 kB / 0.94 GB, free: 40.47 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.4107, allocations: 332.8 kB / 0.9403 GB, free: 40.47 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.4126, allocations: 0.6412 MB / 0.941 GB, free: 40.46 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.4144, allocations: 1.053 MB / 0.942 GB, free: 40.46 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.001451/0.4158, allocations: 2.07 MB / 0.944 GB, free: 40.44 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.4165, allocations: 0.7363 MB / 0.9447 GB, free: 40.37 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006583/0.4172, allocations: 0.7338 MB / 0.9455 GB, free: 40.37 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.4178, allocations: 0.7828 MB / 0.9462 GB, free: 40.37 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.4179, allocations: 169.9 kB / 0.9464 GB, free: 40.36 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007769/0.4187, allocations: 0.6262 MB / 0.947 GB, free: 40.35 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.001088/0.4198, allocations: 2.37 MB / 0.9493 GB, free: 39.57 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.0003869/0.4202, allocations: 1.415 MB / 0.9507 GB, free: 38.61 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.4204, allocations: 234 kB / 0.9509 GB, free: 38.56 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0001945/0.4206, allocations: 64.16 kB / 0.951 GB, free: 38.54 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: 272 (245) * Number of variables: 272 (245) Notification: Performance of Bindings: time 0.003758/0.4244, allocations: 7.147 MB / 0.958 GB, free: 35.83 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.001284/0.4257, allocations: 1.719 MB / 0.9596 GB, free: 35.29 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.003149/0.4288, allocations: 4.315 MB / 0.9638 GB, free: 35 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0002928/0.4291, allocations: 354.9 kB / 0.9642 GB, free: 34.99 MB / 0.6857 GB Notification: Performance of Alias: time 0.005917/0.435, allocations: 6.392 MB / 0.9704 GB, free: 32.99 MB / 0.6857 GB Notification: Performance of simplify2: time 0.000328/0.4354, allocations: 282.9 kB / 0.9707 GB, free: 32.98 MB / 0.6857 GB Notification: Performance of Events: time 0.0007224/0.4361, allocations: 0.7642 MB / 0.9714 GB, free: 32.82 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0007371/0.4369, allocations: 0.8677 MB / 0.9723 GB, free: 32.74 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.001136/0.438, allocations: 1.28 MB / 0.9735 GB, free: 32.41 MB / 0.6857 GB Notification: Performance of Causalize: time 0.0067/0.4447, allocations: 8.049 MB / 0.9814 GB, free: 31.17 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.002499/0.4472, allocations: 2.929 MB / 0.9843 GB, free: 30.75 MB / 0.6857 GB Notification: Performance of Inline: time 0.00528/0.4525, allocations: 6.302 MB / 0.9904 GB, free: 27.11 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0002782/0.4528, allocations: 317 kB / 0.9907 GB, free: 26.9 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.000219/0.453, allocations: 253.5 kB / 0.991 GB, free: 26.77 MB / 0.6857 GB Notification: Performance of Causalize: time 0.008515/0.4616, allocations: 14.08 MB / 1.005 GB, free: 21.38 MB / 0.6857 GB Notification: Performance of Tearing: time 0.0002083/0.4618, allocations: 326.2 kB / 1.005 GB, free: 21.12 MB / 0.6857 GB Notification: Performance of Initialization: time 9.82e-07/0.4618, allocations: 4 kB / 1.005 GB, free: 21.11 MB / 0.6857 GB Notification: Performance of Tearing: time 0.000152/0.4619, allocations: 335.3 kB / 1.005 GB, free: 20.84 MB / 0.6857 GB Notification: Performance of Categorize: time 2.945e-05/0.462, allocations: 10.09 kB / 1.005 GB, free: 20.84 MB / 0.6857 GB Notification: Performance of Solve: time 0.001633/0.4636, allocations: 2.06 MB / 1.007 GB, free: 19.36 MB / 0.6857 GB Notification: Performance of Jacobian: time 4.449e-06/0.4636, allocations: 3.984 kB / 1.007 GB, free: 19.36 MB / 0.6857 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: ......... 11 * 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: .................... 2 (2) {weaDat.conTim.tNext, weaDat.conTimMin.tNext} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 54 (54) {$SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 199 (scalar:199, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 0, nonlinear:5) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 299 (scalar:296, array:1, record:2) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 0, nonlinear:5) Notification: Performance of backend: time 6.247e-05/0.4637, allocations: 92.25 kB / 1.007 GB, free: 19.29 MB / 0.6857 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_18)