Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(ModelicaTest): time 2.049/2.049, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.638e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3189, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.286/1.605, allocations: 0.4961 GB / 0.8086 GB, free: 121.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.605, allocations: 91.94 kB / 0.8087 GB, free: 121.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9313/2.536, allocations: 215.9 MB / 1.02 GB, free: 67.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.168e-06/2.536, allocations: 0 / 1.02 GB, free: 67.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.942e-05/2.537, allocations: 24.03 kB / 1.02 GB, free: 67.89 MB / 426.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.002789/2.539, allocations: 1.1 MB / 1.021 GB, free: 66.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/2.539, allocations: 12.03 kB / 1.021 GB, free: 66.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/2.541, allocations: 130.9 kB / 1.021 GB, free: 66.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/2.542, allocations: 0.554 MB / 1.021 GB, free: 66.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/2.542, allocations: 88.7 kB / 1.021 GB, free: 65.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/2.542, allocations: 28 kB / 1.021 GB, free: 65.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/2.543, allocations: 0.5219 MB / 1.022 GB, free: 65.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/2.545, allocations: 0.7298 MB / 1.023 GB, free: 64.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/2.545, allocations: 0 / 1.023 GB, free: 64.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.614e-05/2.545, allocations: 4 kB / 1.023 GB, free: 64.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.478e-05/2.545, allocations: 41.28 kB / 1.023 GB, free: 64.54 MB / 426.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.005098/2.55, allocations: 3.873 MB / 1.026 GB, free: 60.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/2.551, allocations: 235.2 kB / 1.027 GB, free: 60.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/2.551, allocations: 129.1 kB / 1.027 GB, free: 60.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.259e-05/2.551, allocations: 25 kB / 1.027 GB, free: 60.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/2.551, allocations: 42.73 kB / 1.027 GB, free: 60.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.549e-06/2.551, allocations: 0 / 1.027 GB, free: 60.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.006193/2.557, allocations: 1.424 MB / 1.028 GB, free: 58.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/2.557, allocations: 140.5 kB / 1.028 GB, free: 58.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/2.558, allocations: 466.1 kB / 1.029 GB, free: 57.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/2.558, allocations: 29.69 kB / 1.029 GB, free: 57.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/2.558, allocations: 445.1 kB / 1.029 GB, free: 57.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/2.558, allocations: 118.3 kB / 1.029 GB, free: 57.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/2.558, allocations: 0 / 1.029 GB, free: 57.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/2.558, allocations: 342.8 kB / 1.03 GB, free: 56.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/2.559, allocations: 181.5 kB / 1.03 GB, free: 56.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/2.559, allocations: 0.5005 MB / 1.03 GB, free: 56.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/2.56, allocations: 339.2 kB / 1.031 GB, free: 55.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-06/2.56, allocations: 4 kB / 1.031 GB, free: 55.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001834/2.562, allocations: 0.7908 MB / 1.032 GB, free: 54.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/2.562, allocations: 8 kB / 1.032 GB, free: 54.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/2.562, allocations: 12 kB / 1.032 GB, free: 54.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/2.563, allocations: 269.1 kB / 1.032 GB, free: 54.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/2.564, allocations: 127.8 kB / 1.032 GB, free: 54.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/2.565, allocations: 0.9247 MB / 1.033 GB, free: 53.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009239/2.566, allocations: 32.03 kB / 1.033 GB, free: 53.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/2.566, allocations: 75.98 kB / 1.033 GB, free: 53.51 MB / 426.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.000201/2.567, allocations: 132.7 kB / 1.033 GB, free: 53.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/2.567, allocations: 67.2 kB / 1.033 GB, free: 53.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/2.568, allocations: 0.4975 MB / 1.034 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.819e-06/2.568, allocations: 4 kB / 1.034 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.749e-06/2.568, allocations: 0 / 1.034 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.542e-06/2.568, allocations: 0 / 1.034 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/2.57, allocations: 0.9607 MB / 1.035 GB, free: 51.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.99e-06/2.57, allocations: 12.02 kB / 1.035 GB, free: 51.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/2.571, allocations: 187.8 kB / 1.035 GB, free: 51.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/2.572, allocations: 20.84 kB / 1.035 GB, free: 51.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/2.572, allocations: 15.94 kB / 1.035 GB, free: 51.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/2.573, allocations: 2.589 MB / 1.037 GB, free: 48.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.911e-06/2.573, allocations: 3.938 kB / 1.037 GB, free: 48.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/2.575, allocations: 0.6741 MB / 1.038 GB, free: 48.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/2.575, allocations: 168.4 kB / 1.038 GB, free: 47.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/2.575, allocations: 3.984 kB / 1.038 GB, free: 47.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/2.576, allocations: 23.84 kB / 1.038 GB, free: 47.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/2.576, allocations: 32.03 kB / 1.038 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/2.576, allocations: 35.98 kB / 1.038 GB, free: 47.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005069/2.576, allocations: 350.8 kB / 1.039 GB, free: 47.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.18e-07/2.576, allocations: 4 kB / 1.039 GB, free: 47.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001635/2.578, allocations: 339.8 kB / 1.039 GB, free: 47.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.002066/2.58, allocations: 1.181 MB / 1.04 GB, free: 46.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/2.581, allocations: 480.3 kB / 1.04 GB, free: 45.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.688e-06/2.581, allocations: 8.188 kB / 1.04 GB, free: 45.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009189/2.582, allocations: 337.6 kB / 1.041 GB, free: 45.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/2.584, allocations: 245.6 kB / 1.041 GB, free: 44.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007795/2.592, allocations: 2.323 MB / 1.043 GB, free: 42.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/2.592, allocations: 0.9412 MB / 1.044 GB, free: 41.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005656/2.593, allocations: 107.4 kB / 1.044 GB, free: 41.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.901e-06/2.593, allocations: 3.938 kB / 1.044 GB, free: 41.58 MB / 426.7 MB Notification: Performance of Templates: time 0.02862/2.621, allocations: 19.85 MB / 1.064 GB, free: 21.73 MB / 426.7 MB