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/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.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.9608/0.9608, allocations: 111.2 MB / 124.3 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.261e-05, allocations: 4 kB / 154.3 MB, free: 13.2 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1805, allocations: 25.15 MB / 179.4 MB, free: 0.8047 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.562/1.743, allocations: 0.667 GB / 0.8422 GB, free: 40.66 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/1.743, allocations: 69.5 kB / 0.8423 GB, free: 40.6 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4216/2.165, allocations: 94.31 MB / 0.9344 GB, free: 36.84 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.831e-06/2.165, allocations: 0 / 0.9344 GB, free: 36.84 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/2.165, allocations: 4 kB / 0.9344 GB, free: 36.84 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.002507/2.167, allocations: 0.7673 MB / 0.9351 GB, free: 36.02 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/2.167, allocations: 8.031 kB / 0.9351 GB, free: 36.02 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/2.168, allocations: 27.72 kB / 0.9351 GB, free: 35.99 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/2.168, allocations: 258.7 kB / 0.9354 GB, free: 35.7 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/2.168, allocations: 24.52 kB / 0.9354 GB, free: 35.67 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/2.168, allocations: 31.91 kB / 0.9354 GB, free: 35.64 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009462/2.169, allocations: 0.5324 MB / 0.936 GB, free: 35.1 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/2.169, allocations: 0 / 0.936 GB, free: 35.1 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/2.169, allocations: 12 kB / 0.936 GB, free: 35.09 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/2.169, allocations: 20.42 kB / 0.936 GB, free: 35.07 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/2.17, allocations: 0.5839 MB / 0.9366 GB, free: 34.48 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.003055/2.173, allocations: 1.419 MB / 0.9379 GB, free: 32.96 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/2.174, allocations: 355.6 kB / 0.9383 GB, free: 32.59 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/2.174, allocations: 121.7 kB / 0.9384 GB, free: 32.47 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002962/2.177, allocations: 2.08 MB / 0.9404 GB, free: 30.1 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/2.177, allocations: 42.55 kB / 0.9405 GB, free: 30.05 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 3.481e-06/2.177, allocations: 0 / 0.9405 GB, free: 30.05 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.01009/2.187, allocations: 2.384 MB / 0.9428 GB, free: 27.5 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/2.187, allocations: 81.11 kB / 0.9429 GB, free: 27.4 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/2.188, allocations: 162.4 kB / 0.943 GB, free: 27.23 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/2.188, allocations: 37.7 kB / 0.9431 GB, free: 27.19 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/2.188, allocations: 250.5 kB / 0.9433 GB, free: 26.94 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/2.188, allocations: 173.5 kB / 0.9435 GB, free: 26.77 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/2.188, allocations: 8 kB / 0.9435 GB, free: 26.76 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/2.188, allocations: 334.8 kB / 0.9438 GB, free: 26.43 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/2.188, allocations: 149.3 kB / 0.9439 GB, free: 26.28 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/2.189, allocations: 303 kB / 0.9442 GB, free: 25.92 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/2.189, allocations: 191.6 kB / 0.9444 GB, free: 25.74 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/2.189, allocations: 4 kB / 0.9444 GB, free: 25.73 MB / 234.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001285/2.191, allocations: 0.5669 MB / 0.945 GB, free: 25.16 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/2.191, allocations: 8 kB / 0.945 GB, free: 25.15 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/2.191, allocations: 8 kB / 0.945 GB, free: 25.14 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/2.191, allocations: 58.31 kB / 0.945 GB, free: 25.08 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009932/2.192, allocations: 167.8 kB / 0.9452 GB, free: 24.91 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005717/2.192, allocations: 1.078 MB / 0.9463 GB, free: 23.79 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/2.193, allocations: 39.88 kB / 0.9463 GB, free: 23.75 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/2.193, allocations: 35.98 kB / 0.9463 GB, free: 23.71 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.0002668/2.193, allocations: 173.8 kB / 0.9465 GB, free: 23.54 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/2.194, allocations: 27.7 kB / 0.9465 GB, free: 23.51 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/2.195, allocations: 0.5714 MB / 0.9471 GB, free: 22.93 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/2.195, allocations: 4 kB / 0.9471 GB, free: 22.92 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.237e-06/2.195, allocations: 0 / 0.9471 GB, free: 22.92 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.971e-06/2.195, allocations: 0 / 0.9471 GB, free: 22.92 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/2.198, allocations: 1.126 MB / 0.9482 GB, free: 21.71 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.488e-06/2.198, allocations: 4 kB / 0.9482 GB, free: 21.71 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009372/2.199, allocations: 132 kB / 0.9483 GB, free: 21.58 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/2.199, allocations: 49.59 kB / 0.9484 GB, free: 21.53 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/2.199, allocations: 27.97 kB / 0.9484 GB, free: 21.5 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/2.2, allocations: 2.526 MB / 0.9509 GB, free: 18.71 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-05/2.2, allocations: 4.031 kB / 0.9509 GB, free: 18.7 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/2.202, allocations: 0.887 MB / 0.9517 GB, free: 17.72 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/2.202, allocations: 144.8 kB / 0.9519 GB, free: 17.56 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/2.202, allocations: 8 kB / 0.9519 GB, free: 17.55 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/2.203, allocations: 35.97 kB / 0.9519 GB, free: 17.52 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/2.203, allocations: 39.94 kB / 0.9519 GB, free: 17.48 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-05/2.203, allocations: 35.97 kB / 0.952 GB, free: 17.44 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.947e-05/2.203, allocations: 124.4 kB / 0.9521 GB, free: 17.32 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.04e-07/2.203, allocations: 0 / 0.9521 GB, free: 17.32 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001702/2.205, allocations: 427.6 kB / 0.9525 GB, free: 16.9 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.003748/2.209, allocations: 1.221 MB / 0.9537 GB, free: 15.67 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/2.21, allocations: 436.7 kB / 0.9541 GB, free: 15.25 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.274e-06/2.21, allocations: 0 / 0.9541 GB, free: 15.25 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000633/2.21, allocations: 425.7 kB / 0.9545 GB, free: 14.8 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/2.211, allocations: 91.42 kB / 0.9546 GB, free: 14.72 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/2.213, allocations: 0.8009 MB / 0.9554 GB, free: 13.87 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/2.213, allocations: 0.7893 MB / 0.9562 GB, free: 13.05 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/2.214, allocations: 71.38 kB / 0.9562 GB, free: 12.99 MB / 234.7 MB Notification: Performance of SimCode: time 1.998e-06/2.214, allocations: 0 / 0.9562 GB, free: 12.99 MB / 234.7 MB Notification: Performance of Templates: time 0.1618/2.376, allocations: 16.89 MB / 0.9727 GB, free: 43.02 MB / 234.7 MB