Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 188.4 kB / 24.53 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.82e-05, allocations: 6.219 kB / 371.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.007406/0.007434, allocations: 3.956 MB / 375.7 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.01093, allocations: 1.164 MB / 376.8 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000694/0.01163, allocations: 15.88 kB / 376.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.01223, allocations: 126.9 kB / 377 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.01336, allocations: 273.7 kB / 377.2 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009318/0.0143, allocations: 195.7 kB / 377.4 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.01666, allocations: 1.086 MB / 378.5 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.01719, allocations: 153.6 kB / 378.7 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009288/0.01811, allocations: 410.5 kB / 379.1 MB, free: 1.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006501/0.01876, allocations: 362.2 kB / 379.4 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.01892, allocations: 68 kB / 379.5 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.01921, allocations: 88 kB / 379.6 MB, free: 1.254 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.2464/0.2656, allocations: 1.556 MB / 381.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000921/0.2665, allocations: 0.9549 MB / 382.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.2668, allocations: 79.03 kB / 382.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001935/0.267, allocations: 23.34 kB / 382.2 MB, free: 14.57 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 (111) * Number of variables: 111 (111) Notification: Performance of [SIM] Bindings: time 0.004448/0.2714, allocations: 4.311 MB / 386.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007074/0.2721, allocations: 467.4 kB / 387 MB, free: 12.7 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001898/0.274, allocations: 1.691 MB / 388.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008433/0.2749, allocations: 0.5157 MB / 389.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003863/0.2787, allocations: 2.547 MB / 391.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000695/0.2794, allocations: 432.7 kB / 392.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000234/0.2796, allocations: 224.3 kB / 392.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006085/0.2803, allocations: 491.9 kB / 392.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004866/0.2807, allocations: 343 kB / 393.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001101/0.2818, allocations: 0.9434 MB / 394.1 MB, free: 9 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.004012/0.2859, allocations: 2.788 MB / 396.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001615/0.2875, allocations: 1.616 MB / 398.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001817/0.2893, allocations: 1.075 MB / 399.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001934/0.2912, allocations: 2.233 MB / 401.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 0.0001294/0.2914, allocations: 58.91 kB / 401.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003357/0.2917, allocations: 385.9 kB / 402.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.006204/0.2979, allocations: 4.916 MB / 407.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.000452/0.2983, allocations: 444.4 kB / 407.6 MB, free: 2.031 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.754e-06/0.2983, allocations: 4 kB / 407.6 MB, free: 2.027 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006346/0.299, allocations: 0.6764 MB / 408.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.869e-06/0.299, allocations: 4.5 kB / 408.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002995/0.2993, allocations: 335.8 kB / 408.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 3.13e-05/0.2993, allocations: 7.375 kB / 408.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002869/0.3022, allocations: 2.254 MB / 410.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.00441/0.3066, allocations: 3.457 MB / 414.3 MB, free: 11 MB / 318.1 MB 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: ......... 20 * 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) {dTSource, pipe.T, speed.phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 31 (31) {$FUN_2, $FUN_3, $FUN_9, $FUN_12, $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_3, $TEV_2, $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: ........... 71 (scalar:71, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:0, if:1, tuple:0) * 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: ........... 95 (scalar:95, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:1, when:0, if:1, tuple:13) * 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.000169/0.3068, allocations: 57.84 kB / 414.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of SimCode: time 0.005293/0.3121, allocations: 3.147 MB / 417.5 MB, free: 7.762 MB / 318.1 MB Notification: Performance of Templates: time 0.02216/0.3342, allocations: 11.48 MB / 429 MB, free: 12.39 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.388731844024733] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T', 'speed.phi'] 0.34388976002810523 0.359174879 0.08889762400000001 Calling exit ...