Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0015/0.0015, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.758/1.758, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001696/0.001696, allocations: 124.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.168e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.09887, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7365/0.8354, allocations: 323.6 MB / 0.6573 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.8357, allocations: 91 kB / 0.6574 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5018/1.337, allocations: 164.6 MB / 0.8182 GB, free: 58.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/1.338, allocations: 0 / 0.8182 GB, free: 58.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.199e-05/1.338, allocations: 24 kB / 0.8182 GB, free: 58.68 MB / 410.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.002053/1.34, allocations: 1.11 MB / 0.8193 GB, free: 57.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.34, allocations: 12.03 kB / 0.8193 GB, free: 57.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/1.34, allocations: 98.95 kB / 0.8194 GB, free: 57.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/1.341, allocations: 0.6595 MB / 0.82 GB, free: 56.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/1.341, allocations: 49.3 kB / 0.8201 GB, free: 56.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.653e-05/1.341, allocations: 55.98 kB / 0.8201 GB, free: 56.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/1.342, allocations: 0.869 MB / 0.821 GB, free: 55.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/1.342, allocations: 3.938 kB / 0.821 GB, free: 55.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/1.342, allocations: 31.94 kB / 0.821 GB, free: 55.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-05/1.343, allocations: 45.28 kB / 0.8211 GB, free: 55.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009645/1.344, allocations: 0.7703 MB / 0.8218 GB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/1.347, allocations: 3.847 MB / 0.8256 GB, free: 50.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/1.348, allocations: 475.6 kB / 0.826 GB, free: 50.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/1.348, allocations: 233.5 kB / 0.8263 GB, free: 50.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/1.35, allocations: 1.969 MB / 0.8282 GB, free: 47.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/1.35, allocations: 38.56 kB / 0.8282 GB, free: 47.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.903e-06/1.35, allocations: 0 / 0.8282 GB, free: 47.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.002147/1.353, allocations: 1.233 MB / 0.8294 GB, free: 46.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.353, allocations: 132.5 kB / 0.8295 GB, free: 46.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/1.353, allocations: 0.6051 MB / 0.8301 GB, free: 45.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/1.353, allocations: 37.7 kB / 0.8302 GB, free: 45.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/1.354, allocations: 434.8 kB / 0.8306 GB, free: 45.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.881e-05/1.354, allocations: 154 kB / 0.8307 GB, free: 45.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/1.354, allocations: 12 kB / 0.8307 GB, free: 45.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/1.354, allocations: 386.7 kB / 0.8311 GB, free: 44.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/1.354, allocations: 241.9 kB / 0.8313 GB, free: 44.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/1.355, allocations: 0.5443 MB / 0.8319 GB, free: 43.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/1.355, allocations: 326.9 kB / 0.8322 GB, free: 43.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.355, allocations: 4 kB / 0.8322 GB, free: 43.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001147/1.356, allocations: 0.8819 MB / 0.833 GB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009419/1.357, allocations: 3.917 MB / 0.8369 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.357, allocations: 12 kB / 0.8369 GB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008144/1.358, allocations: 112.8 kB / 0.837 GB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.359, allocations: 239.6 kB / 0.8372 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006357/1.36, allocations: 1.212 MB / 0.8384 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/1.36, allocations: 67.81 kB / 0.8385 GB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/1.361, allocations: 47.98 kB / 0.8385 GB, free: 36.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.361, allocations: 4 kB / 0.8385 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/1.362, allocations: 0.7757 MB / 0.8393 GB, free: 35.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.362, allocations: 8 kB / 0.8393 GB, free: 35.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/1.362, allocations: 128.8 kB / 0.8394 GB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/1.363, allocations: 215.7 kB / 0.8396 GB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002543/1.363, allocations: 0.5952 MB / 0.8402 GB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005662/1.364, allocations: 67.88 kB / 0.8403 GB, free: 34.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/1.364, allocations: 39.98 kB / 0.8403 GB, free: 34.73 MB / 410.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 () * 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.0001783/1.364, allocations: 167 kB / 0.8405 GB, free: 34.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.364, allocations: 75.06 kB / 0.8405 GB, free: 34.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/1.366, allocations: 0.7368 MB / 0.8412 GB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.366, allocations: 8 kB / 0.8413 GB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.366, allocations: 4 kB / 0.8413 GB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.366, allocations: 7.984 kB / 0.8413 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/1.367, allocations: 1.414 MB / 0.8426 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/1.367, allocations: 0 / 0.8426 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/1.368, allocations: 143.8 kB / 0.8428 GB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000409/1.368, allocations: 84.88 kB / 0.8429 GB, free: 32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/1.369, allocations: 19.98 kB / 0.8429 GB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004183/1.369, allocations: 1.173 MB / 0.844 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.369, allocations: 4.156 kB / 0.844 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/1.37, allocations: 1.012 MB / 0.845 GB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/1.37, allocations: 160 kB / 0.8452 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/1.37, allocations: 12 kB / 0.8452 GB, free: 29.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/1.371, allocations: 35.97 kB / 0.8452 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.371, allocations: 48.55 kB / 0.8453 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/1.371, allocations: 35.88 kB / 0.8453 GB, free: 29.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004362/1.371, allocations: 471.1 kB / 0.8458 GB, free: 28.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.371, allocations: 0 / 0.8458 GB, free: 28.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001668/1.373, allocations: 0.6361 MB / 0.8464 GB, free: 28.3 MB / 410.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]) * 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.001119/1.374, allocations: 0.6605 MB / 0.847 GB, free: 27.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001903/1.376, allocations: 1.096 MB / 0.8481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.376, allocations: 0 / 0.8481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005804/1.377, allocations: 327 kB / 0.8484 GB, free: 26.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.378, allocations: 277.5 kB / 0.8487 GB, free: 25.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/1.38, allocations: 1.145 MB / 0.8498 GB, free: 24.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/1.38, allocations: 1.004 MB / 0.8508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001197/1.381, allocations: 382.2 kB / 0.8511 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/1.382, allocations: 71.41 kB / 0.8512 GB, free: 23.29 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/1.382, allocations: 0 / 0.8512 GB, free: 23.29 MB / 410.7 MB Notification: Performance of Templates: time 0.02626/1.408, allocations: 19.29 MB / 0.87 GB, free: 3.965 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1)