Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 105.9 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 186 kB / 17.36 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.15/1.15, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5949/0.5949, allocations: 91.19 MB / 382.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.598e-05, allocations: 5.234 kB / 0.5174 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.3439/0.3439, allocations: 189.2 MB / 0.7022 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.3634, allocations: 17.79 MB / 0.7196 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.3651, allocations: 66.09 kB / 0.7197 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.3676, allocations: 0.9975 MB / 0.7206 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.3733, allocations: 2.38 MB / 0.723 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.3777, allocations: 1.852 MB / 0.7248 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004527/0.3822, allocations: 3.928 MB / 0.7286 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006954/0.3829, allocations: 453.1 kB / 0.729 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.3856, allocations: 1.591 MB / 0.7306 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.3877, allocations: 1.529 MB / 0.7321 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004554/0.3882, allocations: 176 kB / 0.7322 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005761/0.394, allocations: 2.963 MB / 0.7351 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.003137/0.3971, allocations: 3.771 MB / 0.7388 GB, free: 196 kB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.2526/0.6497, allocations: 2.366 MB / 0.7411 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006615/0.6504, allocations: 379.9 kB / 0.7415 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0005038/0.651, allocations: 155.1 kB / 0.7416 GB, free: 11.75 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 (333) * Number of variables: 356 (356) Notification: Performance of Bindings: time 0.006848/0.6578, allocations: 9.872 MB / 0.7513 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0008748/0.6587, allocations: 1.193 MB / 0.7524 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.00421/0.6629, allocations: 5.03 MB / 0.7574 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0003555/0.6633, allocations: 416.3 kB / 0.7578 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of Alias: time 0.006991/0.6703, allocations: 7.059 MB / 0.7647 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0003405/0.6706, allocations: 368.1 kB / 0.765 GB, free: 6.102 MB / 0.5762 GB Error: Internal error NBVariable.getDerCref failed for volumeFlex3.U_med because of wrong variable kind.