Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009441/0.0009442, allocations: 171 kB / 16.11 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.243/1.243, allocations: 205 MB / 221.9 MB, free: 1.852 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.0007345/0.0007345, allocations: 98.23 kB / 269.9 MB, free: 1.797 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.5052/0.5052, allocations: 90.52 MB / 408.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.863e-05, allocations: 2.281 kB / 484.8 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.3149/0.3149, allocations: 183.7 MB / 0.6529 GB, free: 8.281 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04445/0.3594, allocations: 44.98 MB / 0.6968 GB, free: 11.16 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003328/0.3628, allocations: 35.81 kB / 0.6969 GB, free: 11.13 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005783/0.3686, allocations: 1.772 MB / 0.6986 GB, free: 9.348 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.381, allocations: 3.528 MB / 0.702 GB, free: 5.801 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02015/0.4012, allocations: 5.957 MB / 0.7079 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006404/0.4077, allocations: 4.914 MB / 0.7127 GB, free: 10.91 MB / 490.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 5.386/5.794, allocations: 3.714 GB / 4.427 GB, free: 95.72 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01635/5.81, allocations: 10.91 MB / 4.437 GB, free: 85.2 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/5.812, allocations: 1.498 MB / 4.439 GB, free: 84.16 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0005838/5.813, allocations: 116 kB / 4.439 GB, free: 84.04 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0158/5.829, allocations: 10.23 MB / 4.449 GB, free: 74.18 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.001823/5.831, allocations: 1.964 MB / 4.451 GB, free: 72.84 MB / 0.6199 GB Notification: Performance of FrontEnd: time 4.118e-06/5.831, allocations: 4 kB / 4.451 GB, free: 72.84 MB / 0.6199 GB Notification: Performance of Bindings: time 0.003618/5.834, allocations: 6.546 MB / 4.457 GB, free: 65.91 MB / 0.6199 GB Notification: Performance of simplify: time 0.0002878/5.834, allocations: 417.1 kB / 4.458 GB, free: 65.52 MB / 0.6199 GB Notification: Performance of RemoveSimpleEquations: time 0.004298/5.839, allocations: 7.202 MB / 4.465 GB, free: 57.54 MB / 0.6199 GB Notification: Performance of Events: time 0.0003317/5.839, allocations: 0.5449 MB / 4.465 GB, free: 57.01 MB / 0.6199 GB Notification: Performance of DetectStates: time 0.0004655/5.84, allocations: 0.8204 MB / 4.466 GB, free: 56.21 MB / 0.6199 GB Notification: Performance of Partitioning: time 0.001666/5.841, allocations: 2.142 MB / 4.468 GB, free: 54 MB / 0.6199 GB Notification: Performance of Causalize: time 0.002697/5.844, allocations: 5.36 MB / 4.473 GB, free: 48.71 MB / 0.6199 GB Notification: Performance of Partitioning: time 0.0036/5.848, allocations: 4.181 MB / 4.477 GB, free: 44.44 MB / 0.6199 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [ALGB] (1) protected Real sink2.p = ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sink2.Medium.pressure(sink2.inlet.state), [ALGB] (1) input Real dynamicPressureOutflow2.A_var = dynamicPressureOutflow2.A_var, [ALGB] (1) input Real dynamicPressureInflow.v_in_var = dynamicPressureInflow.v_in_var, [ALGB] (1) Real flowResistance.outlet.r Error: Internal error NBInitialization.main failed! Notification: Performance of Initialization: time 0.003814/5.851, allocations: 7.166 MB / 4.484 GB, free: 37.04 MB / 0.6199 GB Error: Internal error Trying to construct residual expression of type sink2.inlet.Medium.ThermodynamicState for equation [RECD] (5) sink2.inlet.state = dynamicPressureOutflow2.outlet.state ($RES_SIM_37) but operator '+' is not defined.