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/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) 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.605/1.605, allocations: 171.3 MB / 179.2 MB, free: 7.508 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.362e-05/2.386e-05, allocations: 7.938 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07125/0.0713, allocations: 38.76 MB / 261.3 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.72/12.79, allocations: 5.483 GB / 5.739 GB, free: 18.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/12.8, allocations: 67.97 kB / 5.739 GB, free: 18.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.08/16.88, allocations: 0.7889 GB / 6.527 GB, free: 54.86 MB / 458.9 MB Notification: Performance of FrontEnd: time 2.993e-06/16.88, allocations: 0 / 6.527 GB, free: 54.86 MB / 458.9 MB Notification: Performance of Transformations before backend: time 2.491e-05/16.88, allocations: 14.78 kB / 6.527 GB, free: 54.86 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.01834/16.89, allocations: 1.242 MB / 6.529 GB, free: 54.3 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/16.89, allocations: 7.719 kB / 6.529 GB, free: 54.3 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006595/16.89, allocations: 66.47 kB / 6.529 GB, free: 54.29 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/16.89, allocations: 321.1 kB / 6.529 GB, free: 54.09 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/16.89, allocations: 14.52 kB / 6.529 GB, free: 54.08 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/16.89, allocations: 21.2 kB / 6.529 GB, free: 54.08 MB / 458.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006338/16.9, allocations: 325.2 kB / 6.529 GB, free: 54.08 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/16.9, allocations: 380 kB / 6.53 GB, free: 53.96 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/16.9, allocations: 2.953 kB / 6.53 GB, free: 53.96 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/16.9, allocations: 2.844 kB / 6.53 GB, free: 53.96 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/16.9, allocations: 7.312 kB / 6.53 GB, free: 53.96 MB / 458.9 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.007513/16.9, allocations: 5.57 MB / 6.535 GB, free: 51.65 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/16.9, allocations: 216.2 kB / 6.535 GB, free: 51.63 MB / 458.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/16.9, allocations: 113.8 kB / 6.536 GB, free: 51.62 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002133/16.91, allocations: 1.647 MB / 6.537 GB, free: 50.21 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/16.91, allocations: 40.78 kB / 6.537 GB, free: 50.18 MB / 458.9 MB Notification: Performance of pre-optimization done (n=28): time 3.552e-06/16.91, allocations: 1.781 kB / 6.537 GB, free: 50.18 MB / 458.9 MB Notification: Performance of matching and sorting (n=32): time 0.01106/16.92, allocations: 1.435 MB / 6.539 GB, free: 49.84 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/16.92, allocations: 54.69 kB / 6.539 GB, free: 49.78 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/16.92, allocations: 203.7 kB / 6.539 GB, free: 49.68 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/16.92, allocations: 25.7 kB / 6.539 GB, free: 49.65 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/16.92, allocations: 254.7 kB / 6.539 GB, free: 49.46 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 8.892e-05/16.92, allocations: 112.7 kB / 6.539 GB, free: 49.4 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/16.92, allocations: 2.531 kB / 6.539 GB, free: 49.4 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/16.92, allocations: 327.4 kB / 6.54 GB, free: 49.09 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/16.92, allocations: 103.4 kB / 6.54 GB, free: 49.09 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/16.92, allocations: 212.4 kB / 6.54 GB, free: 48.96 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003164/16.92, allocations: 325 kB / 6.54 GB, free: 48.96 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.577e-06/16.92, allocations: 1.938 kB / 6.54 GB, free: 48.96 MB / 458.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00393/16.93, allocations: 0.5808 MB / 6.541 GB, free: 48.9 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/16.93, allocations: 6.375 kB / 6.541 GB, free: 48.9 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/16.93, allocations: 6.062 kB / 6.541 GB, free: 48.9 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/16.93, allocations: 59.77 kB / 6.541 GB, free: 48.88 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/16.93, allocations: 90.3 kB / 6.541 GB, free: 48.88 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/16.93, allocations: 1.892 MB / 6.543 GB, free: 47.17 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/16.93, allocations: 27.75 kB / 6.543 GB, free: 47.16 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/16.93, allocations: 17.84 kB / 6.543 GB, free: 47.16 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 () * 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.0001317/16.93, allocations: 122.2 kB / 6.543 GB, free: 47.06 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.314e-05/16.93, allocations: 25.56 kB / 6.543 GB, free: 47.05 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/16.93, allocations: 0.6757 MB / 6.544 GB, free: 46.97 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/16.93, allocations: 13.11 kB / 6.544 GB, free: 46.96 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.945e-06/16.93, allocations: 4.656 kB / 6.544 GB, free: 46.96 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001638/16.93, allocations: 0.8616 MB / 6.544 GB, free: 46.51 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/16.94, allocations: 1.111 MB / 6.546 GB, free: 46.2 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.991e-06/16.94, allocations: 0 / 6.546 GB, free: 46.2 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/16.94, allocations: 64.55 kB / 6.546 GB, free: 46.2 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003073/16.94, allocations: 64.92 kB / 6.546 GB, free: 46.19 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/16.94, allocations: 2.219 kB / 6.546 GB, free: 46.19 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004641/16.94, allocations: 0.6026 MB / 6.546 GB, free: 45.67 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.081e-06/16.94, allocations: 0 / 6.546 GB, free: 45.67 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/16.94, allocations: 0.7657 MB / 6.547 GB, free: 45.45 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/16.94, allocations: 115.2 kB / 6.547 GB, free: 45.34 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/16.94, allocations: 2.438 kB / 6.547 GB, free: 45.34 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/16.94, allocations: 14.11 kB / 6.547 GB, free: 45.34 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/16.94, allocations: 23.72 kB / 6.547 GB, free: 45.33 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/16.94, allocations: 15.81 kB / 6.547 GB, free: 45.33 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0001823/16.94, allocations: 162.5 kB / 6.547 GB, free: 45.25 MB / 458.9 MB Notification: Performance of sort global known variables: time 8.06e-07/16.94, allocations: 0 / 6.547 GB, free: 45.25 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01175/16.95, allocations: 0.8216 MB / 6.548 GB, free: 45.11 MB / 458.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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.1692/17.12, allocations: 19.13 MB / 6.567 GB, free: 35.66 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.001144/17.12, allocations: 454.8 kB / 6.567 GB, free: 35.55 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/17.12, allocations: 0 / 6.567 GB, free: 35.55 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0005363/17.12, allocations: 220.1 kB / 6.567 GB, free: 35.55 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/17.12, allocations: 141.8 kB / 6.568 GB, free: 35.54 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/17.13, allocations: 0.6469 MB / 6.568 GB, free: 35.3 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/17.13, allocations: 0.8101 MB / 6.569 GB, free: 34.6 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/17.13, allocations: 36.97 kB / 6.569 GB, free: 34.59 MB / 458.9 MB Notification: Performance of SimCode: time 1.784e-06/17.13, allocations: 0 / 6.569 GB, free: 34.59 MB / 458.9 MB Notification: Performance of Templates: time 0.05695/17.18, allocations: 35.31 MB / 6.603 GB, free: 30.56 MB / 458.9 MB