Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.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.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") [/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 2.438e-05/2.439e-05, allocations: 2.5 kB / 0.5923 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.004744/0.004779, allocations: 4.391 MB / 0.5965 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.007742, allocations: 2.369 MB / 0.5989 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.007957, allocations: 11.94 kB / 0.5989 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.008983, allocations: 414.1 kB / 0.5993 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.009639, allocations: 378 kB / 0.5996 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.01045, allocations: 422.2 kB / 0.6 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007169/0.01117, allocations: 0.9035 MB / 0.6009 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006118/0.01179, allocations: 0.5348 MB / 0.6014 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.01205, allocations: 310.9 kB / 0.6017 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.01243, allocations: 342.6 kB / 0.6021 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.01251, allocations: 60 kB / 0.6021 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.0129, allocations: 295.5 kB / 0.6024 GB, free: 8.496 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0004468/0.01335, allocations: 0.9351 MB / 0.6033 GB, free: 7.551 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002184/0.01358, allocations: 0.5777 MB / 0.6039 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.01367, allocations: 95.69 kB / 0.604 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.9e-05/0.01372, allocations: 27.75 kB / 0.604 GB, free: 6.844 MB / 446.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat_ideal.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)