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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001084/0.001088, allocations: 108.6 kB / 16.42 MB, free: 6.52 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.001071/0.001071, allocations: 183.1 kB / 17.35 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.11/1.11, 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 12.0.0-master/package.mo): time 2.167/2.167, allocations: 472.7 MB / 0.746 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.043e-05, allocations: 4.812 kB / 1.07 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004515/0.004533, allocations: 4.213 MB / 1.074 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.007025, allocations: 1.951 MB / 1.076 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.007206, allocations: 15.94 kB / 1.076 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009158/0.008128, allocations: 397.9 kB / 1.077 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.008533, allocations: 234.5 kB / 1.077 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.00921, allocations: 450.2 kB / 1.077 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000788/0.01001, allocations: 0.979 MB / 1.078 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.01103, allocations: 1.011 MB / 1.079 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.371/0.3821, allocations: 411.9 kB / 1.079 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007817/0.3829, allocations: 402.8 kB / 1.08 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.3832, allocations: 79.06 kB / 1.08 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.3837, allocations: 182.2 kB / 1.08 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0008251/0.3845, allocations: 1.122 MB / 1.081 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003503/0.3848, allocations: 0.7001 MB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.3851, allocations: 114.9 kB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0002097/0.3853, allocations: 79.97 kB / 1.082 GB, free: 11.2 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)