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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 214.2 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.7 MB / 256.9 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8585/0.8585, allocations: 94.64 MB / 407.9 MB, free: 8.797 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.214e-05, allocations: 2.281 kB / 0.5562 GB, free: 37.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.Switch): time 0.2648/0.2648, allocations: 199 MB / 0.7505 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4879/0.7527, allocations: 22.87 MB / 0.7729 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.756, allocations: 117.6 kB / 0.773 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006043/0.762, allocations: 1.446 MB / 0.7744 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.773, allocations: 2.651 MB / 0.777 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007271/0.7802, allocations: 1.922 MB / 0.7788 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009292/0.7895, allocations: 4.707 MB / 0.7834 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/0.7921, allocations: 0.5934 MB / 0.784 GB, free: 19.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006032/0.7981, allocations: 1.928 MB / 0.7859 GB, free: 19.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005536/0.8036, allocations: 1.914 MB / 0.7878 GB, free: 19.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001286/0.8049, allocations: 294.8 kB / 0.788 GB, free: 19.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01198/0.8169, allocations: 3.671 MB / 0.7916 GB, free: 19.14 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.008123/0.825, allocations: 5.881 MB / 0.7974 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.00433/0.8294, allocations: 3.713 MB / 0.801 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.8309, allocations: 251.3 kB / 0.8012 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0007573/0.8317, allocations: 199.5 kB / 0.8014 GB, free: 14.28 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 [SIM] Bindings: time 0.01952/0.8512, allocations: 14.33 MB / 0.8154 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.003416/0.8546, allocations: 1.91 MB / 0.8173 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.009984/0.8646, allocations: 7.838 MB / 0.8249 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.003402/0.868, allocations: 1.103 MB / 0.826 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.01549/0.8835, allocations: 8.874 MB / 0.8347 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 2: time 0.002073/0.8856, allocations: 0.8613 MB / 0.8355 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of [SIM] Remove Stream: time 0.0008988/0.8865, allocations: 0.5828 MB / 0.8361 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of [SIM] Detect States: time 0.002265/0.8888, allocations: 1.534 MB / 0.8376 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of [SIM] Events: time 0.0006309/0.8894, allocations: 261.4 kB / 0.8378 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of [SIM] Partitioning: time 0.003198/0.8926, allocations: 2.323 MB / 0.8401 GB, free: 1.449 MB / 0.5919 GB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (2) flow Real[2] switch.splitterT2_1.splitterN.outlets.m_flow slice: {1} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.642310510971583] Failed to read output from testmodel.py, exit status != 0: 0.9031703310320154 0.919182186 0.083591183 Calling exit ...