Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.002092/0.002092, 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.002576/0.002576, allocations: 213.9 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.519/1.519, allocations: 230.6 MB / 256.9 MB, free: 7.777 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.8664/0.8664, allocations: 94.63 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.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.826e-05, allocations: 2.281 kB / 0.5562 GB, free: 38.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.2009/0.2009, allocations: 129.2 MB / 0.6824 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007988/0.2089, allocations: 4.231 MB / 0.6865 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.2101, allocations: 39.62 kB / 0.6866 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.2116, allocations: 270.1 kB / 0.6868 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.2143, allocations: 0.668 MB / 0.6875 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.2163, allocations: 0.5138 MB / 0.688 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.2187, allocations: 1.156 MB / 0.6891 GB, free: 264 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.2192, allocations: 98.8 kB / 0.6892 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.221, allocations: 0.5757 MB / 0.6898 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.222, allocations: 434.1 kB / 0.6902 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.2222, allocations: 44 kB / 0.6902 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.2244, allocations: 0.694 MB / 0.6909 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.001434/0.2258, allocations: 1.287 MB / 0.6921 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0007818/0.2266, allocations: 0.8858 MB / 0.693 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.2267, allocations: 56 kB / 0.6931 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0002411/0.227, allocations: 75.72 kB / 0.6931 GB, free: 12.09 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: 107 (99) * Number of variables: 107 (107) Notification: Performance of [SIM] Bindings: time 0.003878/0.2309, allocations: 3.015 MB / 0.6961 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004088/0.2313, allocations: 327.6 kB / 0.6964 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.002642/0.2339, allocations: 2.107 MB / 0.6985 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0006188/0.2345, allocations: 332.2 kB / 0.6988 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.003149/0.2377, allocations: 1.883 MB / 0.7006 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0005394/0.2382, allocations: 324.6 kB / 0.7009 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 0.0001957/0.2384, allocations: 164.1 kB / 0.7011 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0006226/0.239, allocations: 401.4 kB / 0.7015 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.0003428/0.2394, allocations: 183.4 kB / 0.7016 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0008903/0.2403, allocations: 0.6671 MB / 0.7023 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.002121/0.2424, allocations: 1.417 MB / 0.7037 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001489/0.2439, allocations: 1.288 MB / 0.7049 GB, free: 15.38 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.001543/0.2454, allocations: 0.8263 MB / 0.7057 GB, free: 14.48 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.002607/0.248, allocations: 2.248 MB / 0.7079 GB, free: 12.22 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 0.0001127/0.2481, allocations: 43.98 kB / 0.708 GB, free: 12.17 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0004816/0.2486, allocations: 327.7 kB / 0.7083 GB, free: 11.85 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.003512/0.2521, allocations: 2.172 MB / 0.7104 GB, free: 9.656 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 0.000159/0.2523, allocations: 107.9 kB / 0.7105 GB, free: 9.551 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 1.683e-06/0.2523, allocations: 0 / 0.7105 GB, free: 9.551 MB / 0.545 GB Notification: Performance of [SIM] DAE-Mode: time 0.0009892/0.2533, allocations: 0.6001 MB / 0.7111 GB, free: 8.945 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 9.588e-06/0.2533, allocations: 1 kB / 0.7111 GB, free: 8.945 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 0.0001438/0.2534, allocations: 135.9 kB / 0.7112 GB, free: 8.812 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 1.688e-05/0.2535, allocations: 8 kB / 0.7112 GB, free: 8.805 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.003144/0.2566, allocations: 2.15 MB / 0.7133 GB, free: 6.656 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 0.002262/0.2589, allocations: 1.841 MB / 0.7151 GB, free: 4.633 MB / 0.545 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: ............................. 2 (2) {flowResistance.m_flow, flowResistance1.m_flow} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 19 (19) {$SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_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, $TEV_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: ........... 86 (scalar:86, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 116 (scalar:116, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 9.331e-05/0.259, allocations: 55.03 kB / 0.7152 GB, free: 4.582 MB / 0.545 GB Notification: Performance of SimCode: time 0.005764/0.2647, allocations: 3.154 MB / 0.7183 GB, free: 1.367 MB / 0.545 GB Notification: Performance of Templates: time 0.02409/0.2888, allocations: 11.85 MB / 0.7298 GB, free: 5.613 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 6.654364496993367] Failed to read output from testmodel.py, exit status != 0: 0.2975107220117934 0.31376049500000003 0.083271464 Calling exit ...