Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 114 kB / 16.43 MB, free: 6.523 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.001232/0.001232, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.173/1.173, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6122/0.6122, allocations: 91.2 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.862e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.2248/0.2248, allocations: 41.1 MB / 0.5576 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005685/0.2305, allocations: 5.325 MB / 0.5628 GB, free: 19.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006792/0.2312, allocations: 39.12 kB / 0.5628 GB, free: 19.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.2324, allocations: 0.5433 MB / 0.5634 GB, free: 19.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.2347, allocations: 1.377 MB / 0.5647 GB, free: 18.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.2366, allocations: 0.8728 MB / 0.5655 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.2387, allocations: 2.375 MB / 0.5679 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.2391, allocations: 277.7 kB / 0.5681 GB, free: 16.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.2412, allocations: 1.332 MB / 0.5694 GB, free: 16.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006854/0.2419, allocations: 0.7646 MB / 0.5702 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.242, allocations: 102.4 kB / 0.5703 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.2439, allocations: 0.8539 MB / 0.5711 GB, free: 15.42 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001156/0.2451, allocations: 2.273 MB / 0.5733 GB, free: 13.94 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005715/0.2457, allocations: 1.457 MB / 0.5748 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.2459, allocations: 224.4 kB / 0.575 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0002451/0.2461, allocations: 102.1 kB / 0.5751 GB, free: 12.77 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 (208) * Number of variables: 226 (226) Notification: Performance of Bindings: time 0.004299/0.2504, allocations: 6.301 MB / 0.5812 GB, free: 8.66 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0002804/0.2507, allocations: 302 kB / 0.5815 GB, free: 8.477 MB / 446.1 MB Notification: Performance of Early Inline: time 0.00296/0.2537, allocations: 3.615 MB / 0.585 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simplify1: time 0.0002805/0.254, allocations: 312 kB / 0.5853 GB, free: 6.305 MB / 446.1 MB Notification: Performance of Alias: time 0.003873/0.2579, allocations: 4.211 MB / 0.5894 GB, free: 3.66 MB / 446.1 MB Notification: Performance of simplify2: time 0.0002543/0.2581, allocations: 294 kB / 0.5897 GB, free: 3.559 MB / 446.1 MB Error: Internal error NBVariable.getDerCref failed for reservoir2.U_med because of wrong variable kind.