Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 107.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.001127/0.001127, allocations: 187.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.171/1.171, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6335/0.6335, allocations: 91.19 MB / 382.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.077e-05, allocations: 4.812 kB / 0.5174 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4026/0.4026, allocations: 214.3 MB / 0.7267 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3219/0.7245, allocations: 17.38 MB / 0.7437 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.7257, allocations: 46.84 kB / 0.7437 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.7272, allocations: 0.6111 MB / 0.7443 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.7315, allocations: 1.717 MB / 0.746 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.7354, allocations: 1.665 MB / 0.7476 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.7377, allocations: 1.872 MB / 0.7495 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.7381, allocations: 302.8 kB / 0.7498 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.7404, allocations: 1.187 MB / 0.7509 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005867/0.741, allocations: 0.6167 MB / 0.7515 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.7411, allocations: 96.72 kB / 0.7516 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007034/0.7482, allocations: 3.535 MB / 0.7551 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002009/0.7502, allocations: 2.154 MB / 0.7572 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.001089/0.7513, allocations: 1.432 MB / 0.7586 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004778/0.7518, allocations: 216 kB / 0.7588 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0004096/0.7522, allocations: 102.1 kB / 0.7589 GB, free: 15.82 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 (209) * Number of variables: 227 (227) Notification: Performance of Bindings: time 0.006026/0.7583, allocations: 5.877 MB / 0.7646 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0006089/0.7589, allocations: 499.6 kB / 0.7651 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.003641/0.7625, allocations: 3.27 MB / 0.7683 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002958/0.7628, allocations: 226.5 kB / 0.7685 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of Alias: time 0.005668/0.7685, allocations: 4.337 MB / 0.7727 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0002684/0.7688, allocations: 179.9 kB / 0.7729 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of Events: time 0.0002673/0.7691, allocations: 230.1 kB / 0.7731 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0007227/0.7698, allocations: 0.7699 MB / 0.7739 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001075/0.7709, allocations: 0.9419 MB / 0.7748 GB, free: 11.48 MB / 0.5919 GB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: flowResistanceA.inlet.state.p. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) flowResistanceA.mu_in = ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.flowResistanceA.Medium.dynamicViscosity(flowResistanceA.inlet.state) ($RES_$AUX_237)