Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008223/0.008223, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.647/1.647, allocations: 170.8 MB / 186.6 MB, free: 1.027 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001761/0.001761, allocations: 107.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004974, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2908, allocations: 38.76 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7077/0.9986, allocations: 318.4 MB / 0.6165 GB, free: 82.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000423/0.9991, allocations: 91.95 kB / 0.6166 GB, free: 82.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6311/1.63, allocations: 165.2 MB / 0.7779 GB, free: 64.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.967e-06/1.63, allocations: 0 / 0.7779 GB, free: 64.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.463e-05/1.63, allocations: 20 kB / 0.7779 GB, free: 64.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002821/1.633, allocations: 1.208 MB / 0.7791 GB, free: 63.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.633, allocations: 12.03 kB / 0.7791 GB, free: 63.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/1.634, allocations: 98.97 kB / 0.7792 GB, free: 62.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/1.635, allocations: 0.6635 MB / 0.7799 GB, free: 62.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/1.635, allocations: 49.22 kB / 0.7799 GB, free: 62.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/1.635, allocations: 56 kB / 0.78 GB, free: 62.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/1.636, allocations: 0.8778 MB / 0.7808 GB, free: 61.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/1.636, allocations: 0 / 0.7808 GB, free: 61.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/1.636, allocations: 27.91 kB / 0.7809 GB, free: 61.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/1.636, allocations: 45.28 kB / 0.7809 GB, free: 61.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/1.637, allocations: 0.7896 MB / 0.7817 GB, free: 60.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004394/1.642, allocations: 3.839 MB / 0.7854 GB, free: 56.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007382/1.643, allocations: 479.9 kB / 0.7859 GB, free: 55.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002111/1.645, allocations: 1.925 MB / 0.7878 GB, free: 53.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.645, allocations: 38.59 kB / 0.7878 GB, free: 53.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 2.224e-06/1.645, allocations: 0 / 0.7878 GB, free: 53.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.002756/1.647, allocations: 1.489 MB / 0.7893 GB, free: 52.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.648, allocations: 136.5 kB / 0.7894 GB, free: 51.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/1.648, allocations: 0.6089 MB / 0.79 GB, free: 51.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/1.648, allocations: 37.7 kB / 0.79 GB, free: 51.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/1.648, allocations: 430.8 kB / 0.7904 GB, free: 50.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/1.649, allocations: 157.8 kB / 0.7906 GB, free: 50.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/1.649, allocations: 12 kB / 0.7906 GB, free: 50.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/1.649, allocations: 390.7 kB / 0.791 GB, free: 50.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/1.649, allocations: 249.8 kB / 0.7912 GB, free: 50.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/1.649, allocations: 0.5482 MB / 0.7917 GB, free: 49.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/1.65, allocations: 325.9 kB / 0.792 GB, free: 49.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.65, allocations: 4 kB / 0.792 GB, free: 49.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001178/1.651, allocations: 0.8892 MB / 0.7929 GB, free: 48.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006446/1.652, allocations: 3.917 MB / 0.7967 GB, free: 43.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.652, allocations: 15.98 kB / 0.7968 GB, free: 43.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007922/1.653, allocations: 120.7 kB / 0.7969 GB, free: 43.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/1.654, allocations: 239.7 kB / 0.7971 GB, free: 43.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006772/1.654, allocations: 1.212 MB / 0.7983 GB, free: 42.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/1.655, allocations: 67.97 kB / 0.7983 GB, free: 42.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/1.655, allocations: 43.98 kB / 0.7984 GB, free: 42.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.655, allocations: 4 kB / 0.7984 GB, free: 42.2 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001061/1.656, allocations: 0.7907 MB / 0.7992 GB, free: 41.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.656, allocations: 11.95 kB / 0.7992 GB, free: 41.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/1.657, allocations: 121.4 kB / 0.7993 GB, free: 41.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007983/1.658, allocations: 223.6 kB / 0.7995 GB, free: 41.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002693/1.658, allocations: 0.5953 MB / 0.8001 GB, free: 40.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/1.659, allocations: 55.88 kB / 0.8001 GB, free: 40.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/1.659, allocations: 48.05 kB / 0.8002 GB, free: 40.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004612/1.659, allocations: 344.6 kB / 0.8005 GB, free: 39.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/1.659, allocations: 75.06 kB / 0.8006 GB, free: 39.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/1.661, allocations: 0.75 MB / 0.8013 GB, free: 39.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.661, allocations: 4 kB / 0.8013 GB, free: 39.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.661, allocations: 0 / 0.8013 GB, free: 39.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.661, allocations: 3.984 kB / 0.8013 GB, free: 39.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/1.663, allocations: 1.433 MB / 0.8027 GB, free: 37.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.663, allocations: 0 / 0.8027 GB, free: 37.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/1.663, allocations: 147.8 kB / 0.8029 GB, free: 37.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/1.664, allocations: 88.86 kB / 0.803 GB, free: 37.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/1.664, allocations: 19.95 kB / 0.803 GB, free: 37.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004449/1.664, allocations: 1.177 MB / 0.8041 GB, free: 36.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.664, allocations: 0 / 0.8041 GB, free: 36.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/1.666, allocations: 1.008 MB / 0.8051 GB, free: 35.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/1.666, allocations: 171.9 kB / 0.8053 GB, free: 34.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.666, allocations: 23.92 kB / 0.8053 GB, free: 34.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/1.666, allocations: 36.05 kB / 0.8053 GB, free: 34.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/1.666, allocations: 48.48 kB / 0.8054 GB, free: 34.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/1.666, allocations: 19.98 kB / 0.8054 GB, free: 34.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005042/1.667, allocations: 479 kB / 0.8058 GB, free: 34.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.667, allocations: 0 / 0.8058 GB, free: 34.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002242/1.669, allocations: 0.6323 MB / 0.8065 GB, free: 33.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.medium.T,tank1.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[2],tank1.aboveLevel[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/1.671, allocations: 0.6563 MB / 0.8071 GB, free: 33.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002215/1.673, allocations: 1.096 MB / 0.8082 GB, free: 32.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.673, allocations: 4 kB / 0.8082 GB, free: 32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006203/1.674, allocations: 339.5 kB / 0.8085 GB, free: 31.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/1.675, allocations: 277.8 kB / 0.8088 GB, free: 31.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/1.677, allocations: 1.878 MB / 0.8106 GB, free: 29.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/1.678, allocations: 1.003 MB / 0.8116 GB, free: 28.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001127/1.679, allocations: 335.1 kB / 0.8119 GB, free: 28.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/1.679, allocations: 75.41 kB / 0.812 GB, free: 28.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/1.679, allocations: 0 / 0.812 GB, free: 28.05 MB / 362.7 MB Notification: Performance of Templates: time 0.02799/1.707, allocations: 17.79 MB / 0.8293 GB, free: 10.27 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1)