Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.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) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadModel(Modelica): time 1.803/1.803, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 8 kB / 233.8 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.09923, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.79/16.89, allocations: 5.484 GB / 5.75 GB, free: 92.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/16.89, allocations: 74.95 kB / 5.75 GB, free: 92.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.164/23.06, allocations: 0.987 GB / 6.737 GB, free: 29.1 MB / 475.2 MB Notification: Performance of FrontEnd: time 4.048e-06/23.06, allocations: 3.938 kB / 6.737 GB, free: 29.09 MB / 475.2 MB Notification: Performance of Transformations before backend: time 6.636e-05/23.06, allocations: 12 kB / 6.737 GB, free: 29.08 MB / 475.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.03923/23.1, allocations: 1.595 MB / 6.739 GB, free: 27.78 MB / 475.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/23.1, allocations: 12.03 kB / 6.739 GB, free: 27.77 MB / 475.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000985/23.1, allocations: 91.58 kB / 6.739 GB, free: 27.69 MB / 475.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/23.1, allocations: 390.7 kB / 6.739 GB, free: 27.41 MB / 475.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/23.1, allocations: 35.75 kB / 6.74 GB, free: 27.39 MB / 475.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/23.1, allocations: 47 kB / 6.74 GB, free: 27.36 MB / 475.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/23.1, allocations: 0.6077 MB / 6.74 GB, free: 26.98 MB / 475.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/23.1, allocations: 7.906 kB / 6.74 GB, free: 26.97 MB / 475.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/23.1, allocations: 18.5 kB / 6.74 GB, free: 26.97 MB / 475.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/23.1, allocations: 12 kB / 6.74 GB, free: 26.96 MB / 475.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/23.1, allocations: 0.5257 MB / 6.741 GB, free: 26.67 MB / 475.2 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.01012/23.11, allocations: 6.09 MB / 6.747 GB, free: 21.72 MB / 475.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/23.11, allocations: 420.4 kB / 6.747 GB, free: 21.49 MB / 475.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004539/23.12, allocations: 2.84 MB / 6.75 GB, free: 18.46 MB / 475.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/23.12, allocations: 41.88 kB / 6.75 GB, free: 18.41 MB / 475.2 MB Notification: Performance of pre-optimization done (n=46): time 3.266e-06/23.12, allocations: 0 / 6.75 GB, free: 18.41 MB / 475.2 MB Notification: Performance of matching and sorting (n=54): time 0.01404/23.13, allocations: 2.028 MB / 6.752 GB, free: 17.02 MB / 475.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/23.13, allocations: 63.78 kB / 6.752 GB, free: 16.94 MB / 475.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/23.13, allocations: 302.4 kB / 6.752 GB, free: 16.73 MB / 475.2 MB Notification: Performance of collectPreVariables (initialization): time 9.483e-05/23.13, allocations: 40.7 kB / 6.752 GB, free: 16.69 MB / 475.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/23.13, allocations: 224.1 kB / 6.752 GB, free: 16.54 MB / 475.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/23.13, allocations: 198.7 kB / 6.753 GB, free: 16.42 MB / 475.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/23.13, allocations: 9.812 kB / 6.753 GB, free: 16.42 MB / 475.2 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/23.13, allocations: 357.5 kB / 6.753 GB, free: 16.09 MB / 475.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/23.13, allocations: 174.4 kB / 6.753 GB, free: 16 MB / 475.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/23.13, allocations: 328.3 kB / 6.753 GB, free: 15.73 MB / 475.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/23.13, allocations: 227.7 kB / 6.754 GB, free: 15.61 MB / 475.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/23.13, allocations: 4 kB / 6.754 GB, free: 15.61 MB / 475.2 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001955/23.14, allocations: 0.6667 MB / 6.754 GB, free: 15.17 MB / 475.2 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/23.14, allocations: 7.938 kB / 6.754 GB, free: 15.16 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/23.14, allocations: 4 kB / 6.754 GB, free: 15.16 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02459/23.16, allocations: 0.5548 MB / 6.755 GB, free: 14.85 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/23.16, allocations: 138.9 kB / 6.755 GB, free: 14.74 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/23.17, allocations: 2.999 MB / 6.758 GB, free: 11.69 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007776/23.17, allocations: 48.5 kB / 6.758 GB, free: 11.66 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/23.17, allocations: 30.81 kB / 6.758 GB, free: 11.64 MB / 475.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * 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: 3 * 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: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003731/23.17, allocations: 191.2 kB / 6.758 GB, free: 11.48 MB / 475.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/23.17, allocations: 39.53 kB / 6.758 GB, free: 11.45 MB / 475.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/23.17, allocations: 1.065 MB / 6.759 GB, free: 10.84 MB / 475.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/23.17, allocations: 10.17 kB / 6.759 GB, free: 10.84 MB / 475.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/23.17, allocations: 7.953 kB / 6.759 GB, free: 10.83 MB / 475.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001607/23.17, allocations: 1.083 MB / 6.76 GB, free: 10.04 MB / 475.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/23.17, allocations: 1.724 MB / 6.762 GB, free: 9.074 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/23.17, allocations: 4 kB / 6.762 GB, free: 9.07 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007016/23.17, allocations: 106.7 kB / 6.762 GB, free: 8.984 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007253/23.18, allocations: 388.7 kB / 6.763 GB, free: 8.805 MB / 475.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/23.18, allocations: 17.8 kB / 6.763 GB, free: 8.801 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/23.18, allocations: 1.146 MB / 6.764 GB, free: 7.684 MB / 475.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/23.18, allocations: 3.953 kB / 6.764 GB, free: 7.68 MB / 475.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/23.19, allocations: 1.119 MB / 6.765 GB, free: 6.984 MB / 475.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/23.19, allocations: 146 kB / 6.765 GB, free: 6.844 MB / 475.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/23.19, allocations: 15.19 kB / 6.765 GB, free: 6.836 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000761/23.19, allocations: 30.62 kB / 6.765 GB, free: 6.82 MB / 475.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/23.19, allocations: 36.17 kB / 6.765 GB, free: 6.801 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-05/23.19, allocations: 23.61 kB / 6.765 GB, free: 6.785 MB / 475.2 MB Notification: Performance of sorting global known variables: time 0.0005842/23.19, allocations: 257.6 kB / 6.765 GB, free: 6.613 MB / 475.2 MB Notification: Performance of sort global known variables: time 1.012e-06/23.19, allocations: 0 / 6.765 GB, free: 6.613 MB / 475.2 MB Notification: Performance of remove unused functions: time 0.02824/23.22, allocations: 1.108 MB / 6.766 GB, free: 5.707 MB / 475.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.2634/23.48, allocations: 23.73 MB / 6.79 GB, free: 14.7 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.002495/23.48, allocations: 0.7005 MB / 6.79 GB, free: 14.23 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/23.48, allocations: 0 / 6.79 GB, free: 14.23 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/23.48, allocations: 358.4 kB / 6.791 GB, free: 14.03 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/23.49, allocations: 250.5 kB / 6.791 GB, free: 13.89 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/23.49, allocations: 1.612 MB / 6.792 GB, free: 12.59 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/23.49, allocations: 0.8753 MB / 6.793 GB, free: 11.76 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.0009929/23.49, allocations: 248.7 kB / 6.793 GB, free: 11.59 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/23.49, allocations: 50.95 kB / 6.793 GB, free: 11.55 MB / 0.4953 GB Notification: Performance of SimCode: time 1.243e-06/23.49, allocations: 0 / 6.793 GB, free: 11.55 MB / 0.4953 GB Notification: Performance of Templates: time 0.517/24.01, allocations: 43.04 MB / 6.836 GB, free: 69.87 MB / 0.4953 GB