Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 107.9 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.00119/0.00119, allocations: 187.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.309/1.309, allocations: 251.7 MB / 0.51 GB, free: 448 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.479e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.009166/0.009188, allocations: 8.09 MB / 0.7343 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4999/0.5091, allocations: 151.9 MB / 0.8826 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.5105, allocations: 35.81 kB / 0.8827 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.5127, allocations: 0.6739 MB / 0.8833 GB, free: 13.01 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002838/0.5156, allocations: 0.7145 MB / 0.884 GB, free: 12.32 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.5185, allocations: 1.148 MB / 0.8851 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002971/0.5215, allocations: 2.256 MB / 0.8873 GB, free: 8.938 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002834/0.5244, allocations: 2.105 MB / 0.8894 GB, free: 6.801 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.5255, allocations: 0.8563 MB / 0.8902 GB, free: 5.941 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.5267, allocations: 0.875 MB / 0.8911 GB, free: 5.059 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.5271, allocations: 220 kB / 0.8913 GB, free: 4.844 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.5283, allocations: 0.6204 MB / 0.8919 GB, free: 4.223 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.002003/0.5303, allocations: 2.763 MB / 0.8946 GB, free: 1.434 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0011/0.5314, allocations: 1.722 MB / 0.8963 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005922/0.532, allocations: 311 kB / 0.8966 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of FrontEnd: time 0.0003722/0.5324, allocations: 79.44 kB / 0.8967 GB, free: 15.3 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 (390) * Number of variables: 435 (383) Notification: Performance of Bindings: time 0.008439/0.5409, allocations: 8.796 MB / 0.9052 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of FunctionAlias: time 0.001479/0.5423, allocations: 1.243 MB / 0.9065 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of Early Inline: time 0.007404/0.5498, allocations: 6.324 MB / 0.9126 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of simplify1: time 0.0004567/0.5502, allocations: 455.4 kB / 0.9131 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of Alias: time 0.009778/0.56, allocations: 9.833 MB / 0.9227 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of simplify2: time 0.0003874/0.5604, allocations: 307.6 kB / 0.923 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of Events: time 0.0009475/0.5614, allocations: 0.8439 MB / 0.9238 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of Detect States: time 0.0009026/0.5623, allocations: 0.9932 MB / 0.9248 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of Partitioning: time 0.001338/0.5636, allocations: 1.446 MB / 0.9262 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of Causalize: time 0.009022/0.5727, allocations: 9.673 MB / 0.9356 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of After Index Reduction Inline: time 0.003529/0.5762, allocations: 3.281 MB / 0.9388 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of Inline: time 0.008412/0.5846, allocations: 6.584 MB / 0.9453 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0003524/0.585, allocations: 272.1 kB / 0.9455 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of Cleanup: time 0.001146/0.5862, allocations: 0.6908 MB / 0.9462 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of Causalize: time 0.02366/0.6098, allocations: 24.68 MB / 0.9703 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of Tearing: time 0.001438/0.6113, allocations: 1.528 MB / 0.9718 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of Initialization: time 1.373e-06/0.6113, allocations: 0 / 0.9718 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of Tearing: time 0.001071/0.6124, allocations: 1.254 MB / 0.973 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of Categorize: time 4.118e-05/0.6125, allocations: 8.031 kB / 0.973 GB, free: 1.113 MB / 0.7481 GB Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Sliced Component (status = Solve.UNSOLVABLE) ----------------------------------------------------- ### Variable: pv.panel.con.i[2] ### Equation: [SCAL] (1) 0.0 = sum(pv.panel.con.i) ($RES_$AUX_446) slice: {}