Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 4.027e-05/4.028e-05, allocations: 6.219 kB / 0.5923 GB, free: 18.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.008101/0.008152, allocations: 7.32 MB / 0.5994 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1702/0.1784, allocations: 151.3 MB / 0.7471 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.1799, allocations: 23.88 kB / 0.7472 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.1816, allocations: 0.5778 MB / 0.7477 GB, free: 3.094 MB / 0.5762 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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:7:3-16:19:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource' contains a call to impure function 'Modelica.Utilities.Files.fullPathName'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-80:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-92: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46: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.002611/0.1843, allocations: 0.7234 MB / 0.7484 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.1869, allocations: 0.8968 MB / 0.7493 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4127/0.5997, allocations: 1.99 MB / 0.7512 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003014/0.6027, allocations: 1.764 MB / 0.753 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.604, allocations: 0.7651 MB / 0.7537 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009701/0.605, allocations: 0.8215 MB / 0.7545 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.6052, allocations: 181 kB / 0.7547 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.6064, allocations: 0.6055 MB / 0.7553 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001842/0.6082, allocations: 2.487 MB / 0.7577 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0009555/0.6092, allocations: 1.537 MB / 0.7592 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004797/0.6097, allocations: 276.2 kB / 0.7595 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003473/0.61, allocations: 62.78 kB / 0.7595 GB, free: 2.379 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 (361) * Number of variables: 404 (354) Notification: Performance of Bindings: time 0.007929/0.618, allocations: 7.503 MB / 0.7669 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001275/0.6193, allocations: 1.378 MB / 0.7682 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.005967/0.6252, allocations: 5.961 MB / 0.774 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0005982/0.6259, allocations: 482.1 kB / 0.7745 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of Alias: time 0.009535/0.6354, allocations: 8.641 MB / 0.7829 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0004174/0.6358, allocations: 351.9 kB / 0.7833 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of Events: time 0.001008/0.6368, allocations: 0.8475 MB / 0.7841 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0008885/0.6377, allocations: 0.9742 MB / 0.785 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001384/0.6391, allocations: 1.43 MB / 0.7864 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of Causalize: time 0.009858/0.649, allocations: 9.635 MB / 0.7958 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.003465/0.6525, allocations: 3.27 MB / 0.799 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of Inline: time 0.00658/0.6591, allocations: 6.362 MB / 0.8053 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0002918/0.6594, allocations: 253.9 kB / 0.8055 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0006534/0.66, allocations: 0.6867 MB / 0.8062 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of Causalize: time 0.02123/0.6813, allocations: 23.3 MB / 0.8289 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of Tearing: time 0.001389/0.6827, allocations: 1.369 MB / 0.8303 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of Initialization: time 1.022e-06/0.6827, allocations: 0 / 0.8303 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of Tearing: time 0.0009694/0.6837, allocations: 1.127 MB / 0.8314 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of Categorize: time 4.755e-05/0.6838, allocations: 11.94 kB / 0.8314 GB, free: 3.262 MB / 0.6075 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.con.i[2] ### Equation: [SCAL] (1) 0.0 = sum(pv.con.i) ($RES_$AUX_436) slice: {}