Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008559/0.0008558, allocations: 171.7 kB / 16.12 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205 MB / 221.9 MB, free: 1.844 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007325/0.0007325, allocations: 98.03 kB / 269.9 MB, free: 1.789 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5553/0.5553, allocations: 90.52 MB / 408.3 MB, free: 15.09 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/1.938e-05, allocations: 2.281 kB / 484.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4171/0.4171, allocations: 221.9 MB / 0.6902 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.02062/0.4378, allocations: 18.94 MB / 0.7087 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.4394, allocations: 19.88 kB / 0.7087 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.441, allocations: 477.5 kB / 0.7092 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.4457, allocations: 1.451 MB / 0.7106 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007628/0.4533, allocations: 2.407 MB / 0.7129 GB, free: 9.543 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.4552, allocations: 1.677 MB / 0.7146 GB, free: 7.859 MB / 490.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.4/0.8552, allocations: 259.5 MB / 0.968 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.8578, allocations: 1.038 MB / 0.9691 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009024/0.8588, allocations: 0.535 MB / 0.9696 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.859, allocations: 52 kB / 0.9696 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00974/0.8688, allocations: 5.465 MB / 0.975 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.8703, allocations: 0.7925 MB / 0.9757 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.921e-06/0.8703, allocations: 0.7656 kB / 0.9757 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of Bindings: time 0.002829/0.8732, allocations: 2.574 MB / 0.9783 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of simplify: time 0.0002975/0.8735, allocations: 162.1 kB / 0.9784 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of RemoveSimpleEquations: time 0.3106/1.184, allocations: 3.009 MB / 0.9813 GB, free: 183.8 MB / 0.6511 GB Notification: Performance of Events: time 0.0005815/1.185, allocations: 246.1 kB / 0.9816 GB, free: 183.8 MB / 0.6511 GB Notification: Performance of DetectStates: time 0.0005237/1.185, allocations: 298.4 kB / 0.9819 GB, free: 183.8 MB / 0.6511 GB Notification: Performance of Partitioning: time 0.00163/1.187, allocations: 1.043 MB / 0.9829 GB, free: 183.6 MB / 0.6511 GB Notification: Performance of Causalize: time 0.001756/1.189, allocations: 2.239 MB / 0.9851 GB, free: 183.5 MB / 0.6511 GB Notification: Performance of Partitioning: time 0.002218/1.191, allocations: 1.822 MB / 0.9868 GB, free: 183 MB / 0.6511 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) flowResistanceB.p_in = ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.flowResistanceB.Medium.pressure(flowResistanceB.inlet.state) ($RES_BND_185) ; [SCAL] (1) counterFlowNTU.cpB_out = ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.counterFlowNTU.MediumB.specificHeatCapacityCp(counterFlowNTU.outletB.state) ($RES_BND_183) ; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DER-] (1) Real $DER.counterFlowNTU.h_out_A, [DER-] (1) Real $DER.counterFlowNTU.h_out_B Error: Internal error NBInitialization.main failed! Notification: Performance of Initialization: time 0.00228/1.193, allocations: 2.547 MB / 0.9893 GB, free: 182.8 MB / 0.6511 GB Error: Internal error Trying to construct residual expression of type mCV.outlet.Medium.ThermodynamicState for equation [RECD] (2) mCV.outlet.state = ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.mCV.Medium.setState_phX(mCV.p_out, mCV.h_out, {}) ($RES_SIM_54) but operator '+' is not defined.