Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.001436/0.001436, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.22/1.22, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6126/0.6126, allocations: 91.19 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/1.884e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.3789/0.3789, allocations: 201.8 MB / 0.7145 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.3953, allocations: 15.03 MB / 0.7292 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009023/0.3963, allocations: 43.69 kB / 0.7293 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.3977, allocations: 0.5197 MB / 0.7298 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.4012, allocations: 1.306 MB / 0.731 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.4048, allocations: 1.473 MB / 0.7325 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001872/0.4066, allocations: 1.527 MB / 0.734 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.4071, allocations: 260.4 kB / 0.7342 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.4092, allocations: 1.086 MB / 0.7353 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006733/0.4098, allocations: 0.5014 MB / 0.7358 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.41, allocations: 80 kB / 0.7358 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005055/0.4151, allocations: 2.688 MB / 0.7385 GB, free: 500 kB / 0.5762 GB Notification: Performance of combineBinaries: time 0.2456/0.6607, allocations: 1.767 MB / 0.7402 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0004918/0.6613, allocations: 1.163 MB / 0.7413 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.6615, allocations: 173.5 kB / 0.7415 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0002518/0.6618, allocations: 93.89 kB / 0.7416 GB, free: 5.176 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 (167) * Number of variables: 183 (183) Notification: Performance of Bindings: time 0.003335/0.6651, allocations: 4.857 MB / 0.7463 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0003478/0.6655, allocations: 399.9 kB / 0.7467 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.002022/0.6675, allocations: 2.716 MB / 0.7494 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001232/0.6676, allocations: 184.2 kB / 0.7495 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of Alias: time 0.003096/0.6707, allocations: 3.447 MB / 0.7529 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simplify2: time 0.000114/0.6708, allocations: 143.5 kB / 0.753 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of Events: time 0.0002726/0.6711, allocations: 342.5 kB / 0.7534 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0004227/0.6716, allocations: 0.5247 MB / 0.7539 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0007437/0.6723, allocations: 0.7842 MB / 0.7546 GB, free: 2.227 MB / 0.5762 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_zeroMassFlow.flowResistanceA.Medium.dynamicViscosity(flowResistanceA.inlet.state) ($RES_$AUX_193)