Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001412/0.001412, 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.00202/0.00202, allocations: 184.5 kB / 24.53 MB, free: 3.754 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.591/1.591, allocations: 225.7 MB / 253.4 MB, free: 12.8 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.243e-05, allocations: 2.281 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006901/0.006924, allocations: 4.491 MB / 376.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.009937, allocations: 1.262 MB / 377.5 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007652/0.0107, allocations: 11.94 kB / 377.5 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007906/0.01149, allocations: 162.6 kB / 377.6 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.01292, allocations: 333.2 kB / 378 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.01374, allocations: 231.6 kB / 378.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.01579, allocations: 1.363 MB / 379.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.01627, allocations: 182.9 kB / 379.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009561/0.01723, allocations: 0.4943 MB / 380.2 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008811/0.01811, allocations: 453.8 kB / 380.7 MB, free: 172 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.01834, allocations: 92 kB / 380.8 MB, free: 80 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1934/0.2117, allocations: 111.8 kB / 380.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001946/0.2136, allocations: 1.98 MB / 382.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007634/0.2144, allocations: 1.184 MB / 384 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.2147, allocations: 100.2 kB / 384.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002141/0.2149, allocations: 27.03 kB / 384.2 MB, free: 13.05 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: 137 (137) * Number of variables: 137 (137) Notification: Performance of [SIM] Bindings: time 0.005585/0.2205, allocations: 5.444 MB / 389.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007452/0.2212, allocations: 0.5267 MB / 390.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002146/0.2234, allocations: 2.183 MB / 392.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001347/0.2247, allocations: 0.6916 MB / 393 MB, free: 8.988 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.005078/0.2298, allocations: 3.263 MB / 396.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008783/0.2307, allocations: 0.5825 MB / 396.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003013/0.231, allocations: 296.2 kB / 397.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0007361/0.2317, allocations: 0.6373 MB / 397.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0007154/0.2324, allocations: 0.4985 MB / 398.3 MB, free: 6.059 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001184/0.2336, allocations: 1.247 MB / 399.5 MB, free: 5.172 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002651/0.2363, allocations: 2.179 MB / 401.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001959/0.2382, allocations: 2.208 MB / 403.9 MB, free: 2.828 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002426/0.2407, allocations: 1.327 MB / 405.2 MB, free: 1.969 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002331/0.243, allocations: 2.985 MB / 408.2 MB, free: 15.76 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.000165/0.2432, allocations: 66.06 kB / 408.3 MB, free: 15.72 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0005245/0.2437, allocations: 496.8 kB / 408.8 MB, free: 15.33 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.009445/0.2531, allocations: 6.345 MB / 415.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.000815/0.2539, allocations: 0.5874 MB / 415.7 MB, free: 9.555 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.374e-06/0.2539, allocations: 0 / 415.7 MB, free: 9.555 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001144/0.2551, allocations: 0.8798 MB / 416.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.385e-05/0.2551, allocations: 7.031 kB / 416.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0005903/0.2557, allocations: 471.6 kB / 417.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 4.625e-05/0.2557, allocations: 10.36 kB / 417.1 MB, free: 8.039 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.003337/0.2591, allocations: 2.397 MB / 419.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.004756/0.2638, allocations: 4.417 MB / 423.9 MB, free: 0.9766 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: ......... 30 * 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: ............................. 5 (5) {dTMass1, dTMass2, pipe1.T, pipe2.T, pipe3.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 44 (44) {$FUN_2, $FUN_5, $FUN_8, $FUN_11, $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_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: ........... 87 (scalar:87, 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: ... 4 (linear: 4, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 118 (scalar:118, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:16) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 4, nonlinear:0) Notification: Performance of backend: time 0.0001176/0.2639, allocations: 68.08 kB / 423.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of SimCode: time 0.004903/0.2689, allocations: 3.852 MB / 427.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of Templates: time 0.02554/0.2944, allocations: 14.65 MB / 442.5 MB, free: 14.52 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.371524811955169] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 0.30319192400202155 0.317688993 0.099603991 Calling exit ...