Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.FlueGas.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadModel(Modelica): time 1.164/1.164, allocations: 111.1 MB / 127.3 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003485, allocations: 8 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05607/0.05645, allocations: 25.16 MB / 184 MB, free: 6.027 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.126/2.183, allocations: 0.665 GB / 0.8447 GB, free: 63.5 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/2.183, allocations: 68.34 kB / 0.8448 GB, free: 63.5 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.196/2.379, allocations: 57.95 MB / 0.9014 GB, free: 11.74 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.964e-06/2.379, allocations: 0 / 0.9014 GB, free: 11.74 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/2.379, allocations: 4 kB / 0.9014 GB, free: 11.73 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008101/2.38, allocations: 483.4 kB / 0.9019 GB, free: 11.21 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/2.38, allocations: 12.03 kB / 0.9019 GB, free: 11.2 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/2.38, allocations: 19.77 kB / 0.9019 GB, free: 11.18 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/2.38, allocations: 214.8 kB / 0.9021 GB, free: 10.93 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/2.38, allocations: 12.33 kB / 0.9021 GB, free: 10.92 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/2.38, allocations: 15.98 kB / 0.9021 GB, free: 10.9 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/2.381, allocations: 354.7 kB / 0.9025 GB, free: 10.54 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/2.381, allocations: 0 / 0.9025 GB, free: 10.54 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/2.381, allocations: 16 kB / 0.9025 GB, free: 10.53 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/2.381, allocations: 11.98 kB / 0.9025 GB, free: 10.52 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/2.382, allocations: 448.1 kB / 0.9029 GB, free: 10.08 MB / 234.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/2.384, allocations: 1.173 MB / 0.9041 GB, free: 8.777 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/2.385, allocations: 216.9 kB / 0.9043 GB, free: 8.547 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001669/2.386, allocations: 1.063 MB / 0.9053 GB, free: 7.281 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/2.386, allocations: 38.56 kB / 0.9053 GB, free: 7.234 MB / 234.7 MB Notification: Performance of pre-optimization done (n=28): time 2.926e-06/2.387, allocations: 0 / 0.9053 GB, free: 7.234 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.00108/2.388, allocations: 478.2 kB / 0.9058 GB, free: 6.746 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/2.388, allocations: 81.11 kB / 0.9059 GB, free: 6.648 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/2.388, allocations: 137.8 kB / 0.906 GB, free: 6.504 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/2.388, allocations: 29.7 kB / 0.906 GB, free: 6.469 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/2.388, allocations: 182.8 kB / 0.9062 GB, free: 6.289 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.91e-05/2.388, allocations: 102.4 kB / 0.9063 GB, free: 6.188 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/2.388, allocations: 4 kB / 0.9063 GB, free: 6.184 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.911e-05/2.388, allocations: 326.8 kB / 0.9066 GB, free: 5.855 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/2.388, allocations: 103.9 kB / 0.9067 GB, free: 5.754 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/2.389, allocations: 216.5 kB / 0.9069 GB, free: 5.496 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/2.389, allocations: 142.3 kB / 0.9071 GB, free: 5.359 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/2.389, allocations: 0 / 0.9071 GB, free: 5.359 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008578/2.39, allocations: 409 kB / 0.9075 GB, free: 4.953 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/2.39, allocations: 11.94 kB / 0.9075 GB, free: 4.941 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/2.39, allocations: 0 / 0.9075 GB, free: 4.941 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/2.39, allocations: 8 kB / 0.9075 GB, free: 4.934 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/2.39, allocations: 71.91 kB / 0.9075 GB, free: 4.863 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/2.39, allocations: 8.391 kB / 0.9075 GB, free: 4.855 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/2.391, allocations: 39.64 kB / 0.9076 GB, free: 4.816 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.768e-05/2.391, allocations: 27.98 kB / 0.9076 GB, free: 4.789 MB / 234.7 MB Warning: Assuming fixed start value for the following 8 variables: state.T:VARIABLE(min = 1.0 max = 10000.0 start = 200.0 unit = "K" fixed = true nominal = 500.0 ) "Temperature of medium" type: Real state.p:VARIABLE(min = 0.0 max = 100000000.0 start = 100000.0 unit = "Pa" fixed = true nominal = 1000000.0 ) "Absolute pressure of medium" type: Real medium2.X[4]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.4 unit = "kg/kg" fixed = true nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[3]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.3 unit = "kg/kg" fixed = true nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[2]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.1 unit = "kg/kg" fixed = true nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.2 unit = "kg/kg" fixed = true nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" fixed = true nominal = 500.0 ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 200000.0 unit = "Pa" fixed = true nominal = 100000.0 ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003924/2.391, allocations: 225 kB / 0.9078 GB, free: 4.566 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/2.391, allocations: 19.81 kB / 0.9078 GB, free: 4.547 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/2.392, allocations: 393.8 kB / 0.9082 GB, free: 4.156 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/2.392, allocations: 4 kB / 0.9082 GB, free: 4.152 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/2.392, allocations: 0 / 0.9082 GB, free: 4.152 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/2.392, allocations: 3.984 kB / 0.9082 GB, free: 4.148 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/2.393, allocations: 341.5 kB / 0.9086 GB, free: 3.766 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/2.393, allocations: 0 / 0.9086 GB, free: 3.766 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/2.394, allocations: 55.86 kB / 0.9086 GB, free: 3.711 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/2.394, allocations: 4 kB / 0.9086 GB, free: 3.707 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/2.394, allocations: 7.984 kB / 0.9086 GB, free: 3.699 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/2.394, allocations: 4 kB / 0.9086 GB, free: 3.695 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/2.394, allocations: 0 / 0.9086 GB, free: 3.695 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/2.395, allocations: 0.5609 MB / 0.9092 GB, free: 3.117 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/2.395, allocations: 132.9 kB / 0.9093 GB, free: 2.969 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/2.395, allocations: 15.94 kB / 0.9093 GB, free: 2.953 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/2.396, allocations: 8 kB / 0.9093 GB, free: 2.945 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/2.396, allocations: 19.97 kB / 0.9093 GB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/2.396, allocations: 23.98 kB / 0.9094 GB, free: 2.902 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.503e-05/2.396, allocations: 103.2 kB / 0.9095 GB, free: 2.801 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.396, allocations: 0 / 0.9095 GB, free: 2.801 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001256/2.397, allocations: 223.8 kB / 0.9097 GB, free: 2.582 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002058/2.399, allocations: 0.8021 MB / 0.9105 GB, free: 1.77 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007791/2.4, allocations: 330.9 kB / 0.9108 GB, free: 1.449 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/2.4, allocations: 0 / 0.9108 GB, free: 1.449 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/2.4, allocations: 163.9 kB / 0.9109 GB, free: 1.289 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/2.401, allocations: 91.73 kB / 0.911 GB, free: 1.199 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/2.403, allocations: 1.053 MB / 0.912 GB, free: 108 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1564/2.56, allocations: 0.7388 MB / 0.9128 GB, free: 47.57 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/2.56, allocations: 41.5 kB / 0.9128 GB, free: 47.57 MB / 234.7 MB Notification: Performance of SimCode: time 1.412e-06/2.56, allocations: 0 / 0.9128 GB, free: 47.57 MB / 234.7 MB Notification: Performance of Templates: time 0.02145/2.581, allocations: 9.098 MB / 0.9217 GB, free: 47.18 MB / 234.7 MB