Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008015/0.0008022, allocations: 12 kB / 264 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3081, allocations: 44.51 MB / 308.5 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.5132/0.8214, allocations: 127.6 MB / 436.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005048/0.8265, allocations: 3.387 MB / 439.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.8267, allocations: 0 / 439.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.8272, allocations: 76.39 kB / 439.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.8301, allocations: 0.7939 MB / 440.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.8313, allocations: 298.1 kB / 440.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005664/0.8319, allocations: 289.2 kB / 441 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.865e-05/0.832, allocations: 13.72 kB / 441 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006805/0.8327, allocations: 294.2 kB / 441.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.8329, allocations: 109.7 kB / 441.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.697e-05/0.833, allocations: 10.66 kB / 441.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006502/0.8395, allocations: 1.612 MB / 443 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.8397, allocations: 122 kB / 443.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.8399, allocations: 84.42 kB / 443.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.8421, allocations: 0.8581 MB / 444.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.8421, allocations: 0 / 444.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.8421, allocations: 0.875 kB / 444.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.8421, allocations: 4 kB / 444.1 MB, free: 14.08 MB / 362.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.003121/0.8453, allocations: 0.7201 MB / 444.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.8453, allocations: 11 kB / 444.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.8455, allocations: 69.69 kB / 444.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.8466, allocations: 108.6 kB / 445 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.8472, allocations: 268.2 kB / 445.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.8472, allocations: 17.59 kB / 445.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.8473, allocations: 31.12 kB / 445.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.8491, allocations: 0.5894 MB / 445.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.8492, allocations: 10.75 kB / 445.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/0.8493, allocations: 16.66 kB / 445.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.8493, allocations: 19.09 kB / 445.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.8514, allocations: 0.6321 MB / 446.5 MB, free: 12.86 MB / 362.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.004462/0.8559, allocations: 1.249 MB / 447.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.8576, allocations: 360.7 kB / 448.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/0.8599, allocations: 0.9339 MB / 449.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.86, allocations: 40.72 kB / 449.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.396e-06/0.86, allocations: 0 / 449.1 MB, free: 11.2 MB / 362.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: medium1.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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.02595/0.886, allocations: 3.48 MB / 452.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.8861, allocations: 81.8 kB / 452.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.8863, allocations: 180.7 kB / 452.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-05/0.8864, allocations: 35.73 kB / 452.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.8866, allocations: 178.1 kB / 453.1 MB, free: 9.074 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.8868, allocations: 174.6 kB / 453.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.8869, allocations: 10.28 kB / 453.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8871, allocations: 339.8 kB / 453.6 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.8884, allocations: 263.1 kB / 453.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.89, allocations: 418.8 kB / 454.2 MB, free: 8.332 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.8914, allocations: 305.8 kB / 454.5 MB, free: 8.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.8915, allocations: 4 kB / 454.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0035/0.895, allocations: 0.7795 MB / 455.3 MB, free: 8.078 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.8951, allocations: 7.156 kB / 455.3 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.8951, allocations: 9.328 kB / 455.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.8954, allocations: 55.28 kB / 455.4 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/0.8976, allocations: 181.8 kB / 455.6 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009297/0.8986, allocations: 1.071 MB / 456.6 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.9, allocations: 57.02 kB / 456.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.9002, allocations: 40.38 kB / 456.7 MB, free: 6.918 MB / 362.7 MB 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.0003716/0.9006, allocations: 173.4 kB / 456.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.9008, allocations: 27.12 kB / 456.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/0.9047, allocations: 0.7948 MB / 457.7 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.9047, allocations: 5.781 kB / 457.7 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.9048, allocations: 0 / 457.7 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.9048, allocations: 3.984 kB / 457.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005478/0.9103, allocations: 1.558 MB / 459.3 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.9103, allocations: 2.812 kB / 459.3 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/0.9124, allocations: 144.1 kB / 459.4 MB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.9126, allocations: 46 kB / 459.5 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.9127, allocations: 29.12 kB / 459.5 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.9152, allocations: 2.547 MB / 462.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9152, allocations: 0 / 462.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.9198, allocations: 1.065 MB / 463.1 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.92, allocations: 106.6 kB / 463.2 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.9202, allocations: 16.41 kB / 463.2 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.9216, allocations: 39.41 kB / 463.3 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.9218, allocations: 48.03 kB / 463.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.9219, allocations: 34.03 kB / 463.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.9221, allocations: 122.9 kB / 463.5 MB, free: 2.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9221, allocations: 0 / 463.5 MB, free: 2.266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001818/0.9239, allocations: 381.4 kB / 463.9 MB, free: 2.207 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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.00843/0.9324, allocations: 2.183 MB / 466 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.9356, allocations: 0.6426 MB / 466.7 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.9356, allocations: 0 / 466.7 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.9374, allocations: 0.5367 MB / 467.2 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.9385, allocations: 93.78 kB / 467.3 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009216/0.9477, allocations: 2.657 MB / 470 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.9483, allocations: 0.7914 MB / 470.8 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002092/0.9504, allocations: 186.4 kB / 470.9 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/0.9511, allocations: 129.8 kB / 471.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.9511, allocations: 0 / 471.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06002/1.011, allocations: 18.63 MB / 489.7 MB, free: 13.94 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003589/1.012, allocations: 200.8 kB / 489.9 MB, free: 13.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.591/4.602, allocations: 0 / 489.9 MB, free: 13.69 MB / 394.7 MB