Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.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.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008071/0.0008071, allocations: 169.1 kB / 16.11 MB, free: 5.559 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.207/1.207, allocations: 205 MB / 221.9 MB, free: 1.832 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.0006253/0.0006253, allocations: 98.23 kB / 269.9 MB, free: 1.777 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.4999/0.4999, allocations: 90.51 MB / 408.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.854e-05, allocations: 2.281 kB / 484.9 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01345/0.01348, allocations: 16.82 MB / 0.4899 GB, free: 2.688 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006062/0.01959, allocations: 6.68 MB / 0.4964 GB, free: 11.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.01991, allocations: 7.938 kB / 0.4964 GB, free: 11.98 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005618/0.02048, allocations: 242.7 kB / 0.4967 GB, free: 11.74 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008692/0.02136, allocations: 457.3 kB / 0.4971 GB, free: 11.29 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.022, allocations: 322.9 kB / 0.4974 GB, free: 10.97 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006281/0.02264, allocations: 0.8127 MB / 0.4982 GB, free: 10.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.1994/0.222, allocations: 79.87 MB / 0.5762 GB, free: 59.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007415/0.2228, allocations: 272 kB / 0.5765 GB, free: 59.06 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.2232, allocations: 264.7 kB / 0.5767 GB, free: 59.02 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.2233, allocations: 24.25 kB / 0.5767 GB, free: 59.02 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.2244, allocations: 368.7 kB / 0.5771 GB, free: 58.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.2248, allocations: 404.2 kB / 0.5775 GB, free: 58.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.13e-06/0.2248, allocations: 0 / 0.5775 GB, free: 58.86 MB / 394.7 MB Notification: Performance of Bindings: time 0.0008852/0.2257, allocations: 1.222 MB / 0.5787 GB, free: 58.15 MB / 394.7 MB Notification: Performance of simplify: time 7.538e-05/0.2258, allocations: 79.56 kB / 0.5788 GB, free: 58.09 MB / 394.7 MB Notification: Performance of RemoveSimpleEquations: time 0.001068/0.2268, allocations: 1.429 MB / 0.5801 GB, free: 57 MB / 394.7 MB Notification: Performance of Events: time 5.843e-05/0.2269, allocations: 52.52 kB / 0.5802 GB, free: 56.97 MB / 394.7 MB Notification: Performance of DetectStates: time 0.0001347/0.227, allocations: 120.5 kB / 0.5803 GB, free: 56.88 MB / 394.7 MB Notification: Performance of Partitioning: time 0.0003839/0.2274, allocations: 431.4 kB / 0.5807 GB, free: 56.64 MB / 394.7 MB Notification: Performance of Causalize: time 0.0005612/0.228, allocations: 0.964 MB / 0.5817 GB, free: 56.01 MB / 394.7 MB Notification: Performance of Partitioning: time 0.0006684/0.2287, allocations: 0.7859 MB / 0.5824 GB, free: 55.53 MB / 394.7 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [RECD] (2) flowResistance.inlet.state = source.outlet.state ($RES_SIM_17) slice: {40}; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [ALGB] (2) input flowResistance.inlet.Medium.ThermodynamicState flowResistance.inlet.state (p(start = 100000.0, min = 0.0, max = 100000000.0, nominal = 100000.0), T(start = 288.15, min = 1.0, max = 10000.0, nominal = 300.0)) Error: Internal error NBInitialization.main failed! Notification: Performance of Initialization: time 0.001111/0.2298, allocations: 1.768 MB / 0.5842 GB, free: 54.4 MB / 394.7 MB Error: Internal error Trying to construct residual expression of type thermalConvection.Medium.ThermodynamicState for equation [RECD] (2) thermalConvection.center_state = ThermofluidStream.Processes.Tests.ConvectivePipe.thermalConvection.Medium.setState_phX(thermalConvection.p_out, thermalConvection.h_in + 0.5 * thermalConvection.dh, {}) ($RES_SIM_72) but operator '+' is not defined.