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.001461/0.001461, allocations: 106.5 kB / 16.42 MB, free: 6.465 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.001326/0.001326, allocations: 191.7 kB / 17.36 MB, free: 5.707 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.549/1.549, allocations: 222.9 MB / 241 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.8954/0.8954, allocations: 91.19 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.787e-05/3.79e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.661/0.661, allocations: 189.2 MB / 0.7022 GB, free: 5.758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02678/0.6879, allocations: 17.8 MB / 0.7196 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004047/0.692, allocations: 63.56 kB / 0.7197 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004396/0.6964, allocations: 0.9897 MB / 0.7206 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009873/0.7063, allocations: 2.332 MB / 0.7229 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006343/0.7128, allocations: 1.833 MB / 0.7247 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007374/0.7202, allocations: 3.932 MB / 0.7285 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.7215, allocations: 457.1 kB / 0.729 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005098/0.7267, allocations: 1.591 MB / 0.7305 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003677/0.7304, allocations: 1.525 MB / 0.732 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001221/0.7316, allocations: 176 kB / 0.7322 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009753/0.7414, allocations: 2.967 MB / 0.7351 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.00557/0.747, allocations: 3.767 MB / 0.7388 GB, free: 268 kB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.5757/1.323, allocations: 2.363 MB / 0.7411 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/1.324, allocations: 378.1 kB / 0.7414 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0009024/1.325, allocations: 158.2 kB / 0.7416 GB, free: 11.73 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.01382/1.339, allocations: 9.871 MB / 0.7512 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.002027/1.341, allocations: 1.184 MB / 0.7524 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.007876/1.349, allocations: 5.028 MB / 0.7573 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0008511/1.35, allocations: 416.9 kB / 0.7577 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of Alias: time 0.01677/1.367, allocations: 7.068 MB / 0.7646 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simplify2: time 0.001661/1.368, allocations: 365.1 kB / 0.7649 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of Events: time 0.002593/1.371, allocations: 1.166 MB / 0.7661 GB, free: 5.852 MB / 0.5762 GB Error: Internal error NBVariable.getDerCref failed for volumeFlex3.U_med because of wrong variable kind.