Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.R134a.R134a1.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 1.734/1.734, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003657, allocations: 12 kB / 233.2 MB, free: 3.02 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07288/0.07328, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.68/12.75, allocations: 5.484 GB / 5.75 GB, free: 25.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/12.75, allocations: 78.27 kB / 5.75 GB, free: 25.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.111/16.86, allocations: 0.811 GB / 6.561 GB, free: 51.28 MB / 458.9 MB Notification: Performance of FrontEnd: time 2.255e-06/16.86, allocations: 0 / 6.561 GB, free: 51.28 MB / 458.9 MB Notification: Performance of Transformations before backend: time 2.329e-05/16.86, allocations: 9.312 kB / 6.561 GB, free: 51.28 MB / 458.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.01945/16.88, allocations: 1.267 MB / 6.562 GB, free: 50.63 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/16.88, allocations: 9.406 kB / 6.562 GB, free: 50.63 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006629/16.88, allocations: 69.05 kB / 6.562 GB, free: 50.61 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/16.88, allocations: 332 kB / 6.562 GB, free: 50.4 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/16.88, allocations: 24.94 kB / 6.563 GB, free: 50.4 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/16.88, allocations: 32.19 kB / 6.563 GB, free: 50.4 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/16.88, allocations: 462.1 kB / 6.563 GB, free: 50.28 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/16.88, allocations: 0 / 6.563 GB, free: 50.28 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/16.88, allocations: 15.69 kB / 6.563 GB, free: 50.28 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/16.88, allocations: 7.875 kB / 6.563 GB, free: 50.28 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009025/16.88, allocations: 381.4 kB / 6.563 GB, free: 50.28 MB / 458.9 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.0071/16.89, allocations: 5.233 MB / 6.568 GB, free: 48.33 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/16.89, allocations: 294.4 kB / 6.569 GB, free: 48.3 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002554/16.89, allocations: 2.063 MB / 6.571 GB, free: 46.52 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/16.89, allocations: 36.06 kB / 6.571 GB, free: 46.48 MB / 458.9 MB Notification: Performance of pre-optimization done (n=30): time 3.406e-06/16.89, allocations: 0 / 6.571 GB, free: 46.48 MB / 458.9 MB Notification: Performance of matching and sorting (n=34): time 0.006037/16.9, allocations: 1.294 MB / 6.572 GB, free: 46.04 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/16.9, allocations: 59.41 kB / 6.572 GB, free: 45.98 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/16.9, allocations: 226.9 kB / 6.572 GB, free: 45.89 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/16.9, allocations: 31.86 kB / 6.572 GB, free: 45.86 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/16.9, allocations: 255 kB / 6.573 GB, free: 45.67 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/16.9, allocations: 115.4 kB / 6.573 GB, free: 45.61 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/16.9, allocations: 6.719 kB / 6.573 GB, free: 45.61 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 6.284e-05/16.9, allocations: 329.7 kB / 6.573 GB, free: 45.3 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/16.9, allocations: 112 kB / 6.573 GB, free: 45.3 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/16.9, allocations: 225.9 kB / 6.573 GB, free: 45.17 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/16.9, allocations: 143.4 kB / 6.574 GB, free: 45.17 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.458e-06/16.9, allocations: 2.906 kB / 6.574 GB, free: 45.17 MB / 458.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001127/16.9, allocations: 446.2 kB / 6.574 GB, free: 45.11 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/16.9, allocations: 9.719 kB / 6.574 GB, free: 45.11 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/16.9, allocations: 3.969 kB / 6.574 GB, free: 45.11 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007642/16.91, allocations: 287.8 kB / 6.574 GB, free: 45.09 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/16.91, allocations: 93.7 kB / 6.574 GB, free: 45.09 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/16.91, allocations: 1.849 MB / 6.576 GB, free: 43.32 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/16.91, allocations: 29.36 kB / 6.576 GB, free: 43.32 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/16.91, allocations: 19.06 kB / 6.576 GB, free: 43.32 MB / 458.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * 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: 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 prepare postOptimizeDAE: time 0.000248/16.91, allocations: 171.8 kB / 6.576 GB, free: 43.21 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/16.91, allocations: 35.78 kB / 6.576 GB, free: 43.19 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/16.91, allocations: 0.6949 MB / 6.577 GB, free: 43.11 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/16.91, allocations: 8.953 kB / 6.577 GB, free: 43.11 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-06/16.91, allocations: 2.625 kB / 6.577 GB, free: 43.11 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009054/16.92, allocations: 0.8554 MB / 6.578 GB, free: 42.65 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/16.92, allocations: 1.196 MB / 6.579 GB, free: 42.32 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/16.92, allocations: 0 / 6.579 GB, free: 42.32 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/16.92, allocations: 68.34 kB / 6.579 GB, free: 42.32 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002366/16.92, allocations: 198.9 kB / 6.579 GB, free: 42.31 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/16.92, allocations: 6.719 kB / 6.579 GB, free: 42.31 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003563/16.92, allocations: 0.5761 MB / 6.58 GB, free: 41.79 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.629e-06/16.92, allocations: 0 / 6.58 GB, free: 41.79 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/16.92, allocations: 0.7348 MB / 6.581 GB, free: 41.62 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/16.92, allocations: 128.2 kB / 6.581 GB, free: 41.5 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/16.92, allocations: 9.266 kB / 6.581 GB, free: 41.5 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/16.92, allocations: 23.75 kB / 6.581 GB, free: 41.5 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/16.92, allocations: 20.31 kB / 6.581 GB, free: 41.5 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/16.92, allocations: 15.73 kB / 6.581 GB, free: 41.5 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0002903/16.92, allocations: 224.5 kB / 6.581 GB, free: 41.41 MB / 458.9 MB Notification: Performance of sort global known variables: time 7.19e-07/16.92, allocations: 0 / 6.581 GB, free: 41.41 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01176/16.93, allocations: 0.8515 MB / 6.582 GB, free: 41.27 MB / 458.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1672/17.1, allocations: 19.07 MB / 6.6 GB, free: 31.77 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.001064/17.1, allocations: 482.4 kB / 6.601 GB, free: 31.65 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 5.375e-06/17.1, allocations: 3.594 kB / 6.601 GB, free: 31.65 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0004409/17.1, allocations: 216.5 kB / 6.601 GB, free: 31.64 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/17.1, allocations: 176.6 kB / 6.601 GB, free: 31.64 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/17.11, allocations: 1.114 MB / 6.602 GB, free: 31.14 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/17.11, allocations: 0.8159 MB / 6.603 GB, free: 30.44 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/17.11, allocations: 40.12 kB / 6.603 GB, free: 30.44 MB / 458.9 MB Notification: Performance of SimCode: time 1.634e-06/17.11, allocations: 0 / 6.603 GB, free: 30.44 MB / 458.9 MB Notification: Performance of Templates: time 0.05716/17.16, allocations: 35.63 MB / 6.638 GB, free: 26.23 MB / 458.9 MB