Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0008999/0.0009, allocations: 113.1 kB / 16.43 MB, free: 6.492 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.0008341/0.0008344, allocations: 185.5 kB / 17.35 MB, free: 5.742 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.108/1.108, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.158/2.158, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.202e-05, allocations: 2.281 kB / 1.055 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.004771/0.004791, allocations: 4.443 MB / 1.059 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.007739, allocations: 2.185 MB / 1.061 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.008007, allocations: 11.94 kB / 1.061 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.009033, allocations: 418.1 kB / 1.062 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000616/0.009658, allocations: 342.1 kB / 1.062 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.01042, allocations: 425.6 kB / 1.062 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008418/0.01127, allocations: 0.9076 MB / 1.063 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006481/0.01193, allocations: 0.5308 MB / 1.064 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.01228, allocations: 322.8 kB / 1.064 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.01269, allocations: 334.6 kB / 1.064 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.765e-05/0.01279, allocations: 60 kB / 1.064 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.0132, allocations: 299.5 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0005874/0.01379, allocations: 0.9816 MB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.000334/0.01414, allocations: 0.6047 MB / 1.066 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.01426, allocations: 107.7 kB / 1.066 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.768e-05/0.01432, allocations: 23.81 kB / 1.066 GB, free: 11.79 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat_ideal.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)