Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001282/0.001282, allocations: 110.6 kB / 16.42 MB, free: 6.48 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.001267/0.001267, 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.182/1.182, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.665e-05, allocations: 2.281 kB / 327.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00338/0.003405, allocations: 2.844 MB / 330 MB, free: 492 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.005055, allocations: 1.17 MB / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.005186, allocations: 11.94 kB / 331.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.005623, allocations: 183.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.0003747/0.006015, allocations: 206.8 kB / 331.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.006329, allocations: 139.6 kB / 331.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.006828, allocations: 0.5018 MB / 332.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.007034, allocations: 103.5 kB / 332.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.007255, allocations: 195.3 kB / 332.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.007498, allocations: 195.2 kB / 332.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.007551, allocations: 28 kB / 332.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.00771, allocations: 79.98 kB / 332.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004287/0.008144, allocations: 0.6142 MB / 333.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002321/0.008383, allocations: 402.1 kB / 333.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.008455, allocations: 59.81 kB / 333.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.819e-05/0.008499, 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.001719/0.01022, allocations: 2.035 MB / 335.9 MB, free: 10.44 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001267/0.01036, allocations: 119.7 kB / 336 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004766/0.01084, allocations: 0.5385 MB / 336.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of simplify1: time 6.466e-05/0.01091, allocations: 67.89 kB / 336.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of Alias: time 0.001061/0.01198, allocations: 0.989 MB / 337.6 MB, free: 8.551 MB / 286.1 MB Notification: Performance of simplify2: time 4.598e-05/0.01204, allocations: 43.94 kB / 337.7 MB, free: 8.508 MB / 286.1 MB Notification: Performance of Events: time 0.0002371/0.01228, allocations: 218.8 kB / 337.9 MB, free: 8.289 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002858/0.01258, allocations: 253 kB / 338.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003142/0.0129, allocations: 318.2 kB / 338.4 MB, free: 7.633 MB / 286.1 MB Notification: Performance of Causalize: time 0.001343/0.01425, allocations: 1.348 MB / 339.8 MB, free: 6.203 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005312/0.01479, allocations: 0.601 MB / 340.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of Inline: time 0.001097/0.0159, allocations: 1.042 MB / 341.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of Partitioning: time 7.411e-05/0.01598, allocations: 72.98 kB / 341.5 MB, free: 4.426 MB / 286.1 MB Notification: Performance of Cleanup: time 5.365e-05/0.01604, allocations: 51.88 kB / 341.5 MB, free: 4.375 MB / 286.1 MB Notification: Performance of Causalize: time 0.002809/0.01885, allocations: 3.164 MB / 344.7 MB, free: 1.258 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002096/0.01908, allocations: 246.2 kB / 344.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of Initialization: time 2.324e-06/0.01909, allocations: 0 / 344.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002385/0.01933, allocations: 326.1 kB / 345.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of Categorize: time 1.648e-05/0.01936, allocations: 8.062 kB / 345.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of Solve: time 0.0007696/0.02013, allocations: 1.04 MB / 346.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003606/0.02051, allocations: 430.9 kB / 346.7 MB, free: 14.94 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 9.624e-05/0.02061, allocations: 50.41 kB / 346.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of SimCode: time 0.002556/0.02317, allocations: 2.614 MB / 349.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Templates: time 0.007792/0.03098, allocations: 4.867 MB / 354.3 MB, free: 7.387 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1)