Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001087/0.001087, allocations: 116.5 kB / 16.43 MB, free: 6.516 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.001068/0.001068, allocations: 183.2 kB / 17.36 MB, free: 5.723 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.126/1.126, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.198/2.198, allocations: 469.8 MB / 0.7431 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.1e-05, allocations: 2.281 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.004808/0.004828, allocations: 4.443 MB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.007626, allocations: 2.181 MB / 1.072 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.007791, allocations: 15.94 kB / 1.072 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.008819, allocations: 417.2 kB / 1.073 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005417/0.009369, allocations: 362 kB / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.01005, allocations: 407.2 kB / 1.073 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007821/0.01083, allocations: 0.9192 MB / 1.074 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000532/0.01137, allocations: 395.8 kB / 1.075 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.01168, allocations: 322.8 kB / 1.075 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.01205, allocations: 334.6 kB / 1.075 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.694e-05/0.01215, allocations: 60 kB / 1.075 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.01255, allocations: 307.5 kB / 1.076 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006098/0.01317, allocations: 0.9738 MB / 1.077 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003106/0.01348, allocations: 0.6086 MB / 1.077 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.01359, allocations: 103.6 kB / 1.077 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.846e-05/0.01364, allocations: 19.88 kB / 1.077 GB, free: 1.73 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)