Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 194.9 MB / 212.3 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 11.98 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 44.49 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.33/17.43, allocations: 5.72 GB / 6.022 GB, free: 91.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/17.43, allocations: 77.14 kB / 6.022 GB, free: 91.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.68/33.11, allocations: 3.494 GB / 9.516 GB, free: 52.6 MB / 0.589 GB Notification: Performance of FrontEnd: time 3.036e-06/33.11, allocations: 0 / 9.516 GB, free: 52.6 MB / 0.589 GB Notification: Performance of Transformations before backend: time 3.028e-05/33.11, allocations: 12.38 kB / 9.516 GB, free: 52.59 MB / 0.589 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.04609/33.16, allocations: 1.702 MB / 9.517 GB, free: 51.19 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/33.16, allocations: 8.031 kB / 9.517 GB, free: 51.18 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007602/33.16, allocations: 76.02 kB / 9.518 GB, free: 51.12 MB / 0.589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/33.16, allocations: 307.3 kB / 9.518 GB, free: 50.87 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/33.16, allocations: 25.03 kB / 9.518 GB, free: 50.86 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/33.16, allocations: 31.25 kB / 9.518 GB, free: 50.84 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/33.16, allocations: 470.1 kB / 9.518 GB, free: 50.54 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/33.16, allocations: 3.906 kB / 9.518 GB, free: 50.53 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/33.16, allocations: 14.06 kB / 9.518 GB, free: 50.53 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/33.16, allocations: 8 kB / 9.518 GB, free: 50.52 MB / 0.589 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009657/33.16, allocations: 387.9 kB / 9.519 GB, free: 50.31 MB / 0.589 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.008665/33.17, allocations: 5.227 MB / 9.524 GB, free: 45.61 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009224/33.17, allocations: 292.2 kB / 9.524 GB, free: 45.31 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003341/33.17, allocations: 2.063 MB / 9.526 GB, free: 42.9 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/33.17, allocations: 38.56 kB / 9.526 GB, free: 42.85 MB / 0.589 GB Notification: Performance of pre-optimization done (n=30): time 4.258e-06/33.17, allocations: 0 / 9.526 GB, free: 42.85 MB / 0.589 GB Notification: Performance of matching and sorting (n=34): time 0.007663/33.18, allocations: 1.287 MB / 9.527 GB, free: 41.5 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/33.18, allocations: 55.41 kB / 9.527 GB, free: 41.44 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/33.18, allocations: 262.5 kB / 9.528 GB, free: 41.17 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/33.18, allocations: 41.64 kB / 9.528 GB, free: 41.12 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/33.18, allocations: 248.5 kB / 9.528 GB, free: 40.89 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/33.18, allocations: 114.3 kB / 9.528 GB, free: 40.79 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/33.18, allocations: 8 kB / 9.528 GB, free: 40.79 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/33.18, allocations: 326.8 kB / 9.528 GB, free: 40.46 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/33.18, allocations: 112.8 kB / 9.529 GB, free: 40.35 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/33.18, allocations: 226.1 kB / 9.529 GB, free: 40.08 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/33.18, allocations: 147.9 kB / 9.529 GB, free: 39.93 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/33.18, allocations: 0 / 9.529 GB, free: 39.93 MB / 0.589 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001296/33.18, allocations: 454.6 kB / 9.529 GB, free: 39.48 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/33.18, allocations: 8.938 kB / 9.529 GB, free: 39.47 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/33.18, allocations: 0 / 9.529 GB, free: 39.47 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01207/33.2, allocations: 301.8 kB / 9.53 GB, free: 39.17 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/33.2, allocations: 87.83 kB / 9.53 GB, free: 39.08 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/33.2, allocations: 1.844 MB / 9.531 GB, free: 37.08 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/33.2, allocations: 35.5 kB / 9.532 GB, free: 37.05 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/33.2, allocations: 19.95 kB / 9.532 GB, free: 37.03 MB / 0.589 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.0002887/33.2, allocations: 165.6 kB / 9.532 GB, free: 36.86 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/33.2, allocations: 31.62 kB / 9.532 GB, free: 36.83 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/33.2, allocations: 0.6987 MB / 9.532 GB, free: 36.14 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/33.2, allocations: 4 kB / 9.532 GB, free: 36.14 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/33.2, allocations: 4 kB / 9.532 GB, free: 36.14 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/33.2, allocations: 0.8671 MB / 9.533 GB, free: 35.18 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/33.2, allocations: 1.201 MB / 9.534 GB, free: 33.93 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/33.2, allocations: 0 / 9.534 GB, free: 33.93 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/33.2, allocations: 67.91 kB / 9.535 GB, free: 33.86 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/33.21, allocations: 192.5 kB / 9.535 GB, free: 33.67 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.333e-05/33.21, allocations: 11.98 kB / 9.535 GB, free: 33.66 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003979/33.21, allocations: 0.5757 MB / 9.535 GB, free: 33.06 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/33.21, allocations: 4.031 kB / 9.535 GB, free: 33.05 MB / 0.589 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/33.21, allocations: 0.729 MB / 9.536 GB, free: 32.31 MB / 0.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/33.21, allocations: 128.6 kB / 9.536 GB, free: 32.17 MB / 0.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/33.21, allocations: 11.95 kB / 9.536 GB, free: 32.16 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/33.21, allocations: 20.05 kB / 9.536 GB, free: 32.14 MB / 0.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/33.21, allocations: 19.97 kB / 9.536 GB, free: 32.12 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/33.21, allocations: 19.98 kB / 9.536 GB, free: 32.1 MB / 0.589 GB Notification: Performance of sorting global known variables: time 0.0003152/33.21, allocations: 214 kB / 9.536 GB, free: 31.89 MB / 0.589 GB Notification: Performance of sort global known variables: time 4.11e-07/33.21, allocations: 0 / 9.536 GB, free: 31.89 MB / 0.589 GB Notification: Performance of remove unused functions: time 0.01646/33.23, allocations: 0.8622 MB / 9.537 GB, free: 31.08 MB / 0.589 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.1857/33.41, allocations: 19.06 MB / 9.556 GB, free: 12.1 MB / 0.589 GB Notification: Performance of simCode: created initialization part: time 0.001249/33.42, allocations: 478.2 kB / 9.556 GB, free: 11.62 MB / 0.589 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/33.42, allocations: 4 kB / 9.556 GB, free: 11.62 MB / 0.589 GB Notification: Performance of simCode: created simulation system equations: time 0.0005025/33.42, allocations: 221.2 kB / 9.557 GB, free: 11.4 MB / 0.589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/33.42, allocations: 180.6 kB / 9.557 GB, free: 11.22 MB / 0.589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/33.42, allocations: 1.115 MB / 9.558 GB, free: 10.07 MB / 0.589 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/33.42, allocations: 0.8207 MB / 9.559 GB, free: 9.227 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/33.42, allocations: 35.44 kB / 9.559 GB, free: 9.195 MB / 0.589 GB Notification: Performance of SimCode: time 1.042e-06/33.42, allocations: 3.938 kB / 9.559 GB, free: 9.191 MB / 0.589 GB Notification: Performance of Templates: time 0.519/33.94, allocations: 35.65 MB / 9.593 GB, free: 98.34 MB / 0.589 GB