Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 108.5 kB / 16.42 MB, free: 6.504 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.001347/0.001347, allocations: 187.8 kB / 17.35 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.454/1.454, 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.9281/0.9281, allocations: 91.19 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.357e-05, allocations: 5.094 kB / 0.5174 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 1.218/1.218, allocations: 234.9 MB / 0.7469 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0261/1.244, allocations: 22.27 MB / 0.7686 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/1.246, allocations: 59.53 kB / 0.7687 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/1.249, allocations: 0.788 MB / 0.7695 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007218/1.256, allocations: 2.016 MB / 0.7714 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007675/1.264, allocations: 2.172 MB / 0.7735 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005257/1.269, allocations: 2.463 MB / 0.7759 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/1.27, allocations: 420.5 kB / 0.7763 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004669/1.275, allocations: 1.397 MB / 0.7777 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/1.277, allocations: 0.8281 MB / 0.7785 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003613/1.278, allocations: 134.9 kB / 0.7787 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01335/1.291, allocations: 4.227 MB / 0.7828 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.005159/1.296, allocations: 2.822 MB / 0.7855 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.002152/1.298, allocations: 1.85 MB / 0.7873 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009441/1.299, allocations: 278.2 kB / 0.7876 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0006758/1.3, allocations: 122.7 kB / 0.7877 GB, free: 14.48 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: 316 (288) * Number of variables: 316 (316) Notification: Performance of Bindings: time 0.009941/1.31, allocations: 8.153 MB / 0.7957 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001242/1.311, allocations: 0.9942 MB / 0.7967 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.005788/1.317, allocations: 4.825 MB / 0.8014 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0004485/1.318, allocations: 334 kB / 0.8017 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of Alias: time 0.007727/1.325, allocations: 5.758 MB / 0.8073 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0005245/1.326, allocations: 266.8 kB / 0.8076 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of Events: time 0.0006138/1.327, allocations: 0.544 MB / 0.8081 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0009527/1.328, allocations: 0.935 MB / 0.809 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001705/1.329, allocations: 1.36 MB / 0.8103 GB, free: 8.32 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.CounterFlowNTU_serial.flowResistanceA.Medium.dynamicViscosity(flowResistanceA.inlet.state) ($RES_$AUX_340)