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.Air.DryAirNasa.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.987/1.987, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.845e-05, allocations: 0 / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2674, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.628/1.896, allocations: 0.6293 GB / 0.9418 GB, free: 105.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.896, allocations: 93 kB / 0.9419 GB, free: 105.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9844/2.881, allocations: 226.8 MB / 1.163 GB, free: 71.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.309e-06/2.881, allocations: 4 kB / 1.163 GB, free: 71.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.626e-05/2.881, allocations: 23.77 kB / 1.163 GB, free: 71.5 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.003244/2.884, allocations: 1.152 MB / 1.165 GB, free: 70.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/2.884, allocations: 8.031 kB / 1.165 GB, free: 70.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/2.885, allocations: 136.2 kB / 1.165 GB, free: 70.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/2.887, allocations: 0.5489 MB / 1.165 GB, free: 69.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.597e-05/2.887, allocations: 84.7 kB / 1.165 GB, free: 69.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/2.887, allocations: 28 kB / 1.165 GB, free: 69.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/2.888, allocations: 0.5219 MB / 1.166 GB, free: 68.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/2.889, allocations: 0.7243 MB / 1.167 GB, free: 68.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/2.889, allocations: 0 / 1.167 GB, free: 68.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/2.89, allocations: 4 kB / 1.167 GB, free: 68.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-05/2.89, allocations: 45.08 kB / 1.167 GB, free: 68.11 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.005116/2.895, allocations: 3.882 MB / 1.17 GB, free: 64.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/2.895, allocations: 239.3 kB / 1.171 GB, free: 63.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/2.896, allocations: 125.3 kB / 1.171 GB, free: 63.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.976e-05/2.896, allocations: 21.02 kB / 1.171 GB, free: 63.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/2.896, allocations: 41.55 kB / 1.171 GB, free: 63.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.539e-06/2.896, allocations: 3.938 kB / 1.171 GB, free: 63.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.00635/2.902, allocations: 1.406 MB / 1.172 GB, free: 62.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/2.902, allocations: 132.5 kB / 1.172 GB, free: 61.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006681/2.903, allocations: 470.1 kB / 1.173 GB, free: 61.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/2.903, allocations: 29.7 kB / 1.173 GB, free: 61.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/2.903, allocations: 445.1 kB / 1.173 GB, free: 61.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/2.903, allocations: 114.4 kB / 1.173 GB, free: 60.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/2.903, allocations: 3.938 kB / 1.173 GB, free: 60.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.719e-05/2.903, allocations: 350.3 kB / 1.174 GB, free: 60.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/2.904, allocations: 181.5 kB / 1.174 GB, free: 60.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/2.904, allocations: 0.5054 MB / 1.174 GB, free: 59.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008562/2.905, allocations: 329.9 kB / 1.175 GB, free: 59.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.853e-06/2.905, allocations: 4 kB / 1.175 GB, free: 59.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001807/2.907, allocations: 0.7931 MB / 1.175 GB, free: 58.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/2.907, allocations: 11.98 kB / 1.175 GB, free: 58.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/2.907, allocations: 12 kB / 1.175 GB, free: 58.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/2.908, allocations: 266.7 kB / 1.176 GB, free: 58.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/2.909, allocations: 131.8 kB / 1.176 GB, free: 58.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/2.91, allocations: 0.9336 MB / 1.177 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009786/2.911, allocations: 43.81 kB / 1.177 GB, free: 57.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/2.911, allocations: 64 kB / 1.177 GB, free: 57.13 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.0003144/2.912, allocations: 140.7 kB / 1.177 GB, free: 56.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/2.912, allocations: 59.34 kB / 1.177 GB, free: 56.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/2.914, allocations: 0.4957 MB / 1.178 GB, free: 56.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/2.914, allocations: 4 kB / 1.178 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/2.914, allocations: 0 / 1.178 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/2.914, allocations: 7.922 kB / 1.178 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/2.916, allocations: 0.9601 MB / 1.178 GB, free: 55.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.648e-06/2.916, allocations: 0 / 1.178 GB, free: 55.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/2.917, allocations: 191.8 kB / 1.179 GB, free: 55.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/2.917, allocations: 28.78 kB / 1.179 GB, free: 55.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/2.917, allocations: 15.97 kB / 1.179 GB, free: 55.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/2.919, allocations: 2.581 MB / 1.181 GB, free: 52.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.283e-06/2.919, allocations: 0 / 1.181 GB, free: 52.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/2.92, allocations: 0.6744 MB / 1.182 GB, free: 51.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/2.921, allocations: 168.3 kB / 1.182 GB, free: 51.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/2.921, allocations: 0 / 1.182 GB, free: 51.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/2.921, allocations: 23.91 kB / 1.182 GB, free: 51.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/2.922, allocations: 39.92 kB / 1.182 GB, free: 51.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.26e-05/2.922, allocations: 35.98 kB / 1.182 GB, free: 51.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005065/2.922, allocations: 350.8 kB / 1.182 GB, free: 51.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.77e-07/2.922, allocations: 0 / 1.182 GB, free: 51.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0016/2.924, allocations: 339.5 kB / 1.183 GB, free: 50.71 MB / 426.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.002114/2.926, allocations: 1.192 MB / 1.184 GB, free: 49.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/2.928, allocations: 494.3 kB / 1.184 GB, free: 49.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/2.928, allocations: 2 kB / 1.184 GB, free: 49.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009289/2.929, allocations: 341.7 kB / 1.185 GB, free: 48.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/2.93, allocations: 237.5 kB / 1.185 GB, free: 48.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007806/2.938, allocations: 2.33 MB / 1.187 GB, free: 46.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/2.938, allocations: 0.9412 MB / 1.188 GB, free: 45.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/2.939, allocations: 103.4 kB / 1.188 GB, free: 45.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.824e-06/2.939, allocations: 0 / 1.188 GB, free: 45.2 MB / 426.7 MB Notification: Performance of Templates: time 0.02856/2.968, allocations: 19.92 MB / 1.208 GB, free: 25.28 MB / 426.7 MB