Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000783/0.0007831, allocations: 171.3 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.212/1.212, allocations: 205 MB / 221.9 MB, free: 1.84 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.0006995/0.0006995, allocations: 106.2 kB / 269.9 MB, free: 1.773 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.5015/0.5015, allocations: 90.52 MB / 408.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.568e-05, allocations: 6.219 kB / 484.8 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01734/0.01737, allocations: 22.29 MB / 0.4952 GB, free: 13.22 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00837/0.02578, allocations: 9.313 MB / 0.5043 GB, free: 3.883 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005687/0.02638, allocations: 23.81 kB / 0.5044 GB, free: 3.859 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.02719, allocations: 342.2 kB / 0.5047 GB, free: 3.523 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.02863, allocations: 0.6718 MB / 0.5053 GB, free: 2.848 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.02951, allocations: 426.7 kB / 0.5058 GB, free: 2.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009451/0.03047, allocations: 1.178 MB / 0.5069 GB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.4885/0.5189, allocations: 340.4 MB / 0.8394 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.52, allocations: 377.3 kB / 0.8397 GB, free: 89.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006076/0.5206, allocations: 412.1 kB / 0.8401 GB, free: 89.23 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.5208, allocations: 38.95 kB / 0.8402 GB, free: 89.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.5224, allocations: 0.4999 MB / 0.8406 GB, free: 88.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006118/0.523, allocations: 0.5948 MB / 0.8412 GB, free: 88.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.452e-06/0.523, allocations: 3.281 kB / 0.8412 GB, free: 88.22 MB / 0.4948 GB Notification: Performance of Bindings: time 0.00151/0.5245, allocations: 1.957 MB / 0.8431 GB, free: 86.21 MB / 0.4948 GB Notification: Performance of simplify: time 0.0001624/0.5247, allocations: 134.2 kB / 0.8433 GB, free: 86.09 MB / 0.4948 GB Notification: Performance of RemoveSimpleEquations: time 0.001934/0.5267, allocations: 2.19 MB / 0.8454 GB, free: 83.76 MB / 0.4948 GB Notification: Performance of Events: time 0.0001048/0.5268, allocations: 85.72 kB / 0.8455 GB, free: 83.68 MB / 0.4948 GB Notification: Performance of DetectStates: time 0.0001948/0.527, allocations: 178.9 kB / 0.8457 GB, free: 83.52 MB / 0.4948 GB Notification: Performance of Partitioning: time 0.0007433/0.5277, allocations: 0.7368 MB / 0.8464 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of Causalize: time 0.0009402/0.5287, allocations: 1.611 MB / 0.848 GB, free: 81.17 MB / 0.4948 GB Notification: Performance of Partitioning: time 0.001137/0.5298, allocations: 1.214 MB / 0.8491 GB, free: 79.93 MB / 0.4948 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) flowResistance.p_in = ThermofluidStream.Processes.Tests.ConvectivePipe_serial.flowResistance.Medium.pressure(flowResistance.inlet.state) ($RES_BND_126) ; [RECD] (2) multiSensor_Tpm2.outlet.state = thermalConvection1.inlet.state ($RES_SIM_5) slice: {115}; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [ALGB] (2) input thermalConvection1.inlet.Medium.ThermodynamicState thermalConvection1.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.001731/0.5316, allocations: 2.738 MB / 0.8518 GB, free: 77.21 MB / 0.4948 GB Error: Internal error Trying to construct residual expression of type thermalConvection1.Medium.ThermodynamicState for equation [RECD] (2) thermalConvection1.center_state = ThermofluidStream.Processes.Tests.ConvectivePipe_serial.thermalConvection1.Medium.setState_phX(thermalConvection1.p_out, thermalConvection1.h_in + 0.5 * thermalConvection1.dh, {}) ($RES_SIM_56) but operator '+' is not defined.