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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.29/1.29, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.885e-05/1.88e-05, allocations: 0 / 148.2 MB, free: 6.133 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05541/0.05545, allocations: 25.17 MB / 173.4 MB, free: 12.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.926/1.981, allocations: 0.6663 GB / 0.8356 GB, free: 7.035 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/1.982, allocations: 60.41 kB / 0.8357 GB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4632/2.445, allocations: 92.7 MB / 0.9262 GB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.214e-06/2.445, allocations: 0 / 0.9262 GB, free: 15.1 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/2.445, allocations: 4 kB / 0.9262 GB, free: 15.1 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.00345/2.448, allocations: 0.7634 MB / 0.927 GB, free: 14.29 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/2.449, allocations: 8.031 kB / 0.927 GB, free: 14.28 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/2.449, allocations: 31.72 kB / 0.927 GB, free: 14.25 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/2.449, allocations: 262.6 kB / 0.9273 GB, free: 13.95 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/2.449, allocations: 8 kB / 0.9273 GB, free: 13.95 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/2.449, allocations: 16 kB / 0.9273 GB, free: 13.93 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009366/2.45, allocations: 0.5283 MB / 0.9278 GB, free: 13.4 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/2.451, allocations: 0.4922 MB / 0.9283 GB, free: 12.9 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/2.451, allocations: 4 kB / 0.9283 GB, free: 12.89 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.718e-05/2.451, allocations: 3.938 kB / 0.9283 GB, free: 12.89 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/2.451, allocations: 16.42 kB / 0.9283 GB, free: 12.88 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.003802/2.455, allocations: 1.355 MB / 0.9296 GB, free: 11.43 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/2.456, allocations: 335.1 kB / 0.93 GB, free: 11.08 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/2.456, allocations: 113.7 kB / 0.9301 GB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00378/2.46, allocations: 2.079 MB / 0.9321 GB, free: 8.598 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/2.46, allocations: 38.56 kB / 0.9321 GB, free: 8.551 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/2.46, allocations: 0 / 0.9321 GB, free: 8.551 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.01501/2.475, allocations: 2.538 MB / 0.9346 GB, free: 5.844 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/2.475, allocations: 85.11 kB / 0.9347 GB, free: 5.742 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/2.475, allocations: 162.3 kB / 0.9348 GB, free: 5.578 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/2.475, allocations: 29.7 kB / 0.9349 GB, free: 5.543 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/2.475, allocations: 242.6 kB / 0.9351 GB, free: 5.305 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/2.476, allocations: 169.5 kB / 0.9353 GB, free: 5.137 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/2.476, allocations: 0 / 0.9353 GB, free: 5.137 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/2.476, allocations: 330.8 kB / 0.9356 GB, free: 4.805 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/2.476, allocations: 137.3 kB / 0.9357 GB, free: 4.672 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/2.476, allocations: 297.2 kB / 0.936 GB, free: 4.312 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/2.478, allocations: 392.4 kB / 0.9364 GB, free: 3.93 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/2.478, allocations: 4 kB / 0.9364 GB, free: 3.926 MB / 234.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002599/2.481, allocations: 0.7188 MB / 0.9371 GB, free: 3.199 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/2.481, allocations: 7.938 kB / 0.9371 GB, free: 3.191 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/2.481, allocations: 8 kB / 0.9371 GB, free: 3.184 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/2.481, allocations: 46.25 kB / 0.9371 GB, free: 3.133 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/2.483, allocations: 179.7 kB / 0.9373 GB, free: 2.957 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006173/2.483, allocations: 1.078 MB / 0.9384 GB, free: 1.828 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007824/2.484, allocations: 27.88 kB / 0.9384 GB, free: 1.801 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/2.484, allocations: 35.98 kB / 0.9384 GB, free: 1.766 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.0003387/2.484, allocations: 151.4 kB / 0.9386 GB, free: 1.613 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002384/2.487, allocations: 0.5809 MB / 0.9391 GB, free: 1.02 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/2.487, allocations: 27.72 kB / 0.9392 GB, free: 0.9922 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/2.49, allocations: 0.7342 MB / 0.9399 GB, free: 252 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/2.49, allocations: 4 kB / 0.9399 GB, free: 248 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/2.49, allocations: 4 kB / 0.9399 GB, free: 244 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/2.49, allocations: 3.984 kB / 0.9399 GB, free: 240 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2181/2.708, allocations: 1.229 MB / 0.9411 GB, free: 50.7 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/2.708, allocations: 2.688 kB / 0.9411 GB, free: 50.7 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/2.71, allocations: 138.5 kB / 0.9412 GB, free: 50.7 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/2.71, allocations: 45.38 kB / 0.9413 GB, free: 50.68 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/2.71, allocations: 17.64 kB / 0.9413 GB, free: 50.68 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/2.712, allocations: 2.425 MB / 0.9436 GB, free: 48.33 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/2.712, allocations: 4.531 kB / 0.9436 GB, free: 48.33 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/2.715, allocations: 1.058 MB / 0.9447 GB, free: 47.9 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/2.715, allocations: 146 kB / 0.9448 GB, free: 47.8 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/2.715, allocations: 6.844 kB / 0.9448 GB, free: 47.8 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/2.716, allocations: 25.52 kB / 0.9449 GB, free: 47.8 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/2.716, allocations: 48.47 kB / 0.9449 GB, free: 47.8 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/2.716, allocations: 30.19 kB / 0.9449 GB, free: 47.8 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001175/2.717, allocations: 122.4 kB / 0.945 GB, free: 47.73 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.717, allocations: 0 / 0.945 GB, free: 47.73 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002025/2.719, allocations: 393 kB / 0.9454 GB, free: 47.73 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.008541/2.727, allocations: 3.374 MB / 0.9487 GB, free: 46.2 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/2.729, allocations: 398.4 kB / 0.9491 GB, free: 46.19 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/2.729, allocations: 0 / 0.9491 GB, free: 46.19 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000809/2.73, allocations: 414.5 kB / 0.9495 GB, free: 45.98 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/2.731, allocations: 76.92 kB / 0.9496 GB, free: 45.98 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/2.735, allocations: 0.9414 MB / 0.9505 GB, free: 45.7 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/2.735, allocations: 0.7856 MB / 0.9512 GB, free: 45 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005811/2.736, allocations: 138.6 kB / 0.9514 GB, free: 44.99 MB / 234.7 MB Notification: Performance of SimCode: time 1.062e-06/2.736, allocations: 0 / 0.9514 GB, free: 44.99 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.401/6.136, allocations: 18.16 MB / 0.9691 GB, free: 43.96 MB / 234.7 MB