Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.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.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat.terminal.i.1.|loa.i.1.|bat.SOC|sou.S.1.|bat.P|loa.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery") translateModel(Buildings.Electrical.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat.terminal.i.1.|loa.i.1.|bat.SOC|sou.S.1.|bat.P|loa.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001093, allocations: 110 kB / 16.42 MB, free: 6.43 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.00106/0.00106, allocations: 188.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.131/1.131, 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.174/2.174, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.266e-05, allocations: 6.219 kB / 1.055 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004778/0.004799, allocations: 4.21 MB / 1.059 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002598/0.007409, allocations: 1.948 MB / 1.061 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.007602, allocations: 15.94 kB / 1.061 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009263/0.008535, allocations: 401.9 kB / 1.061 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.008943, allocations: 238.5 kB / 1.061 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.009644, allocations: 442.1 kB / 1.062 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008123/0.01047, allocations: 0.9713 MB / 1.063 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.01151, allocations: 1.011 MB / 1.064 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.01184, allocations: 410.7 kB / 1.064 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.01225, allocations: 402.3 kB / 1.064 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.01237, allocations: 80 kB / 1.064 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.01261, allocations: 183.7 kB / 1.065 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006901/0.01331, allocations: 1.128 MB / 1.066 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003446/0.01366, allocations: 0.6969 MB / 1.066 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.786e-05/0.01377, allocations: 115.6 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001075/0.01388, allocations: 87.48 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)