Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Storage.Examples.Battery") translateModel(Buildings.Electrical.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0012/0.0012, allocations: 104.6 kB / 16.38 MB, free: 6.438 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.001194/0.001194, allocations: 192.4 kB / 17.32 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.6 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.399e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.005458/0.005497, allocations: 4.188 MB / 0.6769 GB, free: 1.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.008616, allocations: 1.995 MB / 0.6789 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.00891, allocations: 15.94 kB / 0.6789 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.00997, allocations: 393.6 kB / 0.6793 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.01051, allocations: 234.6 kB / 0.6795 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/0.01143, allocations: 439.2 kB / 0.6799 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008972/0.01234, allocations: 0.9635 MB / 0.6809 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.0135, allocations: 1.003 MB / 0.6818 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/0.01389, allocations: 406.7 kB / 0.6822 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004453/0.01434, allocations: 394.3 kB / 0.6826 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.261e-05/0.01444, allocations: 80 kB / 0.6827 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.01474, allocations: 179.7 kB / 0.6829 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0006876/0.01544, allocations: 1.109 MB / 0.6839 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0003603/0.0158, allocations: 0.6892 MB / 0.6846 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.01593, allocations: 115.6 kB / 0.6847 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001295/0.01607, allocations: 59.56 kB / 0.6848 GB, free: 9.586 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)