Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.71/1.71, allocations: 171.2 MB / 187.3 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003659, allocations: 8 kB / 233.8 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08287/0.08327, allocations: 38.77 MB / 272.5 MB, free: 12.22 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.17/16.25, allocations: 5.484 GB / 5.75 GB, free: 93.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/16.25, allocations: 79.16 kB / 5.75 GB, free: 93.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.686/20.94, allocations: 0.8108 GB / 6.561 GB, free: 21.54 MB / 442.9 MB Notification: Performance of FrontEnd: time 2.334e-06/20.94, allocations: 0 / 6.561 GB, free: 21.54 MB / 442.9 MB Notification: Performance of Transformations before backend: time 2.859e-05/20.94, allocations: 7.984 kB / 6.561 GB, free: 21.54 MB / 442.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.02905/20.97, allocations: 1.272 MB / 6.562 GB, free: 20.35 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/20.97, allocations: 12.02 kB / 6.562 GB, free: 20.34 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007069/20.97, allocations: 68.8 kB / 6.562 GB, free: 20.27 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/20.97, allocations: 329.2 kB / 6.563 GB, free: 19.92 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/20.97, allocations: 24.66 kB / 6.563 GB, free: 19.9 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/20.97, allocations: 32 kB / 6.563 GB, free: 19.87 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/20.97, allocations: 459.8 kB / 6.563 GB, free: 19.38 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/20.97, allocations: 0 / 6.563 GB, free: 19.38 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/20.97, allocations: 16 kB / 6.563 GB, free: 19.36 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/20.97, allocations: 8 kB / 6.563 GB, free: 19.36 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/20.97, allocations: 386.3 kB / 6.564 GB, free: 18.98 MB / 442.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.00838/20.98, allocations: 5.229 MB / 6.569 GB, free: 13.51 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008783/20.98, allocations: 292.7 kB / 6.569 GB, free: 13.21 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003379/20.98, allocations: 2.067 MB / 6.571 GB, free: 10.8 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/20.98, allocations: 34.56 kB / 6.571 GB, free: 10.75 MB / 442.9 MB Notification: Performance of pre-optimization done (n=30): time 2.785e-06/20.98, allocations: 0 / 6.571 GB, free: 10.75 MB / 442.9 MB Notification: Performance of matching and sorting (n=34): time 0.007246/20.99, allocations: 1.29 MB / 6.572 GB, free: 9.398 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/20.99, allocations: 59.34 kB / 6.572 GB, free: 9.328 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/20.99, allocations: 252.6 kB / 6.573 GB, free: 9.074 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/20.99, allocations: 33.7 kB / 6.573 GB, free: 9.035 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/20.99, allocations: 248.3 kB / 6.573 GB, free: 8.805 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 9.79e-05/20.99, allocations: 126.2 kB / 6.573 GB, free: 8.695 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/20.99, allocations: 4 kB / 6.573 GB, free: 8.691 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 6.919e-05/20.99, allocations: 334.8 kB / 6.573 GB, free: 8.355 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/20.99, allocations: 108.8 kB / 6.573 GB, free: 8.25 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/20.99, allocations: 226 kB / 6.574 GB, free: 7.98 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/20.99, allocations: 145.1 kB / 6.574 GB, free: 7.84 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/20.99, allocations: 0 / 6.574 GB, free: 7.84 MB / 442.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00117/20.99, allocations: 454.9 kB / 6.574 GB, free: 7.383 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/20.99, allocations: 8 kB / 6.574 GB, free: 7.375 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/20.99, allocations: 5.062 kB / 6.574 GB, free: 7.371 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/21, allocations: 289.3 kB / 6.574 GB, free: 7.082 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/21.01, allocations: 88.11 kB / 6.575 GB, free: 6.996 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/21.01, allocations: 1.847 MB / 6.576 GB, free: 4.992 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/21.01, allocations: 33.86 kB / 6.576 GB, free: 4.961 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/21.01, allocations: 23.95 kB / 6.576 GB, free: 4.938 MB / 442.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.0002689/21.01, allocations: 168 kB / 6.577 GB, free: 4.766 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/21.01, allocations: 26.58 kB / 6.577 GB, free: 4.742 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/21.01, allocations: 0.6932 MB / 6.577 GB, free: 4.043 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/21.01, allocations: 8 kB / 6.577 GB, free: 4.035 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/21.01, allocations: 0 / 6.577 GB, free: 4.035 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/21.01, allocations: 0.867 MB / 6.578 GB, free: 3.078 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/21.01, allocations: 1.189 MB / 6.579 GB, free: 1.836 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/21.01, allocations: 3.984 kB / 6.579 GB, free: 1.832 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/21.01, allocations: 63.91 kB / 6.579 GB, free: 1.77 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003195/21.02, allocations: 192.5 kB / 6.58 GB, free: 1.578 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/21.02, allocations: 12 kB / 6.58 GB, free: 1.566 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003468/21.02, allocations: 0.5758 MB / 6.58 GB, free: 0.9648 MB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/21.02, allocations: 0 / 6.58 GB, free: 0.9648 MB / 442.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/21.02, allocations: 0.7366 MB / 6.581 GB, free: 216 kB / 442.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/21.02, allocations: 124.7 kB / 6.581 GB, free: 76 kB / 442.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/21.02, allocations: 16.11 kB / 6.581 GB, free: 60 kB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/21.02, allocations: 15.91 kB / 6.581 GB, free: 44 kB / 442.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/21.02, allocations: 23.97 kB / 6.581 GB, free: 20 kB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/21.02, allocations: 15.98 kB / 6.581 GB, free: 4 kB / 442.9 MB Notification: Performance of sorting global known variables: time 0.0004004/21.02, allocations: 214 kB / 6.581 GB, free: 15.79 MB / 458.9 MB Notification: Performance of sort global known variables: time 3.5e-07/21.02, allocations: 3.938 kB / 6.581 GB, free: 15.79 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01735/21.04, allocations: 0.8582 MB / 6.582 GB, free: 14.98 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.1953/21.23, allocations: 19.07 MB / 6.601 GB, free: 11.99 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.001381/21.23, allocations: 477.8 kB / 6.601 GB, free: 11.51 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/21.23, allocations: 4 kB / 6.601 GB, free: 11.51 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0005864/21.23, allocations: 224 kB / 6.601 GB, free: 11.29 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/21.24, allocations: 177.5 kB / 6.602 GB, free: 11.12 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/21.24, allocations: 1.112 MB / 6.603 GB, free: 9.977 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/21.24, allocations: 0.8206 MB / 6.603 GB, free: 9.125 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/21.24, allocations: 43.42 kB / 6.603 GB, free: 9.082 MB / 474.9 MB Notification: Performance of SimCode: time 2.725e-06/21.24, allocations: 0 / 6.603 GB, free: 9.082 MB / 474.9 MB Notification: Performance of Templates: time 0.4266/21.67, allocations: 35.6 MB / 6.638 GB, free: 58.35 MB / 474.9 MB