Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat_loss_acdc.SOC|bat_ideal.SOC|bat.SOC",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat_loss_acdc.SOC|bat_ideal.SOC|bat.SOC",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 109.9 kB / 16.42 MB, free: 6.523 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.001058/0.001058, allocations: 188.2 kB / 17.36 MB, free: 5.746 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.149/1.149, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.128/2.128, allocations: 437 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.801e-05, allocations: 2.281 kB / 1.019 GB, free: 9.512 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.005416/0.005442, allocations: 4.458 MB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003363/0.00882, allocations: 2.167 MB / 1.026 GB, free: 2.855 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.009192, allocations: 11.94 kB / 1.026 GB, free: 2.844 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.01037, allocations: 426.5 kB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008042/0.01119, allocations: 350.1 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.01212, allocations: 422.1 kB / 1.027 GB, free: 1.672 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.01314, allocations: 0.9074 MB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006562/0.01381, allocations: 0.5387 MB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.01416, allocations: 314.9 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003793/0.01455, allocations: 334.5 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.01464, allocations: 64 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.0151, allocations: 303.5 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.0005922/0.0157, allocations: 0.9816 MB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0003186/0.01603, allocations: 0.6008 MB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.01613, allocations: 103.7 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.647e-05/0.0162, allocations: 23.81 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat_ideal.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)