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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.318/2.318, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.253e-05/1.257e-05, allocations: 0 / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2731, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/1.62, allocations: 0.5028 GB / 0.8524 GB, free: 146.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.62, allocations: 87.95 kB / 0.8525 GB, free: 146 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9541/2.574, allocations: 214.6 MB / 1.062 GB, free: 97.97 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.446e-06/2.575, allocations: 0 / 1.062 GB, free: 97.97 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.358e-05/2.575, allocations: 15 kB / 1.062 GB, free: 97.97 MB / 474.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.003485/2.578, allocations: 1.094 MB / 1.063 GB, free: 97.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/2.578, allocations: 13.7 kB / 1.063 GB, free: 97.24 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/2.58, allocations: 133.3 kB / 1.063 GB, free: 97.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/2.581, allocations: 0.5592 MB / 1.064 GB, free: 96.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/2.581, allocations: 81.98 kB / 1.064 GB, free: 96.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/2.582, allocations: 34.94 kB / 1.064 GB, free: 96.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001277/2.583, allocations: 0.5184 MB / 1.064 GB, free: 96.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/2.584, allocations: 0.7227 MB / 1.065 GB, free: 96.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/2.584, allocations: 7.75 kB / 1.065 GB, free: 96.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/2.584, allocations: 0 / 1.065 GB, free: 96.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.14e-05/2.585, allocations: 40.98 kB / 1.065 GB, free: 96.19 MB / 474.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.00545/2.59, allocations: 3.884 MB / 1.069 GB, free: 93.13 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/2.591, allocations: 240.3 kB / 1.069 GB, free: 93.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/2.591, allocations: 122.3 kB / 1.069 GB, free: 92.97 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.564e-05/2.591, allocations: 24.62 kB / 1.069 GB, free: 92.96 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/2.591, allocations: 38.64 kB / 1.069 GB, free: 92.92 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 4.267e-06/2.591, allocations: 0 / 1.069 GB, free: 92.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.006295/2.597, allocations: 1.417 MB / 1.071 GB, free: 92.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/2.597, allocations: 140.4 kB / 1.071 GB, free: 92.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/2.598, allocations: 469.2 kB / 1.071 GB, free: 91.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/2.598, allocations: 25.7 kB / 1.071 GB, free: 91.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/2.598, allocations: 445.2 kB / 1.072 GB, free: 91.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/2.599, allocations: 116.2 kB / 1.072 GB, free: 91.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/2.599, allocations: 0 / 1.072 GB, free: 91.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/2.599, allocations: 346.2 kB / 1.072 GB, free: 91.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/2.599, allocations: 177.8 kB / 1.072 GB, free: 90.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/2.6, allocations: 0.5005 MB / 1.073 GB, free: 90.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009242/2.601, allocations: 331.2 kB / 1.073 GB, free: 90.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.968e-06/2.601, allocations: 3.906 kB / 1.073 GB, free: 90.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00198/2.603, allocations: 0.8028 MB / 1.074 GB, free: 90.08 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/2.603, allocations: 10.91 kB / 1.074 GB, free: 90.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/2.603, allocations: 15.56 kB / 1.074 GB, free: 90.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/2.604, allocations: 260.8 kB / 1.074 GB, free: 90.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/2.605, allocations: 130.9 kB / 1.074 GB, free: 90.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/2.606, allocations: 0.9241 MB / 1.075 GB, free: 89.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/2.607, allocations: 30.73 kB / 1.075 GB, free: 89.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/2.607, allocations: 67.62 kB / 1.075 GB, free: 89.35 MB / 474.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.0002161/2.607, allocations: 142.2 kB / 1.076 GB, free: 89.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/2.608, allocations: 60.75 kB / 1.076 GB, free: 89.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/2.609, allocations: 0.5074 MB / 1.076 GB, free: 88.99 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-06/2.609, allocations: 3.969 kB / 1.076 GB, free: 88.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.79e-06/2.609, allocations: 0 / 1.076 GB, free: 88.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.43e-06/2.609, allocations: 3.047 kB / 1.076 GB, free: 88.99 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/2.611, allocations: 0.9607 MB / 1.077 GB, free: 88.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.299e-06/2.611, allocations: 0 / 1.077 GB, free: 88.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/2.613, allocations: 192.8 kB / 1.077 GB, free: 88.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/2.613, allocations: 22.88 kB / 1.077 GB, free: 88.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/2.613, allocations: 15.36 kB / 1.077 GB, free: 88.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/2.615, allocations: 2.586 MB / 1.08 GB, free: 85.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/2.615, allocations: 0 / 1.08 GB, free: 85.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/2.616, allocations: 0.6733 MB / 1.08 GB, free: 85.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/2.616, allocations: 177.5 kB / 1.081 GB, free: 85.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/2.616, allocations: 4 kB / 1.081 GB, free: 85.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005545/2.617, allocations: 23.14 kB / 1.081 GB, free: 85.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/2.617, allocations: 30.52 kB / 1.081 GB, free: 85.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/2.617, allocations: 39.03 kB / 1.081 GB, free: 85.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005317/2.618, allocations: 349.5 kB / 1.081 GB, free: 85.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.96e-07/2.618, allocations: 0 / 1.081 GB, free: 85.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002125/2.62, allocations: 338.8 kB / 1.081 GB, free: 85.11 MB / 474.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.002199/2.622, allocations: 1.169 MB / 1.082 GB, free: 84.87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/2.624, allocations: 497.4 kB / 1.083 GB, free: 84.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.323e-06/2.624, allocations: 3.625 kB / 1.083 GB, free: 84.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009353/2.625, allocations: 337.7 kB / 1.083 GB, free: 84.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/2.626, allocations: 237.3 kB / 1.084 GB, free: 84.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008741/2.635, allocations: 2.329 MB / 1.086 GB, free: 83.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/2.635, allocations: 0.9477 MB / 1.087 GB, free: 82.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/2.636, allocations: 100.9 kB / 1.087 GB, free: 82.41 MB / 474.7 MB Notification: Performance of SimCode: time 1.757e-06/2.636, allocations: 0 / 1.087 GB, free: 82.41 MB / 474.7 MB Notification: Performance of Templates: time 0.02807/2.664, allocations: 19.82 MB / 1.106 GB, free: 62.79 MB / 474.7 MB