Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical.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.Topology.Tests.TestNonPhysical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|junctionRatio1.outlet.m_flow|junctionRatio1.splitRatioLim|junctionRatio2.outlet.m_flow|junctionRatio2.splitRatioLim|leakageA.dp|leakageA.inlet.m_flow|leakageA.splitRatioLim|leakageA1.dp|leakageA1.inlet.m_flow|leakageA1.splitRatioLim|rTSwitch.dp|rTSwitch.inlet.m_flow|rTSwitch.splitRatioLim|rTSwitch1.dp|rTSwitch1.inlet.m_flow|rTSwitch1.splitRatioLim|ratioControl.dp|ratioControl.inlet.m_flow|ratioControl.splitRatioLim|ratioControl1.dp|ratioControl1.inlet.m_flow|ratioControl1.splitRatioLim|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent|timeTable.nextEventScaled",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical") translateModel(ThermofluidStream.Topology.Tests.TestNonPhysical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|junctionRatio1.outlet.m_flow|junctionRatio1.splitRatioLim|junctionRatio2.outlet.m_flow|junctionRatio2.splitRatioLim|leakageA.dp|leakageA.inlet.m_flow|leakageA.splitRatioLim|leakageA1.dp|leakageA1.inlet.m_flow|leakageA1.splitRatioLim|rTSwitch.dp|rTSwitch.inlet.m_flow|rTSwitch.splitRatioLim|rTSwitch1.dp|rTSwitch1.inlet.m_flow|rTSwitch1.splitRatioLim|ratioControl.dp|ratioControl.inlet.m_flow|ratioControl.splitRatioLim|ratioControl1.dp|ratioControl1.inlet.m_flow|ratioControl1.splitRatioLim|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent|timeTable.nextEventScaled",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestNonPhysical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001732, allocations: 105.8 kB / 16.42 MB, free: 6.473 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.001828/0.001828, allocations: 190 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.6/1.6, 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.9832/0.9832, allocations: 91.19 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/2.937e-05, allocations: 2.281 kB / 0.5175 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestNonPhysical): time 1.408/1.408, allocations: 360 MB / 0.869 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1504/1.558, allocations: 123.8 MB / 0.9899 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0108/1.569, allocations: 147.1 kB / 0.9901 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01862/1.588, allocations: 4.435 MB / 0.9944 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.03364/1.622, allocations: 6.879 MB / 1.001 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.816/2.438, allocations: 10.5 MB / 1.011 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.02943/2.467, allocations: 9.696 MB / 1.021 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007453/2.475, allocations: 2.363 MB / 1.023 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04205/2.517, allocations: 16.53 MB / 1.039 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01334/2.53, allocations: 3.674 MB / 1.043 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.005156/2.535, allocations: 0.5688 MB / 1.043 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05147/2.587, allocations: 13.36 MB / 1.056 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of combineBinaries: time 0.02555/2.612, allocations: 10.56 MB / 1.067 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of replaceArrayConstructors: time 0.0134/2.626, allocations: 6.661 MB / 1.073 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.006464/2.632, allocations: 0.9868 MB / 1.074 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 0.001884/2.634, allocations: 359.2 kB / 1.075 GB, free: 8.523 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1317 (1061) * Number of variables: 1311 (1207) Notification: Performance of Bindings: time 0.07069/2.705, allocations: 33.57 MB / 1.107 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 0.008057/2.713, allocations: 4.578 MB / 1.112 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.05132/2.764, allocations: 19.93 MB / 1.131 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of simplify1: time 0.004441/2.769, allocations: 1.195 MB / 1.132 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of Alias: time 0.04571/2.815, allocations: 18.81 MB / 1.151 GB, free: 5.707 MB / 0.7637 GB Notification: Performance of simplify2: time 0.002735/2.818, allocations: 1.029 MB / 1.152 GB, free: 4.992 MB / 0.7637 GB Notification: Performance of Events: time 0.00608/2.824, allocations: 3.315 MB / 1.155 GB, free: 1.922 MB / 0.7637 GB Error: Internal error NBVariable.getDerCref failed for leakageA1.dp because of wrong variable kind.