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.00164/0.001641, allocations: 103.4 kB / 16.42 MB, free: 6.484 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.00187/0.001871, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.55/1.55, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9812/0.9812, allocations: 91.19 MB / 382.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.64e-05/3.642e-05, allocations: 5.094 kB / 0.5174 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.3592/0.3593, allocations: 41.09 MB / 0.5576 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009097/0.3684, allocations: 5.329 MB / 0.5628 GB, free: 19.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.3706, allocations: 39.12 kB / 0.5628 GB, free: 19.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.3725, allocations: 0.5427 MB / 0.5633 GB, free: 19.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005064/0.3777, allocations: 1.345 MB / 0.5647 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.381, allocations: 0.8762 MB / 0.5655 GB, free: 17.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004765/0.3858, allocations: 2.368 MB / 0.5678 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/0.3864, allocations: 278 kB / 0.5681 GB, free: 16.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/0.391, allocations: 1.327 MB / 0.5694 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.3924, allocations: 0.7602 MB / 0.5701 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.3926, allocations: 106.8 kB / 0.5702 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.3961, allocations: 0.8607 MB / 0.5711 GB, free: 15.49 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.002061/0.3982, allocations: 2.271 MB / 0.5733 GB, free: 14.02 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.001119/0.3993, allocations: 1.453 MB / 0.5747 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004932/0.3998, allocations: 224.7 kB / 0.5749 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0006184/0.4005, allocations: 106.2 kB / 0.575 GB, free: 12.85 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.00805/0.4085, allocations: 6.292 MB / 0.5812 GB, free: 8.746 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0004302/0.409, allocations: 316.2 kB / 0.5815 GB, free: 8.551 MB / 446.1 MB Notification: Performance of Early Inline: time 0.004512/0.4135, allocations: 3.612 MB / 0.585 GB, free: 6.5 MB / 446.1 MB Notification: Performance of simplify1: time 0.0004838/0.414, allocations: 310.6 kB / 0.5853 GB, free: 6.383 MB / 446.1 MB Notification: Performance of Alias: time 0.006024/0.42, allocations: 4.21 MB / 0.5894 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simplify2: time 0.0006065/0.4206, allocations: 288.6 kB / 0.5897 GB, free: 3.645 MB / 446.1 MB Notification: Performance of Events: time 0.0008354/0.4215, allocations: 0.6449 MB / 0.5903 GB, free: 3.254 MB / 446.1 MB Error: Internal error NBVariable.getDerCref failed for reservoir2.U_med because of wrong variable kind.