Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.Switch.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.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|fourWaySwitch.switch.tanValve.outlet.m_flow|fourWaySwitch.switch1.tanValve.outlet.m_flow|pulse.T_start|pulse.count|pulse1.T_start|pulse1.count|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|switch.tanValve.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.Switch") translateModel(ThermofluidStream.FlowControl.Tests.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|fourWaySwitch.switch.tanValve.outlet.m_flow|fourWaySwitch.switch1.tanValve.outlet.m_flow|pulse.T_start|pulse.count|pulse1.T_start|pulse1.count|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|switch.tanValve.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 106.2 kB / 16.42 MB, free: 6.48 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.001086/0.001086, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.169/1.169, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5998/0.5998, allocations: 91.19 MB / 382.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.084e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.Switch): time 0.3794/0.3794, allocations: 225.1 MB / 0.7372 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2786/0.658, allocations: 24.99 MB / 0.7616 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.66, allocations: 78.78 kB / 0.7617 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003617/0.6636, allocations: 1.661 MB / 0.7633 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005942/0.6695, allocations: 2.663 MB / 0.7659 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004292/0.6739, allocations: 1.914 MB / 0.7678 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00527/0.6792, allocations: 4.437 MB / 0.7721 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.6807, allocations: 1.195 MB / 0.7733 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.683, allocations: 1.705 MB / 0.775 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.6851, allocations: 1.988 MB / 0.7769 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003851/0.6855, allocations: 294.5 kB / 0.7772 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008261/0.6937, allocations: 4.246 MB / 0.7813 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.003077/0.6968, allocations: 4.708 MB / 0.7859 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.00164/0.6985, allocations: 2.995 MB / 0.7889 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007145/0.6992, allocations: 497.9 kB / 0.7893 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0005107/0.6997, allocations: 181 kB / 0.7895 GB, free: 12.2 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 496 (452) * Number of variables: 496 (464) Notification: Performance of Bindings: time 0.01013/0.7098, allocations: 14.15 MB / 0.8033 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001473/0.7113, allocations: 2.063 MB / 0.8053 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.005429/0.7168, allocations: 7.547 MB / 0.8127 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0003935/0.7172, allocations: 461.2 kB / 0.8131 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of Alias: time 0.009691/0.7269, allocations: 10.46 MB / 0.8234 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0003369/0.7272, allocations: 344.9 kB / 0.8237 GB, free: 476 kB / 0.5919 GB Notification: Performance of Detect States: time 0.001947/0.7292, allocations: 2.328 MB / 0.826 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of Events: time 0.0005271/0.7297, allocations: 0.5398 MB / 0.8265 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.002164/0.7319, allocations: 2.251 MB / 0.8287 GB, free: 12.4 MB / 0.6075 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(4) {switch.splitterT2_1.splitterN.outlets[1].state.T, switch.splitterT2_1.splitterN.outlets[2].state.T}, does not fit the equation size 2. Error: Internal error NBSlice.resolveDependency failed for: switch.splitterT2_1.splitterN.outlets.state.T. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (4) ($RES_SIM_148) [----] for $i1 in 1:2 loop [----] [RECD] (2) switch.splitterT2_1.splitterN.outlets[$i1].state = switch.splitterT2_1.splitterN.inlet.state ($RES_SIM_149) [----] end for;