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.001324/0.001325, allocations: 105 kB / 16.42 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.001312/0.001312, allocations: 192.3 kB / 17.36 MB, free: 5.727 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.614/1.614, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9834/0.9834, allocations: 91.2 MB / 382.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.872e-05/3.873e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.4433/0.4433, allocations: 39.38 MB / 0.5559 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.4592, allocations: 8.668 MB / 0.5643 GB, free: 18.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003539/0.4628, allocations: 32.78 kB / 0.5644 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003465/0.4663, allocations: 0.5262 MB / 0.5649 GB, free: 18.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007033/0.4734, allocations: 1.321 MB / 0.5662 GB, free: 17.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.4777, allocations: 0.897 MB / 0.5671 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005578/0.4833, allocations: 2.192 MB / 0.5692 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007542/0.4841, allocations: 260.5 kB / 0.5694 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004511/0.4886, allocations: 1.162 MB / 0.5706 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.4908, allocations: 0.7112 MB / 0.5713 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.4911, allocations: 99.5 kB / 0.5714 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004901/0.496, allocations: 0.9844 MB / 0.5723 GB, free: 14.46 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.002555/0.4986, allocations: 2.216 MB / 0.5745 GB, free: 13.03 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.001254/0.4998, allocations: 1.383 MB / 0.5758 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.5004, allocations: 217.3 kB / 0.5761 GB, free: 11.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0006282/0.501, allocations: 88.59 kB / 0.5761 GB, free: 11.93 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 (192) * Number of variables: 207 (207) Notification: Performance of Bindings: time 0.007664/0.5087, allocations: 5.928 MB / 0.5819 GB, free: 8.043 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.000629/0.5094, allocations: 316.2 kB / 0.5822 GB, free: 7.852 MB / 446.1 MB Notification: Performance of Early Inline: time 0.004348/0.5137, allocations: 2.976 MB / 0.5851 GB, free: 6.113 MB / 446.1 MB Notification: Performance of simplify1: time 0.0004792/0.5142, allocations: 263.4 kB / 0.5854 GB, free: 6.012 MB / 446.1 MB Notification: Performance of Alias: time 0.006833/0.5211, allocations: 4.002 MB / 0.5893 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simplify2: time 0.0006515/0.5218, allocations: 231.2 kB / 0.5895 GB, free: 3.398 MB / 446.1 MB Notification: Performance of Events: time 0.0007745/0.5225, allocations: 0.4898 MB / 0.59 GB, free: 3.105 MB / 446.1 MB Error: Internal error NBVariable.getDerCref failed for reservoir1.U_med because of wrong variable kind.