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.001111/0.001111, allocations: 115.5 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.001081/0.001081, allocations: 181.5 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.154/1.154, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5812/0.5812, allocations: 91.19 MB / 382.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.541e-05, allocations: 5.234 kB / 0.5174 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.3601/0.3602, allocations: 214.3 MB / 0.7267 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2598/0.62, allocations: 17.38 MB / 0.7437 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007629/0.6208, allocations: 49.73 kB / 0.7437 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.622, allocations: 0.609 MB / 0.7443 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.6254, allocations: 1.747 MB / 0.746 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.6287, allocations: 1.677 MB / 0.7477 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.6302, allocations: 1.881 MB / 0.7495 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.6306, allocations: 294.3 kB / 0.7498 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.6322, allocations: 1.191 MB / 0.7509 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005126/0.6327, allocations: 0.6187 MB / 0.7516 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.6328, allocations: 95.72 kB / 0.7516 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005487/0.6383, allocations: 3.54 MB / 0.7551 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001363/0.6397, allocations: 2.152 MB / 0.7572 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0007408/0.6404, allocations: 1.433 MB / 0.7586 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.6407, allocations: 212.2 kB / 0.7588 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0002655/0.641, allocations: 106.4 kB / 0.7589 GB, free: 15.8 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 (215) * Number of variables: 227 (227) Notification: Performance of Bindings: time 0.004955/0.646, allocations: 5.92 MB / 0.7647 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0004732/0.6464, allocations: 489.8 kB / 0.7652 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.003124/0.6496, allocations: 3.335 MB / 0.7684 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002309/0.6498, allocations: 228.8 kB / 0.7686 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of Alias: time 0.00486/0.6547, allocations: 4.364 MB / 0.7729 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0001723/0.6549, allocations: 178 kB / 0.7731 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0005309/0.6554, allocations: 0.6269 MB / 0.7737 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of Events: time 0.0003251/0.6557, allocations: 384 kB / 0.774 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0009794/0.6567, allocations: 0.9575 MB / 0.775 GB, free: 11.46 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_243)