Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.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.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008244/0.0008245, allocations: 171.2 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.247/1.247, 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.0007282/0.0007283, 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.5178/0.5178, allocations: 90.52 MB / 408.3 MB, free: 15.1 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.422e-05, allocations: 2.281 kB / 484.8 MB, free: 3.598 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.03045/0.03047, allocations: 39.1 MB / 0.5117 GB, free: 12.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008997/0.03951, allocations: 8.602 MB / 0.5201 GB, free: 3.734 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008549/0.04041, allocations: 15.94 kB / 0.5201 GB, free: 3.719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.0416, allocations: 453.6 kB / 0.5205 GB, free: 3.273 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.04447, allocations: 1.131 MB / 0.5216 GB, free: 2.137 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.04645, allocations: 0.7902 MB / 0.5224 GB, free: 1.348 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.04853, allocations: 2.27 MB / 0.5246 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.2679/0.3165, allocations: 201.7 MB / 0.7216 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.3184, allocations: 0.784 MB / 0.7223 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005889/0.319, allocations: 0.6574 MB / 0.723 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3191, allocations: 48 kB / 0.723 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.3212, allocations: 0.8512 MB / 0.7239 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008344/0.322, allocations: 0.8994 MB / 0.7247 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.715e-06/0.322, allocations: 0 / 0.7247 GB, free: 5.832 MB / 0.4948 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for reservoir1.medium.state.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for reservoir1.medium.state.p Error: Internal error NBVariable.VariablePointers.getVarSafe failed for reservoir.medium.state.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for reservoir.medium.state.p Notification: Performance of Bindings: time 0.002691/0.3247, allocations: 2.718 MB / 0.7274 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of simplify: time 0.0001742/0.3249, allocations: 187.8 kB / 0.7276 GB, free: 2.914 MB / 0.4948 GB Error: Internal error NBVariable.getVarPointer failed for reservoir.medium.state.p, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.