Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 105.6 kB / 16.42 MB, free: 5.977 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.001099/0.001099, allocations: 188 kB / 17.36 MB, free: 5.57 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.161/1.161, allocations: 222.9 MB / 241 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.6095/0.6095, allocations: 91.19 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.628e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.1943/0.1943, allocations: 39.36 MB / 0.5559 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008269/0.2026, allocations: 8.669 MB / 0.5643 GB, free: 18.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.2034, allocations: 41.59 kB / 0.5644 GB, free: 18.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.2044, allocations: 0.5148 MB / 0.5649 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.2067, allocations: 1.33 MB / 0.5662 GB, free: 17.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.2085, allocations: 0.8957 MB / 0.5671 GB, free: 16.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.2103, allocations: 2.195 MB / 0.5692 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.2106, allocations: 255.8 kB / 0.5695 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.2122, allocations: 1.165 MB / 0.5706 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.2129, allocations: 0.7081 MB / 0.5713 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.213, allocations: 98.75 kB / 0.5714 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.215, allocations: 0.9879 MB / 0.5723 GB, free: 14.49 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.00108/0.216, allocations: 2.208 MB / 0.5745 GB, free: 13.07 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005023/0.2166, allocations: 1.388 MB / 0.5759 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.2167, allocations: 222.3 kB / 0.5761 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0001963/0.2169, allocations: 83.84 kB / 0.5761 GB, free: 11.96 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: 207 (193) * Number of variables: 207 (207) Notification: Performance of Bindings: time 0.003614/0.2206, allocations: 5.923 MB / 0.5819 GB, free: 8.078 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0002724/0.2208, allocations: 313.2 kB / 0.5822 GB, free: 7.891 MB / 446.1 MB Notification: Performance of Early Inline: time 0.002301/0.2232, allocations: 2.978 MB / 0.5851 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simplify1: time 0.0002203/0.2234, allocations: 268.5 kB / 0.5854 GB, free: 6.047 MB / 446.1 MB Notification: Performance of Alias: time 0.003404/0.2268, allocations: 4.01 MB / 0.5893 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simplify2: time 0.0001967/0.227, allocations: 237.4 kB / 0.5895 GB, free: 3.426 MB / 446.1 MB Error: Internal error NBVariable.getDerCref failed for reservoir1.U_med because of wrong variable kind.