Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 1.992/1.992, allocations: 209.3 MB / 225.4 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 12 kB / 283.1 MB, free: 9.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 48.7 MB / 331.8 MB, free: 9.047 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.557/1.672, allocations: 0.4968 GB / 0.8209 GB, free: 11.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/1.672, allocations: 101.4 kB / 0.821 GB, free: 11.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.344/3.016, allocations: 219 MB / 1.035 GB, free: 84.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.166e-06/3.016, allocations: 0 / 1.035 GB, free: 84.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.131e-05/3.016, allocations: 20.39 kB / 1.035 GB, free: 84.75 MB / 442.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.004222/3.02, allocations: 1.185 MB / 1.036 GB, free: 84.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/3.02, allocations: 9.938 kB / 1.036 GB, free: 84.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/3.022, allocations: 139.2 kB / 1.036 GB, free: 84.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/3.023, allocations: 0.55 MB / 1.037 GB, free: 84.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/3.024, allocations: 106 kB / 1.037 GB, free: 84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/3.024, allocations: 49.59 kB / 1.037 GB, free: 84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/3.026, allocations: 0.8106 MB / 1.038 GB, free: 83.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/3.026, allocations: 5.031 kB / 1.038 GB, free: 83.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/3.026, allocations: 24.11 kB / 1.038 GB, free: 83.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.384e-05/3.026, allocations: 40.14 kB / 1.038 GB, free: 83.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/3.028, allocations: 0.6193 MB / 1.038 GB, free: 83.77 MB / 442.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.006524/3.034, allocations: 3.904 MB / 1.042 GB, free: 81.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/3.035, allocations: 331.5 kB / 1.042 GB, free: 81.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/3.035, allocations: 25.84 kB / 1.042 GB, free: 81.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/3.035, allocations: 41.91 kB / 1.043 GB, free: 81.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.096e-06/3.035, allocations: 0 / 1.043 GB, free: 81.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.008906/3.044, allocations: 1.618 MB / 1.044 GB, free: 80.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/3.044, allocations: 135.7 kB / 1.044 GB, free: 80.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/3.046, allocations: 0.6023 MB / 1.045 GB, free: 80.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.134e-05/3.046, allocations: 38.59 kB / 1.045 GB, free: 80.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/3.046, allocations: 409 kB / 1.045 GB, free: 80.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/3.046, allocations: 142.2 kB / 1.045 GB, free: 80.01 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/3.046, allocations: 16.22 kB / 1.045 GB, free: 80.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/3.046, allocations: 337.3 kB / 1.046 GB, free: 79.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005971/3.047, allocations: 199.8 kB / 1.046 GB, free: 79.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/3.048, allocations: 0.5398 MB / 1.046 GB, free: 79.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/3.048, allocations: 299.6 kB / 1.047 GB, free: 79.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/3.048, allocations: 3.719 kB / 1.047 GB, free: 79.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002168/3.051, allocations: 0.847 MB / 1.048 GB, free: 79.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/3.051, allocations: 12.81 kB / 1.048 GB, free: 79.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/3.051, allocations: 12.75 kB / 1.048 GB, free: 79.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/3.053, allocations: 302.4 kB / 1.048 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/3.054, allocations: 132.8 kB / 1.048 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/3.055, allocations: 0.9068 MB / 1.049 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/3.056, allocations: 50.64 kB / 1.049 GB, free: 78.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/3.057, allocations: 69.69 kB / 1.049 GB, free: 78.67 MB / 442.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 () * Number of clocked 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.0005568/3.057, allocations: 247.7 kB / 1.049 GB, free: 78.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/3.057, allocations: 65.84 kB / 1.049 GB, free: 78.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/3.059, allocations: 0.6572 MB / 1.05 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/3.06, allocations: 7.219 kB / 1.05 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/3.06, allocations: 7.531 kB / 1.05 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/3.06, allocations: 0 / 1.05 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/3.062, allocations: 1.264 MB / 1.051 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/3.062, allocations: 3.5 kB / 1.051 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/3.064, allocations: 207.9 kB / 1.051 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/3.064, allocations: 25.72 kB / 1.051 GB, free: 77.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/3.064, allocations: 17.89 kB / 1.051 GB, free: 77.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/3.067, allocations: 2.694 MB / 1.054 GB, free: 75.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/3.067, allocations: 5.781 kB / 1.054 GB, free: 75.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/3.069, allocations: 0.7903 MB / 1.055 GB, free: 75.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/3.069, allocations: 181.6 kB / 1.055 GB, free: 75.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/3.069, allocations: 11.41 kB / 1.055 GB, free: 75.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/3.07, allocations: 26.41 kB / 1.055 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/3.07, allocations: 47.55 kB / 1.055 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/3.07, allocations: 41.55 kB / 1.055 GB, free: 75.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007197/3.071, allocations: 413.7 kB / 1.056 GB, free: 74.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/3.071, allocations: 0 / 1.056 GB, free: 74.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001977/3.073, allocations: 379.3 kB / 1.056 GB, free: 74.93 MB / 442.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 () * Number of clocked 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.002447/3.075, allocations: 1.038 MB / 1.057 GB, free: 74.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00185/3.077, allocations: 0.5455 MB / 1.057 GB, free: 74.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/3.077, allocations: 0 / 1.057 GB, free: 74.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/3.079, allocations: 400.6 kB / 1.058 GB, free: 74.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/3.082, allocations: 322.4 kB / 1.058 GB, free: 74.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/3.092, allocations: 3.077 MB / 1.061 GB, free: 73.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/3.093, allocations: 0.9434 MB / 1.062 GB, free: 73.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/3.093, allocations: 112.3 kB / 1.062 GB, free: 73.21 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/3.093, allocations: 0 / 1.062 GB, free: 73.21 MB / 442.7 MB Notification: Performance of Templates: time 0.03898/3.132, allocations: 20.58 MB / 1.082 GB, free: 72.43 MB / 442.7 MB