Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.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.001673/0.001673, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.002193/0.002193, allocations: 209.2 kB / 23.06 MB, free: 4.984 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.525/1.525, allocations: 230.7 MB / 256.9 MB, free: 7.715 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.8684/0.8684, allocations: 100.9 MB / 414.2 MB, free: 2.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 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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.466e-05, allocations: 2.281 kB / 0.5653 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1692/0.1693, allocations: 124 MB / 0.6865 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00503/0.1743, allocations: 3.311 MB / 0.6897 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004615/0.1747, allocations: 23.81 kB / 0.6897 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007035/0.1754, allocations: 154.9 kB / 0.6899 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.1766, allocations: 389.8 kB / 0.6902 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.1776, allocations: 295 kB / 0.6905 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009059/0.1785, allocations: 0.6031 MB / 0.6911 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.1787, allocations: 53.98 kB / 0.6912 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/0.1793, allocations: 286.8 kB / 0.6914 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.1796, allocations: 226.9 kB / 0.6916 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.1797, allocations: 24 kB / 0.6917 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.1807, allocations: 467.2 kB / 0.6921 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0007437/0.1815, allocations: 0.7615 MB / 0.6929 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0003954/0.1819, allocations: 0.5046 MB / 0.6933 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.182, allocations: 32 kB / 0.6934 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0001205/0.1821, allocations: 35.91 kB / 0.6934 GB, free: 13.02 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 (48) * Number of variables: 51 (51) Notification: Performance of [SIM] Bindings: time 0.002114/0.1842, allocations: 1.748 MB / 0.6951 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002755/0.1845, allocations: 181.1 kB / 0.6953 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0009937/0.1855, allocations: 0.7847 MB / 0.6961 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0003179/0.1858, allocations: 177.8 kB / 0.6962 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.001646/0.1874, allocations: 1.009 MB / 0.6972 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0002303/0.1877, allocations: 153.9 kB / 0.6974 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 0.0001215/0.1878, allocations: 98.02 kB / 0.6975 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0003647/0.1881, allocations: 220.7 kB / 0.6977 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.0001145/0.1883, allocations: 50.62 kB / 0.6977 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0003427/0.1886, allocations: 248 kB / 0.6979 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0007734/0.1894, allocations: 0.5146 MB / 0.6985 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004784/0.1899, allocations: 463.6 kB / 0.6989 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.000876/0.1907, allocations: 488.8 kB / 0.6994 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0008404/0.1916, allocations: 0.8131 MB / 0.7002 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 4.331e-05/0.1916, allocations: 26.69 kB / 0.7002 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 0.0001271/0.1917, allocations: 127.9 kB / 0.7003 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.001269/0.193, allocations: 0.8274 MB / 0.7011 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 0.0001044/0.1931, allocations: 59.95 kB / 0.7012 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 9.82e-07/0.1931, allocations: 0 / 0.7012 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002809/0.1934, allocations: 170.5 kB / 0.7013 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 5.971e-06/0.1934, allocations: 0 / 0.7013 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 5.717e-05/0.1935, allocations: 59.92 kB / 0.7014 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 1.011e-05/0.1935, allocations: 4 kB / 0.7014 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.0009218/0.1944, allocations: 0.5956 MB / 0.702 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.001406/0.1958, allocations: 1.192 MB / 0.7031 GB, free: 2.32 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {checkValve.m_flow} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 29 (scalar:29, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 47 (scalar:47, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 6.405e-05/0.1959, allocations: 35.61 kB / 0.7032 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003227/0.1991, allocations: 1.672 MB / 0.7048 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of Templates: time 0.01183/0.2109, allocations: 5.162 MB / 0.7098 GB, free: 11.45 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 6.24946485797409] Failed to read output from testmodel.py, exit status != 0: 0.21962268702918664 0.23530340000000002 0.049686394 Calling exit ...