Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat_loss_acdc.SOC|bat_ideal.SOC|bat.SOC",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat_loss_acdc.SOC|bat_ideal.SOC|bat.SOC",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 111.1 kB / 16.42 MB, free: 6.508 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.001145/0.001144, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.115/1.115, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.863/1.863, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.492e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.004854/0.004876, allocations: 4.451 MB / 0.9558 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002926/0.007814, allocations: 2.174 MB / 0.9579 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.008058, allocations: 11.94 kB / 0.9579 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.009074, allocations: 430 kB / 0.9583 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000632/0.009714, allocations: 358 kB / 0.9587 GB, free: 268 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.01047, allocations: 414.5 kB / 0.9591 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008288/0.01131, allocations: 0.9192 MB / 0.96 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006225/0.01194, allocations: 0.5152 MB / 0.9605 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.01229, allocations: 322.8 kB / 0.9608 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.01268, allocations: 334.6 kB / 0.9611 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.972e-05/0.01277, allocations: 64 kB / 0.9612 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/0.01316, allocations: 303.5 kB / 0.9614 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0005978/0.01376, allocations: 0.9738 MB / 0.9624 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0003036/0.01407, allocations: 0.6086 MB / 0.963 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 9.126e-05/0.01417, allocations: 103.7 kB / 0.9631 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.471e-05/0.01423, allocations: 23.81 kB / 0.9631 GB, free: 11.69 MB / 0.7481 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat_ideal.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)