Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.074/1.074, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003733, allocations: 8 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06677/0.06717, allocations: 25.16 MB / 184 MB, free: 6.031 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.041/2.109, allocations: 0.6671 GB / 0.8468 GB, free: 64.93 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/2.109, allocations: 67.23 kB / 0.8468 GB, free: 64.93 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5073/2.616, allocations: 94.52 MB / 0.9391 GB, free: 45.93 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.545e-06/2.616, allocations: 0 / 0.9391 GB, free: 45.93 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/2.616, allocations: 3.219 kB / 0.9391 GB, free: 45.93 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003608/2.62, allocations: 0.7761 MB / 0.9399 GB, free: 45.49 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/2.62, allocations: 7.812 kB / 0.9399 GB, free: 45.49 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/2.62, allocations: 30.88 kB / 0.9399 GB, free: 45.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/2.621, allocations: 263 kB / 0.9402 GB, free: 45.28 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/2.621, allocations: 27.03 kB / 0.9402 GB, free: 45.28 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/2.621, allocations: 28.84 kB / 0.9402 GB, free: 45.27 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/2.622, allocations: 0.57 MB / 0.9408 GB, free: 45.21 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/2.622, allocations: 1.406 kB / 0.9408 GB, free: 45.21 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/2.622, allocations: 16.38 kB / 0.9408 GB, free: 45.21 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/2.622, allocations: 16.48 kB / 0.9408 GB, free: 45.21 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/2.625, allocations: 0.6392 MB / 0.9415 GB, free: 45.2 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.003991/2.629, allocations: 1.427 MB / 0.9428 GB, free: 44.55 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/2.631, allocations: 430.3 kB / 0.9433 GB, free: 44.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003823/2.634, allocations: 2.066 MB / 0.9453 GB, free: 42.75 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/2.635, allocations: 41 kB / 0.9453 GB, free: 42.71 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 4.018e-06/2.635, allocations: 3.656 kB / 0.9453 GB, free: 42.71 MB / 234.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.02002/2.655, allocations: 3.018 MB / 0.9483 GB, free: 41.61 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/2.655, allocations: 84.92 kB / 0.9483 GB, free: 41.52 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/2.655, allocations: 176.7 kB / 0.9485 GB, free: 41.41 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/2.655, allocations: 41.7 kB / 0.9486 GB, free: 41.38 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.979e-05/2.655, allocations: 242.8 kB / 0.9488 GB, free: 41.19 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/2.655, allocations: 172.5 kB / 0.949 GB, free: 41.08 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/2.655, allocations: 10.88 kB / 0.949 GB, free: 41.08 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/2.655, allocations: 337.9 kB / 0.9493 GB, free: 40.77 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009244/2.656, allocations: 183.8 kB / 0.9495 GB, free: 40.77 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/2.657, allocations: 350 kB / 0.9498 GB, free: 40.59 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/2.658, allocations: 226.9 kB / 0.95 GB, free: 40.59 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/2.658, allocations: 3 kB / 0.95 GB, free: 40.59 MB / 234.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002607/2.661, allocations: 0.6433 MB / 0.9506 GB, free: 40.52 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/2.661, allocations: 10.59 kB / 0.9507 GB, free: 40.52 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/2.661, allocations: 3.312 kB / 0.9507 GB, free: 40.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002998/2.661, allocations: 61.11 kB / 0.9507 GB, free: 40.51 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/2.663, allocations: 169.7 kB / 0.9509 GB, free: 40.51 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006454/2.664, allocations: 1.083 MB / 0.9519 GB, free: 39.46 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/2.664, allocations: 40.92 kB / 0.952 GB, free: 39.46 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/2.665, allocations: 42.39 kB / 0.952 GB, free: 39.46 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: 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 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real medium1.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" fixed = true nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium1.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004611/2.665, allocations: 202.9 kB / 0.9522 GB, free: 39.34 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/2.665, allocations: 29.77 kB / 0.9522 GB, free: 39.32 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/2.668, allocations: 0.6359 MB / 0.9529 GB, free: 39.25 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/2.668, allocations: 3.938 kB / 0.9529 GB, free: 39.25 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/2.668, allocations: 0 / 0.9529 GB, free: 39.25 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/2.668, allocations: 0 / 0.9529 GB, free: 39.25 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/2.672, allocations: 1.216 MB / 0.954 GB, free: 38.78 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/2.672, allocations: 0 / 0.954 GB, free: 38.78 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/2.674, allocations: 140 kB / 0.9542 GB, free: 38.78 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/2.674, allocations: 43.5 kB / 0.9542 GB, free: 38.77 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/2.674, allocations: 17.95 kB / 0.9542 GB, free: 38.77 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/2.676, allocations: 2.55 MB / 0.9567 GB, free: 36.27 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/2.676, allocations: 6.938 kB / 0.9567 GB, free: 36.27 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/2.679, allocations: 0.8978 MB / 0.9576 GB, free: 35.96 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/2.68, allocations: 141.7 kB / 0.9577 GB, free: 35.86 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/2.68, allocations: 17.02 kB / 0.9578 GB, free: 35.85 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008629/2.681, allocations: 33.05 kB / 0.9578 GB, free: 35.85 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.736e-05/2.681, allocations: 46.08 kB / 0.9578 GB, free: 35.85 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/2.681, allocations: 41.38 kB / 0.9579 GB, free: 35.84 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001694/2.681, allocations: 127.1 kB / 0.958 GB, free: 35.77 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.681, allocations: 0 / 0.958 GB, free: 35.77 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002141/2.683, allocations: 424.3 kB / 0.9584 GB, free: 35.71 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium1.p,medium1.T,medium2.p,medium2.T) * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004689/2.688, allocations: 1.207 MB / 0.9596 GB, free: 35.37 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002518/2.69, allocations: 0.5121 MB / 0.9601 GB, free: 35.35 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/2.691, allocations: 0 / 0.9601 GB, free: 35.35 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/2.692, allocations: 473.1 kB / 0.9605 GB, free: 35.12 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/2.693, allocations: 97.95 kB / 0.9606 GB, free: 35.11 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/2.696, allocations: 1.222 MB / 0.9618 GB, free: 34.46 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/2.697, allocations: 0.7934 MB / 0.9626 GB, free: 33.75 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/2.697, allocations: 70.36 kB / 0.9627 GB, free: 33.74 MB / 234.7 MB Notification: Performance of SimCode: time 1.523e-06/2.697, allocations: 0 / 0.9627 GB, free: 33.74 MB / 234.7 MB Notification: Performance of Templates: time 0.03451/2.732, allocations: 16.98 MB / 0.9792 GB, free: 26.93 MB / 234.7 MB