Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 0.9944/0.9944, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002647, allocations: 11.94 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05274/0.05303, allocations: 25.16 MB / 183.5 MB, free: 5.992 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.689/1.742, allocations: 0.665 GB / 0.8442 GB, free: 80.07 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/1.742, allocations: 64.95 kB / 0.8443 GB, free: 80.07 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1698/1.912, allocations: 57.96 MB / 0.9009 GB, free: 37.45 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.05e-06/1.912, allocations: 0 / 0.9009 GB, free: 37.45 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/1.912, allocations: 0 / 0.9009 GB, free: 37.45 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.0006639/1.913, allocations: 483.4 kB / 0.9013 GB, free: 36.92 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/1.913, allocations: 8.031 kB / 0.9013 GB, free: 36.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.949e-05/1.913, allocations: 23.77 kB / 0.9014 GB, free: 36.89 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/1.913, allocations: 214.8 kB / 0.9016 GB, free: 36.64 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.913, allocations: 12.33 kB / 0.9016 GB, free: 36.63 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/1.913, allocations: 16 kB / 0.9016 GB, free: 36.61 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/1.914, allocations: 354.7 kB / 0.9019 GB, free: 36.25 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.914, allocations: 0 / 0.9019 GB, free: 36.25 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/1.914, allocations: 8 kB / 0.9019 GB, free: 36.25 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/1.914, allocations: 11.98 kB / 0.902 GB, free: 36.23 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/1.915, allocations: 444.1 kB / 0.9024 GB, free: 35.8 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.001873/1.917, allocations: 1.181 MB / 0.9035 GB, free: 34.49 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/1.917, allocations: 216.9 kB / 0.9037 GB, free: 34.26 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/1.918, allocations: 1.062 MB / 0.9048 GB, free: 33 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/1.918, allocations: 34.56 kB / 0.9048 GB, free: 32.95 MB / 234.7 MB Notification: Performance of pre-optimization done (n=28): time 4.563e-06/1.918, allocations: 4 kB / 0.9048 GB, free: 32.95 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008455/1.919, allocations: 473.6 kB / 0.9053 GB, free: 32.46 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/1.919, allocations: 81.11 kB / 0.9053 GB, free: 32.37 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/1.919, allocations: 128.9 kB / 0.9055 GB, free: 32.23 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/1.919, allocations: 25.7 kB / 0.9055 GB, free: 32.2 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/1.919, allocations: 186.4 kB / 0.9057 GB, free: 32.02 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/1.919, allocations: 110.4 kB / 0.9058 GB, free: 31.91 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/1.92, allocations: 7.938 kB / 0.9058 GB, free: 31.91 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.926e-05/1.92, allocations: 326.8 kB / 0.9061 GB, free: 31.58 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/1.92, allocations: 104 kB / 0.9062 GB, free: 31.48 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/1.92, allocations: 212.6 kB / 0.9064 GB, free: 31.22 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/1.92, allocations: 139.8 kB / 0.9065 GB, free: 31.09 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.955e-06/1.92, allocations: 0 / 0.9065 GB, free: 31.09 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006921/1.921, allocations: 406.7 kB / 0.9069 GB, free: 30.68 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.921, allocations: 4 kB / 0.9069 GB, free: 30.68 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.941e-06/1.921, allocations: 4 kB / 0.9069 GB, free: 30.68 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.921, allocations: 8 kB / 0.9069 GB, free: 30.67 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/1.921, allocations: 71.83 kB / 0.907 GB, free: 30.6 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/1.921, allocations: 11.94 kB / 0.907 GB, free: 30.59 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/1.922, allocations: 39.8 kB / 0.9071 GB, free: 30.55 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/1.922, allocations: 27.95 kB / 0.9071 GB, free: 30.52 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.0003358/1.922, allocations: 233.3 kB / 0.9073 GB, free: 30.29 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/1.922, allocations: 15.81 kB / 0.9073 GB, free: 30.27 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008231/1.923, allocations: 401.8 kB / 0.9077 GB, free: 29.88 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/1.923, allocations: 4 kB / 0.9077 GB, free: 29.88 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.909e-06/1.923, allocations: 0 / 0.9077 GB, free: 29.88 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.875e-06/1.923, allocations: 0 / 0.9077 GB, free: 29.88 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/1.924, allocations: 337.4 kB / 0.908 GB, free: 29.5 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.807e-06/1.924, allocations: 4 kB / 0.908 GB, free: 29.49 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/1.924, allocations: 47.91 kB / 0.9081 GB, free: 29.45 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.479e-06/1.924, allocations: 3.953 kB / 0.9081 GB, free: 29.44 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/1.924, allocations: 16 kB / 0.9081 GB, free: 29.43 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.353e-06/1.924, allocations: 0 / 0.9081 GB, free: 29.43 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.881e-06/1.924, allocations: 0 / 0.9081 GB, free: 29.43 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/1.925, allocations: 0.5704 MB / 0.9087 GB, free: 28.83 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/1.925, allocations: 136.8 kB / 0.9088 GB, free: 28.68 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/1.925, allocations: 8 kB / 0.9088 GB, free: 28.67 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/1.925, allocations: 19.98 kB / 0.9088 GB, free: 28.65 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/1.925, allocations: 15.98 kB / 0.9088 GB, free: 28.64 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/1.926, allocations: 23.97 kB / 0.9088 GB, free: 28.61 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.142e-05/1.926, allocations: 99.27 kB / 0.9089 GB, free: 28.52 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.88e-07/1.926, allocations: 0 / 0.9089 GB, free: 28.52 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001032/1.927, allocations: 215.7 kB / 0.9091 GB, free: 28.3 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.001546/1.928, allocations: 0.8061 MB / 0.9099 GB, free: 27.48 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005752/1.929, allocations: 335.6 kB / 0.9103 GB, free: 27.16 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.871e-06/1.929, allocations: 0 / 0.9103 GB, free: 27.16 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/1.929, allocations: 159.9 kB / 0.9104 GB, free: 27 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/1.93, allocations: 92.59 kB / 0.9105 GB, free: 26.91 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/1.931, allocations: 1.053 MB / 0.9115 GB, free: 25.82 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/1.931, allocations: 0.7408 MB / 0.9122 GB, free: 25.05 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.932, allocations: 43.42 kB / 0.9123 GB, free: 25.01 MB / 234.7 MB Notification: Performance of SimCode: time 1.656e-06/1.932, allocations: 0 / 0.9123 GB, free: 25.01 MB / 234.7 MB Notification: Performance of Templates: time 0.01384/1.945, allocations: 9.106 MB / 0.9212 GB, free: 15.91 MB / 234.7 MB