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.001339/0.001339, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.289/1.289, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.00174/0.00174, allocations: 109.2 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.446e-05, allocations: 8 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07401/0.07404, allocations: 38.78 MB / 301 MB, free: 3.613 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7707/0.8448, allocations: 317.6 MB / 0.6041 GB, free: 99.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.8451, allocations: 88.14 kB / 0.6042 GB, free: 99.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.523/1.368, allocations: 163.6 MB / 0.7639 GB, free: 49.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.472e-06/1.368, allocations: 0 / 0.7639 GB, free: 49.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.151e-05/1.368, allocations: 17.88 kB / 0.764 GB, free: 49.36 MB / 346.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.002883/1.371, allocations: 1.109 MB / 0.765 GB, free: 48.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/1.371, allocations: 7.75 kB / 0.765 GB, free: 48.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/1.372, allocations: 104 kB / 0.7651 GB, free: 48.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.373, allocations: 0.6636 MB / 0.7658 GB, free: 48.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/1.373, allocations: 22.7 kB / 0.7658 GB, free: 48.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/1.373, allocations: 36.09 kB / 0.7658 GB, free: 48.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001094/1.374, allocations: 0.6917 MB / 0.7665 GB, free: 48.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.376, allocations: 0.7872 MB / 0.7673 GB, free: 48.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/1.376, allocations: 0 / 0.7673 GB, free: 48.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.434e-05/1.376, allocations: 3.594 kB / 0.7673 GB, free: 48.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.653e-05/1.376, allocations: 44.2 kB / 0.7673 GB, free: 48.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004452/1.38, allocations: 3.73 MB / 0.771 GB, free: 46.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/1.381, allocations: 458.6 kB / 0.7714 GB, free: 46.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/1.381, allocations: 226.6 kB / 0.7716 GB, free: 46.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00209/1.383, allocations: 1.942 MB / 0.7735 GB, free: 44.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.383, allocations: 41.5 kB / 0.7736 GB, free: 44.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=37): time 2.474e-06/1.383, allocations: 3.891 kB / 0.7736 GB, free: 44.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.006101/1.389, allocations: 1.679 MB / 0.7752 GB, free: 44.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.39, allocations: 141.5 kB / 0.7753 GB, free: 44.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/1.39, allocations: 0.517 MB / 0.7759 GB, free: 44.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/1.39, allocations: 29.67 kB / 0.7759 GB, free: 44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/1.39, allocations: 438.8 kB / 0.7763 GB, free: 43.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.51e-05/1.391, allocations: 146.7 kB / 0.7764 GB, free: 43.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/1.391, allocations: 2.688 kB / 0.7764 GB, free: 43.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/1.391, allocations: 379.4 kB / 0.7768 GB, free: 43.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/1.391, allocations: 222.1 kB / 0.777 GB, free: 43.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/1.391, allocations: 0.5394 MB / 0.7775 GB, free: 42.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/1.395, allocations: 0.9184 MB / 0.7784 GB, free: 42.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/1.395, allocations: 3.031 kB / 0.7784 GB, free: 42.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004977/1.4, allocations: 1.414 MB / 0.7798 GB, free: 42.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007116/1.401, allocations: 3.917 MB / 0.7836 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/1.401, allocations: 11.28 kB / 0.7837 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/1.401, allocations: 59.45 kB / 0.7837 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.403, allocations: 240.3 kB / 0.7839 GB, free: 38.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/1.404, allocations: 1.285 MB / 0.7852 GB, free: 37.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007628/1.404, allocations: 58.66 kB / 0.7853 GB, free: 37.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/1.404, allocations: 47.7 kB / 0.7853 GB, free: 37.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/1.404, allocations: 7.812 kB / 0.7853 GB, free: 37.58 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004351/1.409, allocations: 1.282 MB / 0.7866 GB, free: 37.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.409, allocations: 10.06 kB / 0.7866 GB, free: 37.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/1.409, allocations: 57.69 kB / 0.7866 GB, free: 37.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/1.41, allocations: 224.2 kB / 0.7868 GB, free: 37.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005466/1.41, allocations: 0.6407 MB / 0.7875 GB, free: 36.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/1.411, allocations: 48.48 kB / 0.7875 GB, free: 36.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/1.411, allocations: 43.72 kB / 0.7876 GB, free: 36.96 MB / 346.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.0001814/1.411, allocations: 134.5 kB / 0.7877 GB, free: 36.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/1.412, allocations: 75.42 kB / 0.7878 GB, free: 36.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/1.413, allocations: 0.7815 MB / 0.7885 GB, free: 36.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/1.413, allocations: 10.16 kB / 0.7885 GB, free: 36.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.414, allocations: 3.938 kB / 0.7885 GB, free: 36.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/1.414, allocations: 3.891 kB / 0.7885 GB, free: 36.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/1.416, allocations: 1.382 MB / 0.7899 GB, free: 36.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.416, allocations: 2.812 kB / 0.7899 GB, free: 36.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006584/1.417, allocations: 144.3 kB / 0.79 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/1.417, allocations: 48.06 kB / 0.7901 GB, free: 36.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/1.417, allocations: 11.16 kB / 0.7901 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007469/1.418, allocations: 1.217 MB / 0.7913 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.418, allocations: 0 / 0.7913 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/1.419, allocations: 1.043 MB / 0.7923 GB, free: 34.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/1.42, allocations: 157.4 kB / 0.7924 GB, free: 34.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.42, allocations: 3.875 kB / 0.7924 GB, free: 34.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/1.42, allocations: 28.95 kB / 0.7925 GB, free: 34.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.42, allocations: 58.88 kB / 0.7925 GB, free: 34.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/1.42, allocations: 20.38 kB / 0.7925 GB, free: 34.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000395/1.421, allocations: 400 kB / 0.7929 GB, free: 34.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.421, allocations: 0 / 0.7929 GB, free: 34.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001878/1.423, allocations: 0.594 MB / 0.7935 GB, free: 34.12 MB / 346.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.001762/1.425, allocations: 0.6491 MB / 0.7941 GB, free: 33.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002009/1.427, allocations: 1.013 MB / 0.7951 GB, free: 33.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.427, allocations: 7.406 kB / 0.7951 GB, free: 33.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005964/1.427, allocations: 316.6 kB / 0.7954 GB, free: 33.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/1.428, allocations: 264.2 kB / 0.7957 GB, free: 33.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/1.43, allocations: 1.104 MB / 0.7968 GB, free: 32.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/1.431, allocations: 1.007 MB / 0.7978 GB, free: 32.12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00122/1.432, allocations: 349.3 kB / 0.7981 GB, free: 32.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/1.432, allocations: 70.7 kB / 0.7982 GB, free: 32.04 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/1.432, allocations: 0 / 0.7982 GB, free: 32.04 MB / 346.7 MB Notification: Performance of Templates: time 0.02623/1.459, allocations: 17.16 MB / 0.8149 GB, free: 18.7 MB / 346.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)