Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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.001589/0.001589, 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.001767/0.001767, allocations: 214.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.556/1.556, allocations: 230.6 MB / 256.9 MB, free: 7.766 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.9009/0.9009, 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.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.686e-05, allocations: 2.281 kB / 0.5562 GB, free: 37.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.0674/0.06743, allocations: 59.76 MB / 0.6146 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0265/0.09394, allocations: 16.03 MB / 0.6303 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004142/0.09808, allocations: 118.9 kB / 0.6304 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004399/0.1025, allocations: 1.063 MB / 0.6314 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.1129, allocations: 2.847 MB / 0.6342 GB, free: 8.598 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006109/0.119, allocations: 1.584 MB / 0.6357 GB, free: 7.012 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008954/0.1279, allocations: 4.779 MB / 0.6404 GB, free: 2.211 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.1294, allocations: 367.5 kB / 0.6407 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004938/0.1344, allocations: 1.95 MB / 0.6427 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.1375, allocations: 1.438 MB / 0.6441 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007578/0.1383, allocations: 204 kB / 0.6443 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006676/0.145, allocations: 1.708 MB / 0.6459 GB, free: 12.51 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.006647/0.1516, allocations: 5.238 MB / 0.651 GB, free: 7.215 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.004401/0.156, allocations: 3.478 MB / 0.6544 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.1573, allocations: 244 kB / 0.6547 GB, free: 3.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0007536/0.158, allocations: 187.2 kB / 0.6548 GB, free: 3.285 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 479 (437) * Number of variables: 479 (479) Notification: Performance of [SIM] Bindings: time 0.01701/0.175, allocations: 12.36 MB / 0.6669 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of [SIM] FunctionAlias: time 0.002583/0.1776, allocations: 1.477 MB / 0.6684 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of [SIM] Early Inline: time 0.01356/0.1912, allocations: 9.148 MB / 0.6773 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 0.003382/0.1945, allocations: 1.153 MB / 0.6784 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of [SIM] Alias: time 0.01442/0.209, allocations: 8.392 MB / 0.6866 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 0.002333/0.2113, allocations: 1.045 MB / 0.6876 GB, free: 376 kB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 0.0009549/0.2123, allocations: 0.6195 MB / 0.6882 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.002141/0.2144, allocations: 1.531 MB / 0.6897 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.00146/0.2159, allocations: 0.882 MB / 0.6906 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.004137/0.22, allocations: 2.987 MB / 0.6935 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.01107/0.2311, allocations: 5.999 MB / 0.6994 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.007113/0.2382, allocations: 5.566 MB / 0.7048 GB, free: 14.29 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.006528/0.2447, allocations: 2.774 MB / 0.7075 GB, free: 11.32 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.01486/0.2596, allocations: 9.496 MB / 0.7168 GB, free: 1.801 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 0.0007226/0.2603, allocations: 142.7 kB / 0.7169 GB, free: 1.637 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.003012/0.2633, allocations: 1.393 MB / 0.7183 GB, free: 248 kB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.02051/0.2838, allocations: 8.66 MB / 0.7267 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of [INI] Tearing: time 0.0005658/0.2844, allocations: 343.5 kB / 0.7271 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of [SIM] Initialization: time 3.546e-06/0.2844, allocations: 0 / 0.7271 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of [SIM] DAE-Mode: time 0.005339/0.2897, allocations: 2.846 MB / 0.7298 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of [SIM] Remove Dummies: time 6.677e-05/0.2898, allocations: 2.781 kB / 0.7299 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of [SIM] Tearing: time 0.0004692/0.2903, allocations: 478.1 kB / 0.7303 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of [SIM] Categorize: time 7.8e-05/0.2903, allocations: 19.98 kB / 0.7303 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of [SIM] Solve: time 0.01883/0.3092, allocations: 10.11 MB / 0.7402 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of [SIM] Jacobian: time 0.01058/0.3197, allocations: 7.055 MB / 0.7471 GB, free: 1.777 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 12 * 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: ............................. 3 (3) {valveLinear.m_flow, valveParabolic.m_flow, valveEqualPercentage.m_flow} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 72 (72) {$FUN_1, $FUN_2, $FUN_3, $SEV_66, $SEV_65, $SEV_64, $SEV_63, $SEV_62, $SEV_61, $SEV_60, $SEV_59, $SEV_58, $SEV_57, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $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_1, $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: ........... 348 (scalar:348, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:12) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 431 (scalar:431, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:12) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 0.0002983/0.32, allocations: 144.2 kB / 0.7472 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of SimCode: time 0.4056/0.7257, allocations: 12.69 MB / 0.7596 GB, free: 85.83 MB / 0.5762 GB Notification: Performance of Templates: time 0.07473/0.8004, allocations: 48.81 MB / 0.8073 GB, free: 67.16 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 8.604683646000922] Failed to read output from testmodel.py, exit status != 0: 0.8096327210078016 0.819713539 0.6588440999999999 Calling exit ...