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.001704/0.001704, allocations: 107.2 kB / 16.42 MB, free: 6.48 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.001402/0.001402, allocations: 190 kB / 17.36 MB, free: 5.703 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.564/1.564, 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.0609/0.0609, allocations: 7.033 MB / 277.6 MB, free: 4.969 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.773e-05/4.774e-05, allocations: 3.859 kB / 385.9 MB, free: 48.16 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=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=1) as default value. Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.SimpleStackCycling): time 0.01042/0.01048, allocations: 7.185 MB / 393.1 MB, free: 43.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007284/0.01778, allocations: 3.873 MB / 397 MB, free: 40.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.01934, allocations: 34.78 kB / 397 MB, free: 40.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009253/0.0286, allocations: 7.271 MB / 404.3 MB, free: 38.1 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.006816/0.03546, allocations: 6.868 MB / 411.1 MB, free: 32.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.03763, allocations: 0.796 MB / 411.9 MB, free: 31.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006278/0.04392, allocations: 5.5 MB / 417.4 MB, free: 25.99 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}