Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001113/0.001113, allocations: 116.4 kB / 16.43 MB, free: 6.477 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.001078/0.001078, allocations: 185.5 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.14/1.14, 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.241/2.241, allocations: 469.8 MB / 0.7432 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.831e-05, allocations: 2.281 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004826/0.004852, allocations: 4.218 MB / 1.07 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.007641, allocations: 1.944 MB / 1.072 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.007844, allocations: 15.94 kB / 1.072 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009669/0.008817, allocations: 405.8 kB / 1.072 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.009266, allocations: 238.6 kB / 1.072 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.01002, allocations: 443.2 kB / 1.073 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008493/0.01088, allocations: 0.979 MB / 1.074 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009261/0.01182, allocations: 0.8549 MB / 1.075 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.01217, allocations: 418.7 kB / 1.075 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.01257, allocations: 390.4 kB / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.864e-05/0.01268, allocations: 84 kB / 1.076 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.01295, allocations: 187.7 kB / 1.076 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006562/0.01362, allocations: 1.124 MB / 1.077 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003356/0.01396, allocations: 0.6891 MB / 1.077 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.01406, allocations: 115.6 kB / 1.078 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001298/0.0142, allocations: 83.47 kB / 1.078 GB, free: 1.418 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)