Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 171.1 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003464, allocations: 8 kB / 233.9 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08353, allocations: 38.76 MB / 272.6 MB, free: 9.453 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.13/16.22, allocations: 5.484 GB / 5.75 GB, free: 67.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/16.22, allocations: 79.83 kB / 5.75 GB, free: 67.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.764/20.98, allocations: 0.8108 GB / 6.561 GB, free: 17.61 MB / 442.9 MB Notification: Performance of FrontEnd: time 1.884e-06/20.98, allocations: 0 / 6.561 GB, free: 17.61 MB / 442.9 MB Notification: Performance of Transformations before backend: time 2.986e-05/20.98, allocations: 8 kB / 6.561 GB, free: 17.6 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.02968/21.01, allocations: 1.269 MB / 6.562 GB, free: 16.41 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/21.01, allocations: 12.03 kB / 6.562 GB, free: 16.4 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007381/21.01, allocations: 64.73 kB / 6.562 GB, free: 16.34 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/21.01, allocations: 327.2 kB / 6.563 GB, free: 16 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/21.01, allocations: 20.66 kB / 6.563 GB, free: 15.98 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/21.01, allocations: 32 kB / 6.563 GB, free: 15.95 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/21.01, allocations: 463.7 kB / 6.563 GB, free: 15.45 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/21.01, allocations: 0 / 6.563 GB, free: 15.45 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/21.01, allocations: 12 kB / 6.563 GB, free: 15.44 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/21.01, allocations: 12 kB / 6.563 GB, free: 15.43 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009766/21.01, allocations: 390.3 kB / 6.564 GB, free: 15.05 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.008794/21.02, allocations: 5.23 MB / 6.569 GB, free: 9.578 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009057/21.02, allocations: 294.9 kB / 6.569 GB, free: 9.281 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003265/21.03, allocations: 2.063 MB / 6.571 GB, free: 6.867 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/21.03, allocations: 38.56 kB / 6.571 GB, free: 6.82 MB / 442.9 MB Notification: Performance of pre-optimization done (n=30): time 2.935e-06/21.03, allocations: 0 / 6.571 GB, free: 6.82 MB / 442.9 MB Notification: Performance of matching and sorting (n=34): time 0.007485/21.03, allocations: 1.279 MB / 6.572 GB, free: 5.477 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/21.03, allocations: 55.41 kB / 6.572 GB, free: 5.41 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/21.03, allocations: 260.6 kB / 6.573 GB, free: 5.148 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/21.03, allocations: 33.7 kB / 6.573 GB, free: 5.109 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/21.03, allocations: 192 kB / 6.573 GB, free: 4.93 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/21.03, allocations: 122.2 kB / 6.573 GB, free: 4.824 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/21.03, allocations: 8 kB / 6.573 GB, free: 4.816 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 8.045e-05/21.03, allocations: 346.7 kB / 6.573 GB, free: 4.469 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/21.04, allocations: 108.8 kB / 6.573 GB, free: 4.363 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/21.04, allocations: 222.1 kB / 6.574 GB, free: 4.098 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/21.04, allocations: 144.5 kB / 6.574 GB, free: 3.957 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/21.04, allocations: 4 kB / 6.574 GB, free: 3.953 MB / 442.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001255/21.04, allocations: 454.6 kB / 6.574 GB, free: 3.496 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/21.04, allocations: 8 kB / 6.574 GB, free: 3.488 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/21.04, allocations: 7.938 kB / 6.574 GB, free: 3.48 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/21.05, allocations: 297.8 kB / 6.575 GB, free: 3.184 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/21.05, allocations: 83.91 kB / 6.575 GB, free: 3.102 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/21.05, allocations: 1.847 MB / 6.576 GB, free: 1.102 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005451/21.05, allocations: 34.23 kB / 6.576 GB, free: 1.07 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/21.05, allocations: 27.94 kB / 6.576 GB, free: 1.043 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.0002891/21.05, allocations: 160 kB / 6.577 GB, free: 0.8789 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/21.05, allocations: 27.62 kB / 6.577 GB, free: 0.8516 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/21.05, allocations: 0.7015 MB / 6.577 GB, free: 148 kB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/21.05, allocations: 11.98 kB / 6.577 GB, free: 136 kB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/21.05, allocations: 0 / 6.577 GB, free: 136 kB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/21.06, allocations: 0.8556 MB / 6.578 GB, free: 15.19 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/21.06, allocations: 1.2 MB / 6.579 GB, free: 13.93 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/21.06, allocations: 0 / 6.579 GB, free: 13.93 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/21.06, allocations: 63.91 kB / 6.579 GB, free: 13.87 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003339/21.06, allocations: 196.4 kB / 6.58 GB, free: 13.68 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-05/21.06, allocations: 12 kB / 6.58 GB, free: 13.66 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005657/21.06, allocations: 0.5796 MB / 6.58 GB, free: 13.06 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/21.06, allocations: 0 / 6.58 GB, free: 13.06 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/21.07, allocations: 0.7291 MB / 6.581 GB, free: 12.31 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/21.07, allocations: 128.6 kB / 6.581 GB, free: 12.17 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/21.07, allocations: 15.89 kB / 6.581 GB, free: 12.16 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/21.07, allocations: 21.89 kB / 6.581 GB, free: 12.14 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/21.07, allocations: 28.03 kB / 6.581 GB, free: 12.11 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/21.07, allocations: 12 kB / 6.581 GB, free: 12.1 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0003865/21.07, allocations: 213.9 kB / 6.581 GB, free: 11.89 MB / 458.9 MB Notification: Performance of sort global known variables: time 5.01e-07/21.07, allocations: 4 kB / 6.581 GB, free: 11.88 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01907/21.09, allocations: 0.8505 MB / 6.582 GB, free: 11.09 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.2047/21.29, allocations: 19.06 MB / 6.601 GB, free: 8.094 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.001425/21.29, allocations: 474.6 kB / 6.601 GB, free: 7.621 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/21.29, allocations: 8.062 kB / 6.601 GB, free: 7.613 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0006121/21.29, allocations: 224 kB / 6.601 GB, free: 7.395 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/21.29, allocations: 180.6 kB / 6.602 GB, free: 7.219 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/21.3, allocations: 1.084 MB / 6.603 GB, free: 6.113 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/21.3, allocations: 0.809 MB / 6.603 GB, free: 5.273 MB / 474.9 MB Notification: Performance of simCode: alias equations: time 0.0007386/21.3, allocations: 192.7 kB / 6.604 GB, free: 5.09 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/21.3, allocations: 39.42 kB / 6.604 GB, free: 5.051 MB / 474.9 MB Notification: Performance of SimCode: time 9.22e-07/21.3, allocations: 0 / 6.604 GB, free: 5.051 MB / 474.9 MB Notification: Performance of Templates: time 0.4334/21.73, allocations: 33.98 MB / 6.637 GB, free: 60.8 MB / 474.9 MB