Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001633/0.001633, allocations: 108 kB / 22 MB, free: 5.227 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.001929/0.001929, allocations: 213.5 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 207.7 MB / 236.2 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.459e-05, allocations: 2.281 kB / 348.5 MB, free: 9.391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004538/0.004562, allocations: 2.561 MB / 351.1 MB, free: 6.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.006235, allocations: 0.811 MB / 351.9 MB, free: 5.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.006368, allocations: 7.938 kB / 351.9 MB, free: 5.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.006701, allocations: 75.42 kB / 352 MB, free: 5.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.007044, allocations: 138.9 kB / 352.1 MB, free: 5.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.0073, allocations: 87.81 kB / 352.2 MB, free: 5.684 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.007965, allocations: 0.4945 MB / 352.7 MB, free: 5.188 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.00817, allocations: 63.97 kB / 352.7 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.008407, allocations: 183.3 kB / 352.9 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.008643, allocations: 159.2 kB / 353.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.008711, allocations: 35.98 kB / 353.1 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.008826, allocations: 40 kB / 353.1 MB, free: 4.719 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007373/0.009563, allocations: 0.7273 MB / 353.9 MB, free: 3.984 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003585/0.009922, allocations: 446.1 kB / 354.3 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.009989, allocations: 40 kB / 354.3 MB, free: 3.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.384e-05/0.01003, allocations: 19.86 kB / 354.4 MB, free: 3.484 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 (50) * Number of variables: 50 (50) Notification: Performance of [SIM] Bindings: time 0.002504/0.01254, allocations: 2.096 MB / 356.5 MB, free: 1.254 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002803/0.01282, allocations: 195.6 kB / 356.7 MB, free: 1.047 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008168/0.01363, allocations: 0.7795 MB / 357.4 MB, free: 244 kB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004519/0.01409, allocations: 292.3 kB / 357.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001785/0.01587, allocations: 1.146 MB / 358.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003668/0.01624, allocations: 246.3 kB / 359.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001722/0.01641, allocations: 133.5 kB / 359.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003972/0.01681, allocations: 275.1 kB / 359.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002816/0.01709, allocations: 174 kB / 359.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005626/0.01765, allocations: 466.6 kB / 360.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001222/0.01887, allocations: 0.7937 MB / 360.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008682/0.01974, allocations: 0.7805 MB / 361.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009376/0.02068, allocations: 492.9 kB / 362.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001077/0.02176, allocations: 1.024 MB / 363.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.334e-05/0.02181, allocations: 29.36 kB / 363.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001882/0.022, allocations: 171.8 kB / 363.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001825/0.02382, allocations: 1.154 MB / 364.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002848/0.02411, allocations: 173.6 kB / 364.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.749e-06/0.02411, allocations: 4 kB / 364.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004436/0.02456, allocations: 324.9 kB / 365 MB, free: 7.922 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.468e-06/0.02457, allocations: 4 kB / 365.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0002182/0.02478, allocations: 156.2 kB / 365.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.307e-05/0.02481, allocations: 15.88 kB / 365.2 MB, free: 7.75 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001347/0.02615, allocations: 0.9194 MB / 366.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001309/0.02746, allocations: 1.183 MB / 367.3 MB, free: 5.492 MB / 302.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: ......... 10 * 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: ............................. 4 (4) {openTank1.m, openTank1.H, openTank2.m, openTank2.H} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 17 (17) {$FUN_3, $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} * 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: ........... 39 (scalar:39, 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: ........... 44 (scalar:44, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:4) * 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 0.0001697/0.02763, allocations: 31.73 kB / 367.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of SimCode: time 0.002184/0.02982, allocations: 1.522 MB / 368.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of Templates: time 0.01176/0.04158, allocations: 5.572 MB / 374.4 MB, free: 14.33 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.770600032003131] Failed to read output from testmodel.py, exit status != 0: ['time', 'openTank1.H', 'openTank1.m', 'openTank2.H', 'openTank2.m'] 0.050759026024024934 0.066428308 0.053183411 Calling exit ...