Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.806/1.806, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08292/0.08332, allocations: 44.51 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.39/13.48, allocations: 5.72 GB / 6.022 GB, free: 8.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/13.48, allocations: 73.12 kB / 6.022 GB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 12.57/26.05, allocations: 3.494 GB / 9.515 GB, free: 109.5 MB / 0.5888 GB Notification: Performance of FrontEnd: time 2.336e-06/26.05, allocations: 2 kB / 9.515 GB, free: 109.5 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 2.557e-05/26.05, allocations: 9.531 kB / 9.515 GB, free: 109.5 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.03263/26.08, allocations: 1.695 MB / 9.517 GB, free: 108.6 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/26.08, allocations: 11.69 kB / 9.517 GB, free: 108.6 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/26.08, allocations: 70.5 kB / 9.517 GB, free: 108.6 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/26.08, allocations: 317.2 kB / 9.517 GB, free: 108.4 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/26.08, allocations: 21.41 kB / 9.517 GB, free: 108.4 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/26.08, allocations: 33.66 kB / 9.517 GB, free: 108.4 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/26.08, allocations: 459.5 kB / 9.518 GB, free: 108.3 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/26.08, allocations: 2.062 kB / 9.518 GB, free: 108.3 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/26.08, allocations: 14.06 kB / 9.518 GB, free: 108.3 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/26.08, allocations: 13.5 kB / 9.518 GB, free: 108.3 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009071/26.08, allocations: 387.9 kB / 9.518 GB, free: 108.3 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.007061/26.09, allocations: 5.234 MB / 9.523 GB, free: 106.3 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008273/26.09, allocations: 287.8 kB / 9.524 GB, free: 106.3 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002509/26.09, allocations: 2.064 MB / 9.526 GB, free: 104.5 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/26.09, allocations: 33.94 kB / 9.526 GB, free: 104.4 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=30): time 3.57e-06/26.09, allocations: 4 kB / 9.526 GB, free: 104.4 MB / 0.5888 GB Notification: Performance of matching and sorting (n=34): time 0.006267/26.1, allocations: 1.29 MB / 9.527 GB, free: 104 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/26.1, allocations: 55.16 kB / 9.527 GB, free: 103.9 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/26.1, allocations: 236 kB / 9.527 GB, free: 103.8 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/26.1, allocations: 28.95 kB / 9.527 GB, free: 103.8 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/26.1, allocations: 247.1 kB / 9.527 GB, free: 103.6 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 8.826e-05/26.1, allocations: 119.1 kB / 9.528 GB, free: 103.6 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/26.1, allocations: 12.25 kB / 9.528 GB, free: 103.6 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/26.1, allocations: 330.3 kB / 9.528 GB, free: 103.2 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/26.1, allocations: 107.3 kB / 9.528 GB, free: 103.2 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/26.1, allocations: 228.8 kB / 9.528 GB, free: 103.1 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/26.1, allocations: 144.9 kB / 9.528 GB, free: 103.1 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/26.1, allocations: 0 / 9.528 GB, free: 103.1 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001064/26.1, allocations: 451.5 kB / 9.529 GB, free: 103 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/26.1, allocations: 5.188 kB / 9.529 GB, free: 103 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/26.1, allocations: 7.438 kB / 9.529 GB, free: 103 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007602/26.11, allocations: 293.2 kB / 9.529 GB, free: 103 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/26.11, allocations: 89.64 kB / 9.529 GB, free: 103 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/26.11, allocations: 1.844 MB / 9.531 GB, free: 101.2 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/26.11, allocations: 26.11 kB / 9.531 GB, free: 101.2 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/26.11, allocations: 17.47 kB / 9.531 GB, free: 101.2 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.0002556/26.11, allocations: 171.6 kB / 9.531 GB, free: 101.1 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/26.11, allocations: 40.75 kB / 9.531 GB, free: 101.1 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/26.11, allocations: 0.6953 MB / 9.532 GB, free: 101 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/26.11, allocations: 13.02 kB / 9.532 GB, free: 101 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.941e-06/26.11, allocations: 3.75 kB / 9.532 GB, free: 101 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008928/26.12, allocations: 0.8494 MB / 9.533 GB, free: 100.6 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/26.12, allocations: 1.203 MB / 9.534 GB, free: 100.2 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.222e-06/26.12, allocations: 0 / 9.534 GB, free: 100.2 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/26.12, allocations: 69.23 kB / 9.534 GB, free: 100.2 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002295/26.12, allocations: 190.2 kB / 9.534 GB, free: 100.2 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/26.12, allocations: 13.75 kB / 9.534 GB, free: 100.2 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003529/26.12, allocations: 0.5798 MB / 9.535 GB, free: 99.69 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-06/26.12, allocations: 0 / 9.535 GB, free: 99.69 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/26.12, allocations: 0.7255 MB / 9.535 GB, free: 99.52 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/26.12, allocations: 132.5 kB / 9.536 GB, free: 99.4 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/26.12, allocations: 17.53 kB / 9.536 GB, free: 99.39 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/26.12, allocations: 14.25 kB / 9.536 GB, free: 99.39 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/26.12, allocations: 26.27 kB / 9.536 GB, free: 99.39 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/26.12, allocations: 12.59 kB / 9.536 GB, free: 99.39 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0002728/26.12, allocations: 218.7 kB / 9.536 GB, free: 99.31 MB / 0.5888 GB Notification: Performance of sort global known variables: time 7.79e-07/26.12, allocations: 4 kB / 9.536 GB, free: 99.31 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01182/26.13, allocations: 0.8556 MB / 9.537 GB, free: 99.17 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.1688/26.3, allocations: 19.07 MB / 9.555 GB, free: 89.32 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.001068/26.3, allocations: 467.4 kB / 9.556 GB, free: 89.21 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 4.947e-06/26.3, allocations: 0.875 kB / 9.556 GB, free: 89.21 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0004554/26.3, allocations: 224.6 kB / 9.556 GB, free: 89.21 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/26.31, allocations: 188.9 kB / 9.556 GB, free: 89.18 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/26.31, allocations: 1.117 MB / 9.557 GB, free: 88.6 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/26.31, allocations: 0.8125 MB / 9.558 GB, free: 87.9 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/26.31, allocations: 42.88 kB / 9.558 GB, free: 87.89 MB / 0.5888 GB Notification: Performance of SimCode: time 1.609e-06/26.31, allocations: 0 / 9.558 GB, free: 87.89 MB / 0.5888 GB Notification: Performance of Templates: time 0.05434/26.36, allocations: 35.67 MB / 9.593 GB, free: 67.57 MB / 0.5888 GB