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.MixtureGases.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 0.9567/0.9567, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.275e-05/1.284e-05, allocations: 0 / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0454/0.04543, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.48/1.526, allocations: 0.6663 GB / 0.8356 GB, free: 15.74 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/1.526, allocations: 60.59 kB / 0.8356 GB, free: 15.71 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4427/1.969, allocations: 92.69 MB / 0.9261 GB, free: 22.2 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.985e-06/1.969, allocations: 3.938 kB / 0.9261 GB, free: 22.19 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/1.969, allocations: 8 kB / 0.9261 GB, free: 22.18 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.00241/1.971, allocations: 0.7557 MB / 0.9269 GB, free: 21.38 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.971, allocations: 8.031 kB / 0.9269 GB, free: 21.38 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/1.972, allocations: 31.66 kB / 0.9269 GB, free: 21.34 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/1.972, allocations: 262.7 kB / 0.9272 GB, free: 21.05 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.972, allocations: 8 kB / 0.9272 GB, free: 21.04 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/1.972, allocations: 23.91 kB / 0.9272 GB, free: 21.02 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007736/1.973, allocations: 0.5205 MB / 0.9277 GB, free: 20.49 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/1.974, allocations: 0.4922 MB / 0.9282 GB, free: 19.99 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/1.974, allocations: 7.922 kB / 0.9282 GB, free: 19.98 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/1.974, allocations: 0 / 0.9282 GB, free: 19.98 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/1.974, allocations: 12.44 kB / 0.9282 GB, free: 19.97 MB / 234.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002841/1.977, allocations: 1.355 MB / 0.9295 GB, free: 18.52 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/1.977, allocations: 329.4 kB / 0.9298 GB, free: 18.18 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/1.977, allocations: 117.7 kB / 0.93 GB, free: 18.06 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002923/1.98, allocations: 2.072 MB / 0.932 GB, free: 15.7 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.98, allocations: 42.56 kB / 0.932 GB, free: 15.65 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 3.493e-06/1.981, allocations: 0 / 0.932 GB, free: 15.65 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.01072/1.991, allocations: 2.534 MB / 0.9345 GB, free: 12.95 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/1.991, allocations: 85.05 kB / 0.9346 GB, free: 12.84 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/1.991, allocations: 162.3 kB / 0.9347 GB, free: 12.68 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/1.992, allocations: 29.7 kB / 0.9348 GB, free: 12.64 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/1.992, allocations: 238.6 kB / 0.935 GB, free: 12.41 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/1.992, allocations: 173.5 kB / 0.9352 GB, free: 12.23 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/1.992, allocations: 0 / 0.9352 GB, free: 12.23 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.647e-05/1.992, allocations: 338.8 kB / 0.9355 GB, free: 11.89 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/1.992, allocations: 129.3 kB / 0.9356 GB, free: 11.77 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/1.993, allocations: 297.2 kB / 0.9359 GB, free: 11.41 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.994, allocations: 394.7 kB / 0.9363 GB, free: 11.03 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.338e-06/1.994, allocations: 4 kB / 0.9363 GB, free: 11.02 MB / 234.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002184/1.996, allocations: 0.7158 MB / 0.937 GB, free: 10.3 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.996, allocations: 8.062 kB / 0.937 GB, free: 10.29 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.996, allocations: 12 kB / 0.937 GB, free: 10.28 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/1.996, allocations: 41.7 kB / 0.937 GB, free: 10.23 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/1.997, allocations: 167.8 kB / 0.9372 GB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005408/1.998, allocations: 1.085 MB / 0.9382 GB, free: 8.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/1.999, allocations: 32.06 kB / 0.9383 GB, free: 8.898 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/1.999, allocations: 35.98 kB / 0.9383 GB, free: 8.863 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" 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" 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" 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" 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 () * 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.000263/1.999, allocations: 151.3 kB / 0.9385 GB, free: 8.711 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/1.999, allocations: 23.72 kB / 0.9385 GB, free: 8.688 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/2.002, allocations: 0.7348 MB / 0.9392 GB, free: 7.945 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.279e-06/2.002, allocations: 11.98 kB / 0.9392 GB, free: 7.934 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.117e-06/2.002, allocations: 0 / 0.9392 GB, free: 7.934 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.617e-06/2.002, allocations: 3.984 kB / 0.9392 GB, free: 7.93 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/2.005, allocations: 1.243 MB / 0.9404 GB, free: 6.617 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.583e-06/2.005, allocations: 8.031 kB / 0.9404 GB, free: 6.609 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008651/2.006, allocations: 131.8 kB / 0.9406 GB, free: 6.48 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/2.006, allocations: 45.59 kB / 0.9406 GB, free: 6.43 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/2.006, allocations: 11.98 kB / 0.9406 GB, free: 6.418 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/2.007, allocations: 2.431 MB / 0.943 GB, free: 3.754 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.804e-06/2.007, allocations: 3.938 kB / 0.943 GB, free: 3.75 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/2.01, allocations: 1.055 MB / 0.944 GB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/2.01, allocations: 144.8 kB / 0.9442 GB, free: 2.438 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/2.01, allocations: 7.953 kB / 0.9442 GB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006936/2.011, allocations: 31.95 kB / 0.9442 GB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/2.011, allocations: 35.95 kB / 0.9442 GB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/2.011, allocations: 39.91 kB / 0.9443 GB, free: 2.324 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.243e-05/2.011, allocations: 116.4 kB / 0.9444 GB, free: 2.211 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.54e-07/2.011, allocations: 4 kB / 0.9444 GB, free: 2.207 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001754/2.013, allocations: 395.7 kB / 0.9448 GB, free: 1.82 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 () * 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.003642/2.017, allocations: 1.33 MB / 0.9461 GB, free: 492 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/2.018, allocations: 406.8 kB / 0.9464 GB, free: 92 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.363e-06/2.018, allocations: 0 / 0.9464 GB, free: 92 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1321/2.15, allocations: 410.6 kB / 0.9468 GB, free: 48.32 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/2.151, allocations: 82.94 kB / 0.9469 GB, free: 48.32 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/2.153, allocations: 0.7576 MB / 0.9477 GB, free: 48.07 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/2.153, allocations: 0.7886 MB / 0.9484 GB, free: 47.38 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/2.154, allocations: 72.94 kB / 0.9485 GB, free: 47.37 MB / 234.7 MB Notification: Performance of SimCode: time 1.691e-06/2.154, allocations: 0 / 0.9485 GB, free: 47.37 MB / 234.7 MB Notification: Performance of Templates: time 0.0287/2.182, allocations: 16.9 MB / 0.965 GB, free: 46.55 MB / 234.7 MB