Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.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.AC.ThreePhasesBalanced.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 108.1 kB / 16.38 MB, free: 5.969 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.001768/0.001768, allocations: 187.7 kB / 17.31 MB, free: 5.582 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.731/1.731, allocations: 292.3 MB / 0.5496 GB, free: 17.6 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.828e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery): time 0.007357/0.007399, allocations: 6.046 MB / 0.6788 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.01056, allocations: 2.199 MB / 0.6809 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.01075, allocations: 11.94 kB / 0.6809 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.01186, allocations: 426 kB / 0.6813 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000572/0.01244, allocations: 330.1 kB / 0.6816 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.01318, allocations: 413 kB / 0.682 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008281/0.01401, allocations: 0.9035 MB / 0.6829 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006851/0.01471, allocations: 0.5269 MB / 0.6834 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.01503, allocations: 318.8 kB / 0.6837 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003879/0.01543, allocations: 326.6 kB / 0.6841 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.658e-05/0.01551, allocations: 64 kB / 0.6841 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.0159, allocations: 295.5 kB / 0.6844 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0006652/0.01658, allocations: 0.9468 MB / 0.6853 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0003339/0.01692, allocations: 0.5894 MB / 0.6859 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.01704, allocations: 99.69 kB / 0.686 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.15e-05/0.01709, allocations: 19.88 kB / 0.686 GB, free: 8.398 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat_ideal.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)