Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.001348/0.001348, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001507/0.001507, allocations: 206.8 kB / 24.49 MB, free: 3.961 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.54/1.54, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.3e-05, allocations: 2.281 kB / 378.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.223/0.223, allocations: 26.38 MB / 405.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02408/0.2471, allocations: 13.55 MB / 418.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002815/0.2499, allocations: 61.09 kB / 418.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.2519, allocations: 0.5773 MB / 419.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007885/0.2597, allocations: 2.38 MB / 421.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0126/0.2723, allocations: 3.807 MB / 425.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.283, allocations: 6.34 MB / 432 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004078/0.287, allocations: 1.447 MB / 433.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006593/0.2936, allocations: 2.54 MB / 436 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004224/0.2978, allocations: 1.811 MB / 437.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009485/0.2988, allocations: 164 kB / 438 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006618/0.3054, allocations: 1.974 MB / 439.9 MB, free: 264 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.00718/0.3126, allocations: 4.273 MB / 444.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.003487/0.3161, allocations: 2.328 MB / 446.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.3173, allocations: 143.9 kB / 446.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005056/0.3178, allocations: 47.75 kB / 446.7 MB, free: 9.418 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 (231) * Number of variables: 261 (237) Notification: Performance of [SIM] Bindings: time 0.01707/0.3349, allocations: 9.81 MB / 456.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003068/0.338, allocations: 1.346 MB / 457.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.00909/0.3471, allocations: 6.846 MB / 464.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002598/0.3497, allocations: 1.393 MB / 466.1 MB, free: 5.516 MB / 366.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.008883/0.3585, allocations: 5.379 MB / 471.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002033/0.3606, allocations: 1.218 MB / 472.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0007288/0.3613, allocations: 0.565 MB / 473.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.001413/0.3627, allocations: 1.207 MB / 474.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.00107/0.3638, allocations: 0.7372 MB / 475.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.002865/0.3667, allocations: 2.253 MB / 477.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.007889/0.3745, allocations: 4.99 MB / 482.5 MB, free: 4.266 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00562/0.3802, allocations: 4.872 MB / 487.4 MB, free: 15.39 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.005552/0.3857, allocations: 3.003 MB / 490.4 MB, free: 12.18 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.009703/0.3954, allocations: 8.241 MB / 498.6 MB, free: 3.914 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 0.0003219/0.3957, allocations: 110.8 kB / 498.7 MB, free: 3.781 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.002293/0.398, allocations: 1.578 MB / 0.4886 GB, free: 2.184 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.02241/0.4204, allocations: 13.94 MB / 0.5022 GB, free: 3.965 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 0.005757/0.4262, allocations: 4.281 MB / 0.5064 GB, free: 15.76 MB / 430.1 MB Notification: Performance of [SIM] Initialization: time 2.635e-06/0.4262, allocations: 0 / 0.5064 GB, free: 15.76 MB / 430.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.963e-05/0.4262, allocations: 10 kB / 0.5064 GB, free: 15.75 MB / 430.1 MB Notification: Performance of [SIM] Tearing: time 0.002681/0.4289, allocations: 1.918 MB / 0.5082 GB, free: 13.89 MB / 430.1 MB Notification: Performance of [SIM] Categorize: time 3.324e-05/0.429, allocations: 8 kB / 0.5082 GB, free: 13.88 MB / 430.1 MB Notification: Performance of [SIM] Solve: time 0.007707/0.4367, allocations: 4.506 MB / 0.5126 GB, free: 9.41 MB / 430.1 MB Notification: Performance of [SIM] Jacobian: time 0.01192/0.4486, allocations: 7.062 MB / 0.5195 GB, free: 2.391 MB / 430.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: ......... 9 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {tank1.U, tank1.m, tank2.U, tank2.m, tank3.U, tank3.m} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 51 (51) {tank1.regularFlow, tank1.inFlow, tank2.regularFlow, tank2.inFlow, tank3.regularFlow, tank3.inFlow, $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} * 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: ........... 180 (scalar:174, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:3) * Number of for-loop strong components: ......... 6 (resizable: 6, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 291 (scalar:261, array:30, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:3) * Number of for-loop strong components: ......... 6 (resizable: 6, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 294 (scalar:264, array:30, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:3) * Number of for-loop strong components: ......... 6 (resizable: 6, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0002209/0.4488, allocations: 160.2 kB / 0.5197 GB, free: 2.23 MB / 430.1 MB Notification: Performance of SimCode: time 0.03112/0.4799, allocations: 18 MB / 0.5373 GB, free: 40 kB / 446.1 MB Notification: Performance of Templates: time 0.3062/0.7861, allocations: 53.8 MB / 0.5898 GB, free: 59.98 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.475323002785444] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', 'tank3.level', 'tank3.medium.T'] 0.7942196191288531 0.804122076 0.48376436899999997 Calling exit ...