Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1/1, allocations: 111.1 MB / 127.3 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.000362, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07464/0.07503, allocations: 25.16 MB / 184 MB, free: 6.027 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.229/2.304, allocations: 0.6537 GB / 0.8334 GB, free: 65.51 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/2.304, allocations: 67.25 kB / 0.8334 GB, free: 65.51 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1441/2.448, allocations: 37.61 MB / 0.8702 GB, free: 43.82 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.424e-06/2.448, allocations: 0 / 0.8702 GB, free: 43.82 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/2.448, allocations: 0 / 0.8702 GB, free: 43.82 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000631/2.449, allocations: 423.7 kB / 0.8706 GB, free: 43.35 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/2.449, allocations: 12.03 kB / 0.8706 GB, free: 43.34 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/2.449, allocations: 7.906 kB / 0.8706 GB, free: 43.33 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/2.449, allocations: 190.9 kB / 0.8708 GB, free: 43.11 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/2.449, allocations: 8.188 kB / 0.8708 GB, free: 43.1 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/2.449, allocations: 15.91 kB / 0.8708 GB, free: 43.08 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/2.45, allocations: 127.1 kB / 0.8709 GB, free: 42.95 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/2.45, allocations: 0 / 0.8709 GB, free: 42.95 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/2.45, allocations: 8 kB / 0.8709 GB, free: 42.95 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/2.45, allocations: 0 / 0.8709 GB, free: 42.95 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/2.45, allocations: 164.4 kB / 0.8711 GB, free: 42.79 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.001283/2.451, allocations: 0.5918 MB / 0.8717 GB, free: 42.11 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/2.452, allocations: 162.5 kB / 0.8718 GB, free: 41.95 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/2.453, allocations: 1.034 MB / 0.8728 GB, free: 40.74 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/2.453, allocations: 38.56 kB / 0.8729 GB, free: 40.69 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/2.453, allocations: 0 / 0.8729 GB, free: 40.69 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00755/2.461, allocations: 1.218 MB / 0.8741 GB, free: 39.36 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/2.461, allocations: 55.34 kB / 0.8741 GB, free: 39.29 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/2.461, allocations: 121.7 kB / 0.8742 GB, free: 39.16 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/2.461, allocations: 25.7 kB / 0.8743 GB, free: 39.13 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/2.461, allocations: 162.8 kB / 0.8744 GB, free: 38.97 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/2.461, allocations: 74.94 kB / 0.8745 GB, free: 38.89 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/2.461, allocations: 4 kB / 0.8745 GB, free: 38.89 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/2.461, allocations: 318.8 kB / 0.8748 GB, free: 38.57 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/2.461, allocations: 48.3 kB / 0.8748 GB, free: 38.52 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/2.462, allocations: 82.72 kB / 0.8749 GB, free: 38.43 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/2.462, allocations: 63.94 kB / 0.875 GB, free: 38.37 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/2.462, allocations: 0 / 0.875 GB, free: 38.37 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005002/2.462, allocations: 198.3 kB / 0.8752 GB, free: 38.17 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/2.462, allocations: 8 kB / 0.8752 GB, free: 38.16 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/2.462, allocations: 3.938 kB / 0.8752 GB, free: 38.16 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/2.463, allocations: 20.84 kB / 0.8752 GB, free: 38.13 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/2.463, allocations: 51.97 kB / 0.8752 GB, free: 38.08 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003485/2.463, allocations: 0.5407 MB / 0.8758 GB, free: 37.52 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/2.463, allocations: 4.031 kB / 0.8758 GB, free: 37.51 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/2.464, allocations: 12 kB / 0.8758 GB, free: 37.5 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.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 medium.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: 4 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002499/2.464, allocations: 145.4 kB / 0.8759 GB, free: 37.35 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/2.464, allocations: 7.906 kB / 0.8759 GB, free: 37.34 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000671/2.465, allocations: 233.8 kB / 0.8762 GB, free: 37.11 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/2.465, allocations: 0 / 0.8762 GB, free: 37.11 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/2.465, allocations: 4 kB / 0.8762 GB, free: 37.1 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/2.465, allocations: 0 / 0.8762 GB, free: 37.1 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009237/2.466, allocations: 0.5405 MB / 0.8767 GB, free: 36.49 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/2.466, allocations: 0 / 0.8767 GB, free: 36.49 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/2.466, allocations: 55.86 kB / 0.8767 GB, free: 36.44 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/2.466, allocations: 16.84 kB / 0.8768 GB, free: 36.42 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/2.466, allocations: 11.98 kB / 0.8768 GB, free: 36.41 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008541/2.467, allocations: 1.276 MB / 0.878 GB, free: 35 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/2.467, allocations: 4.031 kB / 0.878 GB, free: 34.99 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006457/2.468, allocations: 356.7 kB / 0.8784 GB, free: 34.62 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/2.468, allocations: 105 kB / 0.8785 GB, free: 34.5 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/2.468, allocations: 8 kB / 0.8785 GB, free: 34.49 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/2.468, allocations: 11.88 kB / 0.8785 GB, free: 34.48 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/2.468, allocations: 19.97 kB / 0.8785 GB, free: 34.46 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/2.468, allocations: 4 kB / 0.8785 GB, free: 34.45 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.157e-05/2.468, allocations: 95.33 kB / 0.8786 GB, free: 34.36 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.3e-07/2.468, allocations: 0 / 0.8786 GB, free: 34.36 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009474/2.469, allocations: 187.8 kB / 0.8788 GB, free: 34.18 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.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 (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/2.471, allocations: 0.6967 MB / 0.8794 GB, free: 33.46 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005973/2.472, allocations: 150.8 kB / 0.8796 GB, free: 33.32 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/2.472, allocations: 8.125 kB / 0.8796 GB, free: 33.31 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/2.472, allocations: 187 kB / 0.8798 GB, free: 33.12 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/2.473, allocations: 43.95 kB / 0.8798 GB, free: 33.07 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/2.473, allocations: 0.5714 MB / 0.8804 GB, free: 32.46 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/2.474, allocations: 0.7165 MB / 0.8811 GB, free: 31.72 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/2.474, allocations: 23.44 kB / 0.8811 GB, free: 31.7 MB / 234.7 MB Notification: Performance of SimCode: time 8.82e-07/2.474, allocations: 0 / 0.8811 GB, free: 31.7 MB / 234.7 MB Notification: Performance of Templates: time 0.01559/2.489, allocations: 7.711 MB / 0.8886 GB, free: 23.99 MB / 234.7 MB