Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001104/0.001105, allocations: 104.2 kB / 16.42 MB, free: 6.484 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.001064/0.001064, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.147/1.147, allocations: 222.9 MB / 241 MB, free: 14.96 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.098/2.098, allocations: 437 MB / 0.7111 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.309e-05, allocations: 2.281 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004679/0.0047, allocations: 4.226 MB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.007453, allocations: 1.948 MB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.007694, allocations: 15.94 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.008745, allocations: 407 kB / 1.026 GB, free: 2.875 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.009159, allocations: 238.5 kB / 1.026 GB, free: 2.641 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.009867, allocations: 451.5 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008143/0.01069, allocations: 0.9829 MB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.01172, allocations: 1.003 MB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.01208, allocations: 418.8 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.0125, allocations: 398.2 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.01261, allocations: 76 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.01287, allocations: 183.7 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.0006385/0.01351, allocations: 1.124 MB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.000345/0.01386, allocations: 0.6969 MB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.01398, allocations: 111.6 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0001061/0.01409, allocations: 87.47 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)