Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleStackCycling.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/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/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(ElectricalEnergyStorage.Examples.SimpleStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleStackCycling") translateModel(ElectricalEnergyStorage.Examples.SimpleStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleStackCycling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 107.8 kB / 16.42 MB, free: 6.512 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.001266/0.001266, allocations: 196.2 kB / 17.35 MB, free: 5.754 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.64/1.64, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04576/0.04576, allocations: 7.03 MB / 277.6 MB, free: 4.973 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.844e-05, allocations: 3.125 kB / 385.9 MB, free: 48.13 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.SimpleStackCycling): time 0.009623/0.00966, allocations: 7.194 MB / 393.1 MB, free: 43.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009345/0.01905, allocations: 3.872 MB / 397 MB, free: 40.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.02191, allocations: 35.38 kB / 397 MB, free: 40.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.03334, allocations: 7.27 MB / 404.3 MB, free: 38.07 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.008663/0.04214, allocations: 6.839 MB / 411.1 MB, free: 32.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.04479, allocations: 0.7906 MB / 411.9 MB, free: 31.53 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(1.0, 1)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.iOut.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(1.0, 1)) as default value. Notification: Performance of NFFlatten.flatten: time 0.008971/0.05377, allocations: 5.506 MB / 417.4 MB, free: 26.02 MB / 318.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFConnection.mo:134:7-136:109:writable] Error: Internal error NFConnection.checkBalance got unbalanced connection connect(cycler.singleCellBus[:, 1], cycler.vOut.controlBus): lhs: {cycler.singleCellBus[:, 1].T, cycler.singleCellBus[:, 1].i, cycler.singleCellBus[:, 1].v} rhs: {cycler.vOut.controlBus.v}