Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.WaterHammer.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.Examples.WaterHammer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|checkValve.inlet.m_flow|firstOrder.y|pulse.T_start|pulse.count|reservoir.M|reservoir.U_med|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.WaterHammer") translateModel(ThermofluidStream.Examples.WaterHammer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|checkValve.inlet.m_flow|firstOrder.y|pulse.T_start|pulse.count|reservoir.M|reservoir.U_med|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.WaterHammer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000842/0.0008419, allocations: 167.3 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.307/1.307, 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.0007027/0.0007027, allocations: 94.23 kB / 269.9 MB, free: 1.785 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.5358/0.5358, allocations: 90.51 MB / 408.3 MB, free: 15.11 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.584e-05, allocations: 2.281 kB / 484.8 MB, free: 3.625 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.WaterHammer): time 0.02399/0.02402, allocations: 30.41 MB / 0.5032 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00906/0.03312, allocations: 9.598 MB / 0.5125 GB, free: 11.48 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter m_flow_ref_set has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.0337, allocations: 19.94 kB / 0.5126 GB, free: 11.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009403/0.03465, allocations: 461.5 kB / 0.513 GB, free: 11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.03594, allocations: 0.6835 MB / 0.5137 GB, free: 10.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.03717, allocations: 0.6309 MB / 0.5143 GB, free: 9.684 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.03836, allocations: 1.591 MB / 0.5158 GB, free: 8.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.7966/0.835, allocations: 0.5303 GB / 1.046 GB, free: 50.22 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.8362, allocations: 0.4983 MB / 1.047 GB, free: 49.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.8369, allocations: 0.4893 MB / 1.047 GB, free: 49.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.8371, allocations: 44 kB / 1.047 GB, free: 49.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.8384, allocations: 0.5333 MB / 1.048 GB, free: 48.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006584/0.8391, allocations: 0.7157 MB / 1.048 GB, free: 48.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.412e-06/0.8391, allocations: 4 kB / 1.048 GB, free: 48.39 MB / 0.4948 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for reservoir.medium.state.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for reservoir.medium.state.T Notification: Performance of Bindings: time 0.00167/0.8408, allocations: 2.31 MB / 1.051 GB, free: 46.03 MB / 0.4948 GB Notification: Performance of simplify: time 0.0001593/0.841, allocations: 137.1 kB / 1.051 GB, free: 45.9 MB / 0.4948 GB Error: Internal error NBVariable.getVarPointer failed for reservoir.medium.state.T, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.