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.001502/0.001502, allocations: 170.5 kB / 12.72 MB, free: 2.594 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.172/1.172, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001546/0.001546, allocations: 107.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.309e-05/2.311e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07639/0.07643, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6136/0.6901, allocations: 318.3 MB / 0.6113 GB, free: 440 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.6904, allocations: 86.2 kB / 0.6114 GB, free: 396 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.655/1.345, allocations: 164.6 MB / 0.7721 GB, free: 69.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/1.345, allocations: 0 / 0.7721 GB, free: 69.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.357e-05/1.345, allocations: 20 kB / 0.7722 GB, free: 69.61 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.002431/1.348, allocations: 1.111 MB / 0.7732 GB, free: 69.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.348, allocations: 20.22 kB / 0.7733 GB, free: 69.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/1.348, allocations: 97.62 kB / 0.7734 GB, free: 69.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/1.35, allocations: 0.6556 MB / 0.774 GB, free: 68.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/1.35, allocations: 46.81 kB / 0.774 GB, free: 68.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.35, allocations: 59.66 kB / 0.7741 GB, free: 68.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/1.351, allocations: 0.8644 MB / 0.7749 GB, free: 68.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.351, allocations: 10.75 kB / 0.775 GB, free: 68.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/1.352, allocations: 25.64 kB / 0.775 GB, free: 68.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/1.352, allocations: 45.12 kB / 0.775 GB, free: 68.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/1.353, allocations: 0.7728 MB / 0.7758 GB, free: 68.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/1.358, allocations: 3.84 MB / 0.7795 GB, free: 66.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/1.358, allocations: 475.4 kB / 0.78 GB, free: 66.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/1.359, allocations: 234.5 kB / 0.7802 GB, free: 66.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002085/1.361, allocations: 1.966 MB / 0.7821 GB, free: 65.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/1.361, allocations: 44.25 kB / 0.7822 GB, free: 65.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.793e-06/1.361, allocations: 0 / 0.7822 GB, free: 65.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.002359/1.363, allocations: 1.236 MB / 0.7834 GB, free: 64.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/1.363, allocations: 139.5 kB / 0.7835 GB, free: 64.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006886/1.364, allocations: 0.6073 MB / 0.7841 GB, free: 64.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/1.364, allocations: 41.5 kB / 0.7841 GB, free: 64.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/1.364, allocations: 429.7 kB / 0.7845 GB, free: 64.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.422e-05/1.364, allocations: 151 kB / 0.7847 GB, free: 64.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/1.364, allocations: 14.81 kB / 0.7847 GB, free: 64.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/1.365, allocations: 385.6 kB / 0.7851 GB, free: 63.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/1.365, allocations: 241.5 kB / 0.7853 GB, free: 63.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/1.365, allocations: 0.5473 MB / 0.7858 GB, free: 63.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/1.366, allocations: 323.2 kB / 0.7861 GB, free: 63.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.366, allocations: 3.344 kB / 0.7861 GB, free: 63.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001367/1.367, allocations: 0.8721 MB / 0.787 GB, free: 63.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000833/1.368, allocations: 3.921 MB / 0.7908 GB, free: 59.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.368, allocations: 14.53 kB / 0.7908 GB, free: 59.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000811/1.369, allocations: 106.9 kB / 0.7909 GB, free: 59.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.37, allocations: 245.6 kB / 0.7912 GB, free: 59.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006899/1.371, allocations: 1.216 MB / 0.7924 GB, free: 58.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/1.372, allocations: 73.19 kB / 0.7924 GB, free: 58.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/1.372, allocations: 40.86 kB / 0.7925 GB, free: 58.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/1.372, allocations: 3.906 kB / 0.7925 GB, free: 58.22 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001096/1.373, allocations: 0.7785 MB / 0.7932 GB, free: 58.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.373, allocations: 6.812 kB / 0.7932 GB, free: 58.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006449/1.373, allocations: 119.1 kB / 0.7934 GB, free: 58.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/1.374, allocations: 227.8 kB / 0.7936 GB, free: 58.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002669/1.375, allocations: 0.5953 MB / 0.7942 GB, free: 57.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/1.375, allocations: 56.7 kB / 0.7942 GB, free: 57.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/1.375, allocations: 39.56 kB / 0.7942 GB, free: 57.67 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 () * 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.0001811/1.375, allocations: 160.7 kB / 0.7944 GB, free: 57.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/1.376, allocations: 80.92 kB / 0.7945 GB, free: 57.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/1.377, allocations: 0.7486 MB / 0.7952 GB, free: 57.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.377, allocations: 3.969 kB / 0.7952 GB, free: 57.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.377, allocations: 0 / 0.7952 GB, free: 57.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.377, allocations: 6.516 kB / 0.7952 GB, free: 57.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/1.379, allocations: 1.423 MB / 0.7966 GB, free: 57.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.379, allocations: 2.844 kB / 0.7966 GB, free: 57.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/1.38, allocations: 142 kB / 0.7967 GB, free: 57.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/1.38, allocations: 94.73 kB / 0.7968 GB, free: 57.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/1.38, allocations: 15.34 kB / 0.7969 GB, free: 57.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000437/1.38, allocations: 1.184 MB / 0.798 GB, free: 55.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.38, allocations: 0 / 0.798 GB, free: 55.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/1.382, allocations: 0.998 MB / 0.799 GB, free: 55.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/1.382, allocations: 163.9 kB / 0.7991 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.382, allocations: 13.56 kB / 0.7992 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/1.382, allocations: 40 kB / 0.7992 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.383, allocations: 52.52 kB / 0.7992 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/1.383, allocations: 23.86 kB / 0.7993 GB, free: 55.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005208/1.383, allocations: 470.2 kB / 0.7997 GB, free: 55.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.383, allocations: 0 / 0.7997 GB, free: 55.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001901/1.385, allocations: 0.6344 MB / 0.8003 GB, free: 55.36 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]) * 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.001327/1.386, allocations: 0.6478 MB / 0.801 GB, free: 55.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/1.388, allocations: 1.09 MB / 0.802 GB, free: 55.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/1.388, allocations: 0 / 0.802 GB, free: 55.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006077/1.389, allocations: 337.9 kB / 0.8023 GB, free: 55.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/1.39, allocations: 271.6 kB / 0.8026 GB, free: 55.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/1.392, allocations: 1.157 MB / 0.8037 GB, free: 54.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/1.393, allocations: 1.012 MB / 0.8047 GB, free: 54.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001266/1.394, allocations: 375.8 kB / 0.8051 GB, free: 54.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/1.394, allocations: 67.53 kB / 0.8051 GB, free: 54.1 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/1.394, allocations: 3.062 kB / 0.8052 GB, free: 54.1 MB / 362.7 MB Notification: Performance of Templates: time 0.03019/1.424, allocations: 19.29 MB / 0.824 GB, free: 53.12 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)