Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001415/0.001415, 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.001574/0.001574, allocations: 219.4 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.554/1.554, allocations: 230.6 MB / 256.9 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8835/0.8835, allocations: 100.9 MB / 414.2 MB, free: 2.859 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.FlowControl.Tests.Switch") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.826e-05, allocations: 2.281 kB / 0.5654 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.Switch): time 0.709/0.709, allocations: 199 MB / 0.7597 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03266/0.7417, allocations: 22.89 MB / 0.782 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004852/0.7465, allocations: 115.1 kB / 0.7821 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006338/0.7529, allocations: 1.449 MB / 0.7835 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01317/0.766, allocations: 2.638 MB / 0.7861 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008259/0.7743, allocations: 1.926 MB / 0.788 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01015/0.7844, allocations: 4.706 MB / 0.7926 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.7869, allocations: 0.5946 MB / 0.7932 GB, free: 19.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005903/0.7928, allocations: 1.911 MB / 0.795 GB, free: 19.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005873/0.7987, allocations: 1.914 MB / 0.7969 GB, free: 19.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.8006, allocations: 298.1 kB / 0.7972 GB, free: 19.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01251/0.8131, allocations: 3.666 MB / 0.8008 GB, free: 19.01 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.007804/0.8209, allocations: 5.879 MB / 0.8065 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.004691/0.8256, allocations: 3.71 MB / 0.8101 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.8272, allocations: 251.2 kB / 0.8104 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0008302/0.828, allocations: 199.7 kB / 0.8106 GB, free: 14.13 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.0209/0.8489, allocations: 14.33 MB / 0.8246 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.003388/0.8523, allocations: 1.914 MB / 0.8264 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.01034/0.8627, allocations: 7.824 MB / 0.8341 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.00321/0.8659, allocations: 1.114 MB / 0.8352 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.01601/0.8819, allocations: 8.868 MB / 0.8438 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 2: time 0.001983/0.8839, allocations: 0.8729 MB / 0.8447 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of [SIM] Remove Stream: time 0.0009825/0.8848, allocations: 0.5806 MB / 0.8452 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of [SIM] Detect States: time 0.00231/0.8872, allocations: 1.531 MB / 0.8467 GB, free: 268 kB / 0.5919 GB Notification: Performance of [SIM] Events: time 0.0006403/0.8878, allocations: 264 kB / 0.847 GB, free: 96 kB / 0.5919 GB Notification: Performance of [SIM] Partitioning: time 0.00317/0.891, allocations: 2.328 MB / 0.8493 GB, free: 14.62 MB / 0.6075 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.567027180979494] Failed to read output from testmodel.py, exit status != 0: 0.9016027000034228 0.918411531 0.085932354 Calling exit ...