Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.EspressoMachine.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Examples.EspressoMachine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PID1.I.y|PID2.I.y|PID3.I.y|Tasse.sink.inlet.m_flow|Tasse.x|Tasse1.x|Time|boiler.phaseSeparator2_1.M|boiler.phaseSeparator2_1.U_med|brewing_head.T|conductionElement1.h|espressoValve.T_start|espressoValve.count|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder7.y|hex.M|hex.U_med|hex.m_flow_in|hex.m_flow_out|pump.m_flow|pump1.m_flow|steamSink1.x|steam_valve.T_start|steam_valve.count|steam_valve1.T_start|steam_valve1.count|tanValve1.inlet.m_flow|tanValve6.inlet.m_flow|waterSink.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.EspressoMachine") translateModel(ThermofluidStream.Examples.EspressoMachine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PID1.I.y|PID2.I.y|PID3.I.y|Tasse.sink.inlet.m_flow|Tasse.x|Tasse1.x|Time|boiler.phaseSeparator2_1.M|boiler.phaseSeparator2_1.U_med|brewing_head.T|conductionElement1.h|espressoValve.T_start|espressoValve.count|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder7.y|hex.M|hex.U_med|hex.m_flow_in|hex.m_flow_out|pump.m_flow|pump1.m_flow|steamSink1.x|steam_valve.T_start|steam_valve.count|steam_valve1.T_start|steam_valve1.count|tanValve1.inlet.m_flow|tanValve6.inlet.m_flow|waterSink.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.EspressoMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 103.3 kB / 16.37 MB, free: 6.367 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.001218/0.001219, allocations: 195.4 kB / 17.31 MB, free: 5.91 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7803/0.7803, allocations: 89.5 MB / 380.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.504e-05/3.523e-05, allocations: 5.094 kB / 459.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.EspressoMachine): time 0.5278/0.5279, allocations: 267.4 MB / 0.71 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4902/1.018, allocations: 97.95 MB / 0.8056 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007253/1.025, allocations: 80.41 kB / 0.8057 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01176/1.037, allocations: 3.469 MB / 0.8091 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0295/1.067, allocations: 7.977 MB / 0.8169 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02434/1.091, allocations: 7.392 MB / 0.8241 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01461/1.106, allocations: 8.093 MB / 0.832 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003845/1.11, allocations: 2.22 MB / 0.8342 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01971/1.129, allocations: 9.377 MB / 0.8433 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007015/1.136, allocations: 2.945 MB / 0.8462 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00188/1.138, allocations: 0.5156 MB / 0.8467 GB, free: 480 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03469/1.173, allocations: 11.6 MB / 0.858 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0118/1.185, allocations: 9.023 MB / 0.8668 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.006703/1.192, allocations: 5.77 MB / 0.8725 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003301/1.195, allocations: 0.8882 MB / 0.8733 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.001491/1.196, allocations: 161.8 kB / 0.8735 GB, free: 7.598 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1151 (986) * Number of variables: 1161 (1103) Notification: Performance of Bindings: time 0.0362/1.233, allocations: 29.63 MB / 0.9024 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.005091/1.238, allocations: 3.112 MB / 0.9055 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.02351/1.261, allocations: 15.35 MB / 0.9204 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of simplify1: time 0.002129/1.264, allocations: 0.9579 MB / 0.9214 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of Alias: time 0.02874/1.292, allocations: 18.26 MB / 0.9392 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of simplify2: time 0.00224/1.295, allocations: 0.7717 MB / 0.94 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of Events: time 0.003186/1.298, allocations: 2.734 MB / 0.9426 GB, free: 15.32 MB / 0.6544 GB Error: Internal error NBVariable.getDerCref failed for hex.U_med because of wrong variable kind.