Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 108.7 kB / 16.42 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 187.2 kB / 17.35 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.374e-05, allocations: 6.219 kB / 327.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003811/0.003843, allocations: 2.851 MB / 330 MB, free: 488 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.005619, allocations: 1.17 MB / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.005755, allocations: 7.938 kB / 331.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.006215, allocations: 187.1 kB / 331.4 MB, free: 15.11 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.006611, allocations: 198.8 kB / 331.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.006932, allocations: 147.6 kB / 331.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00054/0.007481, allocations: 0.5057 MB / 332.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.007687, allocations: 99.48 kB / 332.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.007878, allocations: 191.2 kB / 332.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.008104, allocations: 203.2 kB / 332.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.008152, allocations: 24 kB / 332.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.008317, allocations: 87.91 kB / 332.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004681/0.008791, allocations: 0.5987 MB / 333.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002481/0.009046, allocations: 406 kB / 333.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.989e-05/0.009121, allocations: 59.81 kB / 333.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.653e-05/0.00917, allocations: 8 kB / 333.9 MB, free: 12.59 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: 47 (47) * Number of variables: 47 (47) Notification: Performance of Bindings: time 0.001714/0.01089, allocations: 2.042 MB / 335.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001244/0.01102, allocations: 115.7 kB / 336 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004542/0.01148, allocations: 0.5346 MB / 336.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of simplify1: time 6.188e-05/0.01155, allocations: 67.91 kB / 336.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of Alias: time 0.001066/0.01262, allocations: 0.9929 MB / 337.6 MB, free: 8.547 MB / 286.1 MB Notification: Performance of simplify2: time 5.442e-05/0.01269, allocations: 51.92 kB / 337.7 MB, free: 8.496 MB / 286.1 MB Notification: Performance of Events: time 0.0002389/0.01293, allocations: 206.8 kB / 337.9 MB, free: 8.289 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003348/0.01327, allocations: 257 kB / 338.1 MB, free: 8.023 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002885/0.01357, allocations: 318.2 kB / 338.4 MB, free: 7.629 MB / 286.1 MB Notification: Performance of Causalize: time 0.001316/0.0149, allocations: 1.347 MB / 339.8 MB, free: 6.199 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.000563/0.01547, allocations: 0.5968 MB / 340.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of Inline: time 0.001011/0.01649, allocations: 1.04 MB / 341.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of Partitioning: time 7.014e-05/0.01657, allocations: 80.97 kB / 341.5 MB, free: 4.418 MB / 286.1 MB Notification: Performance of Cleanup: time 5.026e-05/0.01662, allocations: 51.88 kB / 341.6 MB, free: 4.367 MB / 286.1 MB Notification: Performance of Causalize: time 0.002773/0.0194, allocations: 3.148 MB / 344.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002215/0.01964, allocations: 246.2 kB / 344.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of Initialization: time 5.01e-07/0.01965, allocations: 7.875 kB / 344.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002189/0.01987, allocations: 330.2 kB / 345.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of Categorize: time 1.32e-05/0.01989, allocations: 3.938 kB / 345.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of Solve: time 0.000701/0.0206, allocations: 1.037 MB / 346.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003524/0.02096, allocations: 426.9 kB / 346.7 MB, free: 14.95 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: ............................. 2 (2) {openTank.m, openTank.H} * Number of discrete states: .................... 2 (2) {combiTimeTable.nextTimeEvent, combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 16 (16) {$FUN_3, $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_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 32 (scalar:32, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 49 (scalar:48, array:0, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: Performance of backend: time 0.0001046/0.02107, allocations: 51.91 kB / 346.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of SimCode: time 0.002744/0.02382, allocations: 2.62 MB / 349.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Templates: time 0.007957/0.03179, allocations: 4.875 MB / 354.3 MB, free: 7.379 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1)