Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001333/0.001333, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001342/0.001342, allocations: 185.5 kB / 17.36 MB, free: 5.73 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.116/1.116, allocations: 222.9 MB / 241 MB, free: 15.14 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.024e-05/1.025e-05, allocations: 4.672 kB / 0.9514 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004543/0.004561, allocations: 4.215 MB / 0.9556 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.00703, allocations: 1.948 MB / 0.9575 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.007203, allocations: 15.94 kB / 0.9575 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008879/0.008097, allocations: 397.9 kB / 0.9579 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.008492, allocations: 242.6 kB / 0.9581 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.009164, allocations: 439.2 kB / 0.9585 GB, free: 440 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007863/0.009961, allocations: 0.9829 MB / 0.9595 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009638/0.01093, allocations: 1.011 MB / 0.9605 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.01126, allocations: 414.7 kB / 0.9608 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.01165, allocations: 402.3 kB / 0.9612 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.287e-05/0.01174, allocations: 76 kB / 0.9613 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.01196, allocations: 187.7 kB / 0.9615 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0006306/0.0126, allocations: 1.132 MB / 0.9626 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0003176/0.01292, allocations: 0.6853 MB / 0.9633 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.01303, allocations: 119.6 kB / 0.9634 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 9.932e-05/0.01313, allocations: 79.48 kB / 0.9634 GB, free: 11.34 MB / 0.7481 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)