Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.002028/0.002028, 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.001881/0.001881, allocations: 218.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.559/1.559, allocations: 230.7 MB / 256.9 MB, free: 7.75 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.9134/0.9134, allocations: 94.64 MB / 407.9 MB, free: 8.809 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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.373e-05, allocations: 5.234 kB / 0.5562 GB, free: 38.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1743/0.1744, allocations: 125.4 MB / 0.6786 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005426/0.1798, allocations: 3.054 MB / 0.6816 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.1804, allocations: 23.75 kB / 0.6817 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007873/0.1812, allocations: 186.7 kB / 0.6818 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.1828, allocations: 0.4972 MB / 0.6823 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.1842, allocations: 390.7 kB / 0.6827 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.1855, allocations: 0.86 MB / 0.6835 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.1858, allocations: 73.23 kB / 0.6836 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.1868, allocations: 414.3 kB / 0.684 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000538/0.1874, allocations: 326.6 kB / 0.6843 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.289e-05/0.1874, allocations: 36 kB / 0.6843 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.1888, allocations: 0.542 MB / 0.6849 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.0009881/0.1898, allocations: 0.9547 MB / 0.6858 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0005796/0.1904, allocations: 0.6394 MB / 0.6864 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1905, allocations: 44 kB / 0.6865 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0001756/0.1907, allocations: 43.83 kB / 0.6865 GB, free: 2.887 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 (77) * Number of variables: 83 (83) Notification: Performance of [SIM] Bindings: time 0.003117/0.1938, allocations: 2.336 MB / 0.6888 GB, free: 420 kB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003867/0.1942, allocations: 263.6 kB / 0.689 GB, free: 140 kB / 0.5137 GB Notification: Performance of [SIM] Early Inline: time 0.001925/0.1961, allocations: 1.506 MB / 0.6905 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0004226/0.1966, allocations: 264.3 kB / 0.6908 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.002639/0.1992, allocations: 1.535 MB / 0.6923 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0004326/0.1996, allocations: 248 kB / 0.6925 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 0.0001909/0.1998, allocations: 140.2 kB / 0.6926 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0004755/0.2003, allocations: 329.4 kB / 0.693 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.0002255/0.2005, allocations: 138.1 kB / 0.6931 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0006562/0.2012, allocations: 0.4901 MB / 0.6936 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.001551/0.2027, allocations: 1.043 MB / 0.6946 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001017/0.2038, allocations: 0.9367 MB / 0.6955 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.001085/0.2048, allocations: 0.6138 MB / 0.6961 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.001735/0.2066, allocations: 1.596 MB / 0.6977 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 6.998e-05/0.2066, allocations: 39.98 kB / 0.6977 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 0.0002497/0.2069, allocations: 235.8 kB / 0.6979 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.002382/0.2093, allocations: 1.543 MB / 0.6994 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 0.0001167/0.2094, allocations: 75.98 kB / 0.6995 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 9.62e-07/0.2094, allocations: 0 / 0.6995 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of [SIM] DAE-Mode: time 0.0006263/0.21, allocations: 370.7 kB / 0.6998 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 8.837e-06/0.21, allocations: 0.6562 kB / 0.6998 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 8.958e-05/0.2101, allocations: 99.91 kB / 0.6999 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 1.344e-05/0.2101, allocations: 3.938 kB / 0.6999 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.001996/0.2121, allocations: 1.371 MB / 0.7013 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.00179/0.2139, allocations: 1.437 MB / 0.7027 GB, free: 1.473 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: ................. 13 (13) {$SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_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: ........... 63 (scalar:63, 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: ........... 83 (scalar:83, 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 0.0001456/0.2141, allocations: 45.05 kB / 0.7027 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004496/0.2186, allocations: 2.363 MB / 0.705 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Templates: time 0.01836/0.2369, allocations: 8.508 MB / 0.7133 GB, free: 6.555 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 6.523893688980024] Failed to read output from testmodel.py, exit status != 0: 0.24592693895101547 0.262224293 0.06798639100000001 Calling exit ...