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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.963/1.963, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.793e-05, allocations: 4 kB / 277.8 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/0.08909, allocations: 48.69 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.364, allocations: 0.4968 GB / 0.8157 GB, free: 33.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.365, allocations: 87.95 kB / 0.8157 GB, free: 33.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154/2.518, allocations: 218.5 MB / 1.029 GB, free: 75.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.056e-06/2.518, allocations: 0 / 1.029 GB, free: 75.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.794e-05/2.518, allocations: 18.88 kB / 1.029 GB, free: 75.11 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.00311/2.522, allocations: 1.105 MB / 1.03 GB, free: 74.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/2.522, allocations: 15.91 kB / 1.03 GB, free: 74.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/2.523, allocations: 127.5 kB / 1.03 GB, free: 74.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/2.524, allocations: 0.5505 MB / 1.031 GB, free: 74.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/2.525, allocations: 109.1 kB / 1.031 GB, free: 74.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/2.525, allocations: 47.34 kB / 1.031 GB, free: 74.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/2.526, allocations: 0.7907 MB / 1.032 GB, free: 74.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/2.526, allocations: 0 / 1.032 GB, free: 74.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/2.527, allocations: 27.7 kB / 1.032 GB, free: 74.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.291e-05/2.527, allocations: 39.42 kB / 1.032 GB, free: 74.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/2.528, allocations: 0.6017 MB / 1.032 GB, free: 74.16 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.005391/2.533, allocations: 3.906 MB / 1.036 GB, free: 71.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/2.534, allocations: 318.7 kB / 1.037 GB, free: 71.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/2.534, allocations: 172.3 kB / 1.037 GB, free: 71.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/2.535, allocations: 25.91 kB / 1.037 GB, free: 71.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/2.535, allocations: 46.91 kB / 1.037 GB, free: 71.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 4.213e-06/2.535, allocations: 0 / 1.037 GB, free: 71.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.006268/2.541, allocations: 1.484 MB / 1.038 GB, free: 71.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/2.541, allocations: 141.9 kB / 1.038 GB, free: 70.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008294/2.542, allocations: 0.5173 MB / 1.039 GB, free: 70.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.05e-05/2.542, allocations: 28.95 kB / 1.039 GB, free: 70.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/2.542, allocations: 411.9 kB / 1.039 GB, free: 70.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/2.542, allocations: 148.5 kB / 1.039 GB, free: 70.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/2.542, allocations: 17.09 kB / 1.039 GB, free: 70.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/2.543, allocations: 343.6 kB / 1.04 GB, free: 70.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/2.543, allocations: 195.5 kB / 1.04 GB, free: 70.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/2.544, allocations: 0.5229 MB / 1.04 GB, free: 69.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/2.544, allocations: 302.3 kB / 1.041 GB, free: 69.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.337e-06/2.544, allocations: 3.219 kB / 1.041 GB, free: 69.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001866/2.546, allocations: 0.838 MB / 1.042 GB, free: 69.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/2.546, allocations: 7.906 kB / 1.042 GB, free: 69.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/2.546, allocations: 11.34 kB / 1.042 GB, free: 69.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/2.548, allocations: 307.2 kB / 1.042 GB, free: 69.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/2.549, allocations: 132.6 kB / 1.042 GB, free: 69.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/2.55, allocations: 0.9029 MB / 1.043 GB, free: 69.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/2.551, allocations: 42.84 kB / 1.043 GB, free: 69.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/2.551, allocations: 71.78 kB / 1.043 GB, free: 69.07 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.0002406/2.551, allocations: 151.9 kB / 1.043 GB, free: 68.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/2.552, allocations: 69.19 kB / 1.043 GB, free: 68.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/2.554, allocations: 0.6646 MB / 1.044 GB, free: 68.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.76e-06/2.554, allocations: 5.25 kB / 1.044 GB, free: 68.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.12e-06/2.554, allocations: 0 / 1.044 GB, free: 68.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.241e-06/2.554, allocations: 3.75 kB / 1.044 GB, free: 68.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/2.556, allocations: 1.244 MB / 1.045 GB, free: 68.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.119e-06/2.556, allocations: 0 / 1.045 GB, free: 68.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/2.558, allocations: 213 kB / 1.045 GB, free: 68.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/2.558, allocations: 23.53 kB / 1.045 GB, free: 68.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/2.558, allocations: 21.05 kB / 1.045 GB, free: 68.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/2.56, allocations: 2.685 MB / 1.048 GB, free: 65.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.087e-06/2.56, allocations: 7.906 kB / 1.048 GB, free: 65.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/2.562, allocations: 0.8298 MB / 1.049 GB, free: 65.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/2.562, allocations: 182.4 kB / 1.049 GB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/2.563, allocations: 10.56 kB / 1.049 GB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/2.563, allocations: 34.75 kB / 1.049 GB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/2.563, allocations: 40.86 kB / 1.049 GB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-05/2.563, allocations: 40.44 kB / 1.049 GB, free: 65.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006689/2.564, allocations: 416.2 kB / 1.049 GB, free: 65.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.7e-07/2.564, allocations: 0 / 1.049 GB, free: 65.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001911/2.566, allocations: 378.8 kB / 1.05 GB, free: 65.25 MB / 426.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.00219/2.568, allocations: 1.03 MB / 1.051 GB, free: 65.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/2.57, allocations: 0.5378 MB / 1.051 GB, free: 65.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.466e-06/2.57, allocations: 0 / 1.051 GB, free: 65.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/2.571, allocations: 390 kB / 1.052 GB, free: 64.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/2.573, allocations: 319.6 kB / 1.052 GB, free: 64.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008664/2.582, allocations: 2.422 MB / 1.054 GB, free: 64.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/2.582, allocations: 0.9408 MB / 1.055 GB, free: 63.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/2.583, allocations: 116.2 kB / 1.055 GB, free: 63.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.7e-06/2.583, allocations: 0 / 1.055 GB, free: 63.88 MB / 426.7 MB Notification: Performance of Templates: time 0.03176/2.615, allocations: 20.54 MB / 1.076 GB, free: 63.05 MB / 426.7 MB