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.223/2.223, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004381, allocations: 15.98 kB / 314.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2781, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.498/1.776, allocations: 0.5035 GB / 0.8641 GB, free: 173.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.776, allocations: 96.91 kB / 0.8642 GB, free: 173.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9177/2.694, allocations: 217.7 MB / 1.077 GB, free: 103 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.606e-06/2.694, allocations: 0 / 1.077 GB, free: 103 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.731e-05/2.694, allocations: 18.91 kB / 1.077 GB, free: 103 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.003175/2.697, allocations: 1.179 MB / 1.078 GB, free: 102.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/2.697, allocations: 12.08 kB / 1.078 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/2.698, allocations: 140.6 kB / 1.078 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/2.7, allocations: 0.5456 MB / 1.079 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/2.7, allocations: 100.6 kB / 1.079 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/2.7, allocations: 56.28 kB / 1.079 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/2.702, allocations: 0.8019 MB / 1.08 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/2.702, allocations: 0 / 1.08 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/2.702, allocations: 24.33 kB / 1.08 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.86e-05/2.702, allocations: 49.39 kB / 1.08 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/2.703, allocations: 0.619 MB / 1.08 GB, free: 101.8 MB / 490.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.005239/2.709, allocations: 3.901 MB / 1.084 GB, free: 99.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/2.709, allocations: 334.4 kB / 1.084 GB, free: 99.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.974e-05/2.709, allocations: 27.42 kB / 1.084 GB, free: 99.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/2.71, allocations: 42 kB / 1.084 GB, free: 99.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.493e-06/2.71, allocations: 0 / 1.084 GB, free: 99.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.006583/2.716, allocations: 1.635 MB / 1.086 GB, free: 98.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/2.716, allocations: 132.4 kB / 1.086 GB, free: 98.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008104/2.717, allocations: 0.5284 MB / 1.087 GB, free: 98.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.619e-05/2.717, allocations: 37.2 kB / 1.087 GB, free: 98.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/2.717, allocations: 409.5 kB / 1.087 GB, free: 98.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/2.718, allocations: 143.5 kB / 1.087 GB, free: 98.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/2.718, allocations: 14.34 kB / 1.087 GB, free: 98.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.995e-05/2.718, allocations: 340.2 kB / 1.088 GB, free: 97.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/2.718, allocations: 196.1 kB / 1.088 GB, free: 97.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/2.719, allocations: 0.5304 MB / 1.088 GB, free: 97.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006067/2.719, allocations: 300.5 kB / 1.089 GB, free: 97.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.596e-06/2.719, allocations: 3.844 kB / 1.089 GB, free: 97.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001839/2.721, allocations: 0.8456 MB / 1.089 GB, free: 97.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/2.721, allocations: 10.62 kB / 1.089 GB, free: 97.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/2.721, allocations: 17.14 kB / 1.089 GB, free: 97.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/2.723, allocations: 294 kB / 1.09 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/2.724, allocations: 133.8 kB / 1.09 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/2.725, allocations: 0.8995 MB / 1.091 GB, free: 96.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/2.726, allocations: 58 kB / 1.091 GB, free: 96.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/2.726, allocations: 68.41 kB / 1.091 GB, free: 96.68 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 () * 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.0004881/2.727, allocations: 245.5 kB / 1.091 GB, free: 96.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/2.727, allocations: 62.75 kB / 1.091 GB, free: 96.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/2.729, allocations: 0.6706 MB / 1.092 GB, free: 96.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.206e-06/2.729, allocations: 6.094 kB / 1.092 GB, free: 96.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.373e-06/2.729, allocations: 10.06 kB / 1.092 GB, free: 96.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.79e-06/2.729, allocations: 2.438 kB / 1.092 GB, free: 96.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/2.732, allocations: 1.251 MB / 1.093 GB, free: 95.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/2.732, allocations: 3.969 kB / 1.093 GB, free: 95.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/2.733, allocations: 207.5 kB / 1.093 GB, free: 95.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/2.733, allocations: 27.17 kB / 1.093 GB, free: 95.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/2.733, allocations: 22.25 kB / 1.093 GB, free: 95.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/2.735, allocations: 2.686 MB / 1.096 GB, free: 93.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.455e-06/2.735, allocations: 6.312 kB / 1.096 GB, free: 93.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/2.737, allocations: 0.8496 MB / 1.097 GB, free: 93.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/2.737, allocations: 175.2 kB / 1.097 GB, free: 92.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/2.737, allocations: 12.45 kB / 1.097 GB, free: 92.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/2.738, allocations: 35.05 kB / 1.097 GB, free: 92.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/2.738, allocations: 41.66 kB / 1.097 GB, free: 92.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/2.738, allocations: 44.73 kB / 1.097 GB, free: 92.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006322/2.739, allocations: 408.8 kB / 1.097 GB, free: 92.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.2e-07/2.739, allocations: 0 / 1.097 GB, free: 92.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001817/2.741, allocations: 384.3 kB / 1.098 GB, free: 92.84 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 () * 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.002004/2.743, allocations: 1.035 MB / 1.099 GB, free: 92.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00152/2.744, allocations: 0.5535 MB / 1.099 GB, free: 92.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/2.744, allocations: 0 / 1.099 GB, free: 92.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/2.745, allocations: 391.9 kB / 1.1 GB, free: 92.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/2.747, allocations: 320 kB / 1.1 GB, free: 92.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009334/2.757, allocations: 3.069 MB / 1.103 GB, free: 91.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/2.757, allocations: 0.939 MB / 1.104 GB, free: 91.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006135/2.758, allocations: 110.2 kB / 1.104 GB, free: 91.06 MB / 490.7 MB Notification: Performance of SimCode: time 1.63e-06/2.758, allocations: 3.875 kB / 1.104 GB, free: 91.06 MB / 490.7 MB Notification: Performance of Templates: time 0.03113/2.789, allocations: 20.56 MB / 1.124 GB, free: 88.97 MB / 490.7 MB