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.Air.DryAirNasa.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.Air.DryAirNasa,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.Air.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.2 MB / 225.4 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004724, allocations: 11.98 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3817, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.706/2.088, allocations: 0.63 GB / 0.954 GB, free: 19.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/2.088, allocations: 101.6 kB / 0.9541 GB, free: 19.35 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393/3.481, allocations: 230.1 MB / 1.179 GB, free: 80.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/3.481, allocations: 0 / 1.179 GB, free: 80.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.923e-05/3.481, allocations: 21.8 kB / 1.179 GB, free: 80.14 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.004336/3.486, allocations: 1.228 MB / 1.18 GB, free: 79.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/3.486, allocations: 12.5 kB / 1.18 GB, free: 79.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/3.487, allocations: 133.1 kB / 1.18 GB, free: 79.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/3.489, allocations: 0.5495 MB / 1.181 GB, free: 79.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/3.489, allocations: 101.9 kB / 1.181 GB, free: 79.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/3.489, allocations: 52.77 kB / 1.181 GB, free: 79.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/3.491, allocations: 0.8135 MB / 1.182 GB, free: 79.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/3.491, allocations: 3.344 kB / 1.182 GB, free: 79.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/3.492, allocations: 21.97 kB / 1.182 GB, free: 79.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.474e-05/3.492, allocations: 43.02 kB / 1.182 GB, free: 79.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/3.493, allocations: 0.6198 MB / 1.182 GB, free: 79.1 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.006436/3.5, allocations: 3.903 MB / 1.186 GB, free: 76.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/3.501, allocations: 331.2 kB / 1.186 GB, free: 76.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/3.501, allocations: 27.42 kB / 1.186 GB, free: 76.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/3.501, allocations: 41.56 kB / 1.187 GB, free: 76.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.085e-06/3.501, allocations: 0 / 1.187 GB, free: 76.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.009235/3.51, allocations: 1.626 MB / 1.188 GB, free: 75.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/3.51, allocations: 141.1 kB / 1.188 GB, free: 75.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009648/3.511, allocations: 0.5883 MB / 1.189 GB, free: 75.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/3.511, allocations: 36.61 kB / 1.189 GB, free: 75.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/3.512, allocations: 411.7 kB / 1.189 GB, free: 75.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/3.512, allocations: 140.9 kB / 1.189 GB, free: 75.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/3.512, allocations: 20.88 kB / 1.189 GB, free: 75.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/3.512, allocations: 342.8 kB / 1.19 GB, free: 75.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/3.513, allocations: 195.7 kB / 1.19 GB, free: 75.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/3.513, allocations: 0.5359 MB / 1.19 GB, free: 74.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/3.514, allocations: 306.2 kB / 1.191 GB, free: 74.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/3.514, allocations: 6.188 kB / 1.191 GB, free: 74.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002101/3.516, allocations: 0.8393 MB / 1.192 GB, free: 74.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/3.516, allocations: 13.97 kB / 1.192 GB, free: 74.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/3.516, allocations: 7.812 kB / 1.192 GB, free: 74.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002293/3.519, allocations: 306.2 kB / 1.192 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/3.52, allocations: 125 kB / 1.192 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/3.521, allocations: 0.9078 MB / 1.193 GB, free: 74.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/3.522, allocations: 45.5 kB / 1.193 GB, free: 74.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/3.522, allocations: 69.17 kB / 1.193 GB, free: 74.01 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.0005523/3.523, allocations: 250.2 kB / 1.193 GB, free: 73.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/3.523, allocations: 74.48 kB / 1.193 GB, free: 73.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/3.525, allocations: 0.6575 MB / 1.194 GB, free: 73.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/3.526, allocations: 7.875 kB / 1.194 GB, free: 73.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/3.526, allocations: 2.906 kB / 1.194 GB, free: 73.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/3.526, allocations: 3.891 kB / 1.194 GB, free: 73.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/3.528, allocations: 1.258 MB / 1.195 GB, free: 73.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/3.528, allocations: 3.406 kB / 1.195 GB, free: 73.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/3.53, allocations: 208 kB / 1.195 GB, free: 73.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/3.531, allocations: 21.69 kB / 1.195 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/3.531, allocations: 26.75 kB / 1.195 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/3.533, allocations: 2.684 MB / 1.198 GB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/3.533, allocations: 5.562 kB / 1.198 GB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/3.535, allocations: 0.8087 MB / 1.199 GB, free: 70.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/3.535, allocations: 184.5 kB / 1.199 GB, free: 70.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/3.536, allocations: 7.25 kB / 1.199 GB, free: 70.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/3.536, allocations: 32.95 kB / 1.199 GB, free: 70.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/3.536, allocations: 43.19 kB / 1.199 GB, free: 70.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.701e-05/3.537, allocations: 43.34 kB / 1.199 GB, free: 70.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007475/3.537, allocations: 411 kB / 1.2 GB, free: 70.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.61e-07/3.537, allocations: 0 / 1.2 GB, free: 70.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002109/3.539, allocations: 381.7 kB / 1.2 GB, free: 70.27 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.002512/3.542, allocations: 1.034 MB / 1.201 GB, free: 70.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001884/3.544, allocations: 0.54 MB / 1.201 GB, free: 70.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/3.544, allocations: 3.938 kB / 1.201 GB, free: 70.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/3.546, allocations: 406 kB / 1.202 GB, free: 69.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/3.548, allocations: 317.3 kB / 1.202 GB, free: 69.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/3.559, allocations: 3.068 MB / 1.205 GB, free: 69.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/3.56, allocations: 0.9441 MB / 1.206 GB, free: 68.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007064/3.561, allocations: 109.1 kB / 1.206 GB, free: 68.53 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/3.561, allocations: 0 / 1.206 GB, free: 68.53 MB / 442.7 MB Notification: Performance of Templates: time 0.04119/3.602, allocations: 20.66 MB / 1.226 GB, free: 67.61 MB / 442.7 MB