Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003938, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 44.51 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.93/18.03, allocations: 5.72 GB / 6.022 GB, free: 80.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/18.03, allocations: 84.62 kB / 6.022 GB, free: 80.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.69/33.72, allocations: 3.494 GB / 9.516 GB, free: 1.699 MB / 0.5888 GB Notification: Performance of FrontEnd: time 2.234e-06/33.72, allocations: 0 / 9.516 GB, free: 1.699 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 3.481e-05/33.72, allocations: 8 kB / 9.516 GB, free: 1.691 MB / 0.5888 GB 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.04957/33.77, allocations: 1.701 MB / 9.518 GB, free: 120 kB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/33.77, allocations: 12.03 kB / 9.518 GB, free: 108 kB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4677/34.24, allocations: 64.77 kB / 9.518 GB, free: 126.3 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/34.24, allocations: 318.4 kB / 9.518 GB, free: 126.1 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/34.24, allocations: 23.19 kB / 9.518 GB, free: 126.1 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/34.24, allocations: 32.45 kB / 9.518 GB, free: 126.1 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/34.24, allocations: 459.8 kB / 9.518 GB, free: 126 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/34.24, allocations: 3.969 kB / 9.518 GB, free: 126 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/34.24, allocations: 18.88 kB / 9.518 GB, free: 126 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/34.24, allocations: 6.875 kB / 9.518 GB, free: 126 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/34.24, allocations: 383.2 kB / 9.519 GB, free: 126 MB / 0.5888 GB 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.01142/34.26, allocations: 5.234 MB / 9.524 GB, free: 124.1 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/34.26, allocations: 288.2 kB / 9.524 GB, free: 124 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003589/34.26, allocations: 2.063 MB / 9.526 GB, free: 122.2 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/34.26, allocations: 38.83 kB / 9.526 GB, free: 122.2 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=30): time 3.376e-06/34.26, allocations: 0 / 9.526 GB, free: 122.2 MB / 0.5888 GB Notification: Performance of matching and sorting (n=34): time 0.007748/34.27, allocations: 1.287 MB / 9.527 GB, free: 121.8 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/34.27, allocations: 56.53 kB / 9.528 GB, free: 121.7 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/34.27, allocations: 258 kB / 9.528 GB, free: 121.6 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/34.27, allocations: 40.17 kB / 9.528 GB, free: 121.6 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/34.27, allocations: 189.6 kB / 9.528 GB, free: 121.5 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/34.27, allocations: 118.3 kB / 9.528 GB, free: 121.4 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/34.27, allocations: 6.438 kB / 9.528 GB, free: 121.4 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/34.27, allocations: 337.3 kB / 9.528 GB, free: 121.1 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/34.27, allocations: 111.6 kB / 9.529 GB, free: 121.1 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/34.27, allocations: 227.4 kB / 9.529 GB, free: 121 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/34.27, allocations: 148 kB / 9.529 GB, free: 121 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/34.27, allocations: 3.844 kB / 9.529 GB, free: 121 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001326/34.27, allocations: 460.6 kB / 9.529 GB, free: 120.9 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/34.27, allocations: 7.156 kB / 9.529 GB, free: 120.9 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/34.27, allocations: 6.234 kB / 9.529 GB, free: 120.9 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01235/34.28, allocations: 297.2 kB / 9.53 GB, free: 120.9 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/34.28, allocations: 88.12 kB / 9.53 GB, free: 120.9 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/34.29, allocations: 1.849 MB / 9.532 GB, free: 119.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/34.29, allocations: 31.67 kB / 9.532 GB, free: 119.1 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/34.29, allocations: 22.41 kB / 9.532 GB, free: 119.1 MB / 0.5888 GB 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.0002954/34.29, allocations: 164.6 kB / 9.532 GB, free: 119 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/34.29, allocations: 30.41 kB / 9.532 GB, free: 119 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/34.29, allocations: 0.6996 MB / 9.532 GB, free: 118.9 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/34.29, allocations: 14.55 kB / 9.532 GB, free: 118.9 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/34.29, allocations: 0 / 9.532 GB, free: 118.9 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/34.29, allocations: 0.8625 MB / 9.533 GB, free: 118.4 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/34.29, allocations: 1.197 MB / 9.534 GB, free: 118.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/34.29, allocations: 0 / 9.534 GB, free: 118.1 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/34.29, allocations: 63.17 kB / 9.535 GB, free: 118.1 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003278/34.3, allocations: 201.5 kB / 9.535 GB, free: 118.1 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/34.3, allocations: 14.12 kB / 9.535 GB, free: 118.1 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004169/34.3, allocations: 0.5732 MB / 9.535 GB, free: 117.6 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/34.3, allocations: 0 / 9.535 GB, free: 117.6 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/34.3, allocations: 0.7355 MB / 9.536 GB, free: 117.4 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/34.3, allocations: 123.3 kB / 9.536 GB, free: 117.3 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/34.3, allocations: 16.2 kB / 9.536 GB, free: 117.3 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/34.3, allocations: 21.02 kB / 9.536 GB, free: 117.3 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/34.3, allocations: 22.5 kB / 9.536 GB, free: 117.3 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/34.3, allocations: 16.73 kB / 9.536 GB, free: 117.3 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0003133/34.3, allocations: 220 kB / 9.536 GB, free: 117.2 MB / 0.5888 GB Notification: Performance of sort global known variables: time 5.21e-07/34.3, allocations: 0 / 9.536 GB, free: 117.2 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01753/34.32, allocations: 0.8502 MB / 9.537 GB, free: 117.2 MB / 0.5888 GB 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.192/34.51, allocations: 19.07 MB / 9.556 GB, free: 107.8 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.001283/34.51, allocations: 469.3 kB / 9.556 GB, free: 107.6 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/34.51, allocations: 3.719 kB / 9.556 GB, free: 107.6 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/34.51, allocations: 221.8 kB / 9.557 GB, free: 107.6 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/34.51, allocations: 179 kB / 9.557 GB, free: 107.6 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/34.51, allocations: 1.096 MB / 9.558 GB, free: 107.2 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/34.52, allocations: 0.8149 MB / 9.559 GB, free: 106.5 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.000716/34.52, allocations: 192 kB / 9.559 GB, free: 106.4 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/34.52, allocations: 40.28 kB / 9.559 GB, free: 106.4 MB / 0.5888 GB Notification: Performance of SimCode: time 1.252e-06/34.52, allocations: 2.812 kB / 9.559 GB, free: 106.4 MB / 0.5888 GB Notification: Performance of Templates: time 0.08012/34.6, allocations: 34.04 MB / 9.592 GB, free: 103.8 MB / 0.5888 GB