Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(ModelicaTest): time 2.237/2.237, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.067e-05, allocations: 3.984 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.376, allocations: 54.85 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.607, allocations: 0.5034 GB / 0.8594 GB, free: 41.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.608, allocations: 94.28 kB / 0.8595 GB, free: 41.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9203/2.528, allocations: 217.2 MB / 1.072 GB, free: 29.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.181e-06/2.528, allocations: 4 kB / 1.072 GB, free: 29.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.958e-05/2.528, allocations: 12 kB / 1.072 GB, free: 29.81 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002804/2.531, allocations: 1.1 MB / 1.073 GB, free: 28.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/2.531, allocations: 8.031 kB / 1.073 GB, free: 28.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/2.532, allocations: 131 kB / 1.073 GB, free: 28.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/2.533, allocations: 0.5444 MB / 1.073 GB, free: 27.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/2.534, allocations: 108.4 kB / 1.073 GB, free: 27.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/2.534, allocations: 51.91 kB / 1.074 GB, free: 27.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/2.535, allocations: 0.791 MB / 1.074 GB, free: 26.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/2.535, allocations: 7.953 kB / 1.074 GB, free: 26.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/2.535, allocations: 31.92 kB / 1.074 GB, free: 26.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-05/2.535, allocations: 48.91 kB / 1.074 GB, free: 26.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/2.537, allocations: 0.5972 MB / 1.075 GB, free: 26.22 MB / 490.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.004973/2.542, allocations: 3.908 MB / 1.079 GB, free: 22.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/2.542, allocations: 323.4 kB / 1.079 GB, free: 21.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/2.543, allocations: 162.8 kB / 1.079 GB, free: 21.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.892e-05/2.543, allocations: 29.05 kB / 1.079 GB, free: 21.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/2.543, allocations: 38.84 kB / 1.079 GB, free: 21.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.49e-06/2.543, allocations: 0 / 1.079 GB, free: 21.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005924/2.549, allocations: 1.501 MB / 1.081 GB, free: 19.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/2.549, allocations: 132.5 kB / 1.081 GB, free: 19.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008111/2.55, allocations: 0.5188 MB / 1.081 GB, free: 19.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/2.55, allocations: 37.7 kB / 1.081 GB, free: 19.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/2.55, allocations: 405.2 kB / 1.082 GB, free: 18.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/2.55, allocations: 145.9 kB / 1.082 GB, free: 18.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/2.55, allocations: 16 kB / 1.082 GB, free: 18.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/2.55, allocations: 342.8 kB / 1.082 GB, free: 18.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/2.551, allocations: 197.4 kB / 1.082 GB, free: 18.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/2.551, allocations: 0.5216 MB / 1.083 GB, free: 17.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/2.552, allocations: 295.3 kB / 1.083 GB, free: 17.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.415e-06/2.552, allocations: 4 kB / 1.083 GB, free: 17.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001713/2.554, allocations: 0.8301 MB / 1.084 GB, free: 16.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/2.554, allocations: 20.02 kB / 1.084 GB, free: 16.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/2.554, allocations: 11.94 kB / 1.084 GB, free: 16.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/2.555, allocations: 292.6 kB / 1.084 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/2.556, allocations: 135.7 kB / 1.085 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/2.557, allocations: 0.8931 MB / 1.085 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009055/2.558, allocations: 55.81 kB / 1.085 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/2.558, allocations: 64 kB / 1.086 GB, free: 14.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002125/2.558, allocations: 156.8 kB / 1.086 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/2.558, allocations: 71.19 kB / 1.086 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/2.56, allocations: 0.6547 MB / 1.086 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.978e-06/2.56, allocations: 4 kB / 1.086 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.668e-06/2.56, allocations: 0 / 1.086 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.204e-06/2.56, allocations: 3.984 kB / 1.086 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/2.563, allocations: 1.243 MB / 1.088 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.088e-06/2.563, allocations: 4 kB / 1.088 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/2.564, allocations: 215.8 kB / 1.088 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/2.564, allocations: 28.8 kB / 1.088 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/2.564, allocations: 16 kB / 1.088 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/2.566, allocations: 2.684 MB / 1.09 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/2.566, allocations: 4.031 kB / 1.09 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/2.568, allocations: 0.8364 MB / 1.091 GB, free: 8.426 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/2.568, allocations: 180.3 kB / 1.091 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/2.568, allocations: 12 kB / 1.091 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/2.569, allocations: 31.95 kB / 1.092 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/2.569, allocations: 35.95 kB / 1.092 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/2.569, allocations: 39.98 kB / 1.092 GB, free: 8.113 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006301/2.57, allocations: 415.1 kB / 1.092 GB, free: 7.711 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.81e-07/2.57, allocations: 0 / 1.092 GB, free: 7.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001728/2.571, allocations: 383.7 kB / 1.092 GB, free: 7.336 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001881/2.573, allocations: 1.039 MB / 1.093 GB, free: 6.297 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/2.575, allocations: 0.5396 MB / 1.094 GB, free: 5.758 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.267e-06/2.575, allocations: 7.953 kB / 1.094 GB, free: 5.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/2.576, allocations: 394.2 kB / 1.094 GB, free: 5.352 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/2.578, allocations: 309.4 kB / 1.095 GB, free: 5.051 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/2.586, allocations: 2.421 MB / 1.097 GB, free: 2.578 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/2.586, allocations: 0.9377 MB / 1.098 GB, free: 1.613 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005579/2.587, allocations: 107.4 kB / 1.098 GB, free: 1.508 MB / 490.7 MB Notification: Performance of SimCode: time 2.049e-06/2.587, allocations: 0 / 1.098 GB, free: 1.508 MB / 490.7 MB Notification: Performance of Templates: time 0.3167/2.904, allocations: 20.51 MB / 1.118 GB, free: 91.83 MB / 490.7 MB