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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.649/1.649, allocations: 171.2 MB / 184.2 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.689e-05, allocations: 4 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2091, allocations: 38.77 MB / 267.6 MB, free: 9.449 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.55/12.76, allocations: 5.484 GB / 5.745 GB, free: 24.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/12.76, allocations: 72.97 kB / 5.745 GB, free: 24.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.16/16.92, allocations: 0.8095 GB / 6.555 GB, free: 51.61 MB / 458.9 MB Notification: Performance of FrontEnd: time 2.018e-06/16.92, allocations: 0 / 6.555 GB, free: 51.61 MB / 458.9 MB Notification: Performance of Transformations before backend: time 2.382e-05/16.92, allocations: 7.094 kB / 6.555 GB, free: 51.61 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.01885/16.94, allocations: 1.248 MB / 6.556 GB, free: 50.97 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/16.94, allocations: 10.28 kB / 6.556 GB, free: 50.97 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/16.94, allocations: 61.38 kB / 6.556 GB, free: 50.96 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/16.94, allocations: 327.4 kB / 6.557 GB, free: 50.75 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/16.94, allocations: 32.27 kB / 6.557 GB, free: 50.75 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/16.94, allocations: 32.75 kB / 6.557 GB, free: 50.75 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/16.94, allocations: 456.9 kB / 6.557 GB, free: 50.62 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/16.94, allocations: 2.859 kB / 6.557 GB, free: 50.62 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/16.94, allocations: 16.56 kB / 6.557 GB, free: 50.62 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/16.94, allocations: 9.969 kB / 6.557 GB, free: 50.62 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009611/16.94, allocations: 387.9 kB / 6.557 GB, free: 50.62 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.007257/16.95, allocations: 5.225 MB / 6.563 GB, free: 48.65 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/16.95, allocations: 290.8 kB / 6.563 GB, free: 48.62 MB / 458.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/16.95, allocations: 129.3 kB / 6.563 GB, free: 48.62 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002703/16.95, allocations: 2.062 MB / 6.565 GB, free: 46.84 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/16.95, allocations: 46.36 kB / 6.565 GB, free: 46.8 MB / 458.9 MB Notification: Performance of pre-optimization done (n=30): time 3.773e-06/16.95, allocations: 0 / 6.565 GB, free: 46.8 MB / 458.9 MB Notification: Performance of matching and sorting (n=34): time 0.006066/16.96, allocations: 1.141 MB / 6.566 GB, free: 46.45 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/16.96, allocations: 58 kB / 6.566 GB, free: 46.39 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/16.96, allocations: 231.1 kB / 6.566 GB, free: 46.29 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/16.96, allocations: 31.02 kB / 6.566 GB, free: 46.25 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/16.96, allocations: 246.4 kB / 6.567 GB, free: 46.07 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/16.96, allocations: 120.2 kB / 6.567 GB, free: 46.01 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/16.96, allocations: 8.688 kB / 6.567 GB, free: 46.01 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/16.96, allocations: 329.8 kB / 6.567 GB, free: 45.7 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/16.96, allocations: 106.4 kB / 6.567 GB, free: 45.7 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/16.96, allocations: 220.1 kB / 6.567 GB, free: 45.57 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/16.96, allocations: 148.4 kB / 6.568 GB, free: 45.57 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.086e-06/16.96, allocations: 0 / 6.568 GB, free: 45.57 MB / 458.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001093/16.96, allocations: 443.7 kB / 6.568 GB, free: 45.5 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/16.96, allocations: 9.031 kB / 6.568 GB, free: 45.5 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/16.96, allocations: 5.594 kB / 6.568 GB, free: 45.5 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007376/16.97, allocations: 290.1 kB / 6.568 GB, free: 45.49 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/16.97, allocations: 87.84 kB / 6.568 GB, free: 45.49 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/16.97, allocations: 1.838 MB / 6.57 GB, free: 43.72 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/16.97, allocations: 41.97 kB / 6.57 GB, free: 43.71 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/16.97, allocations: 20.31 kB / 6.57 GB, free: 43.71 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.0001361/16.97, allocations: 134.8 kB / 6.57 GB, free: 43.6 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/16.97, allocations: 31.72 kB / 6.57 GB, free: 43.59 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/16.97, allocations: 0.7005 MB / 6.571 GB, free: 43.5 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/16.97, allocations: 3.75 kB / 6.571 GB, free: 43.5 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.606e-06/16.97, allocations: 3.188 kB / 6.571 GB, free: 43.5 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009551/16.98, allocations: 0.8523 MB / 6.572 GB, free: 43.04 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/16.98, allocations: 1.185 MB / 6.573 GB, free: 42.71 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.648e-06/16.98, allocations: 7.609 kB / 6.573 GB, free: 42.71 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/16.98, allocations: 68.78 kB / 6.573 GB, free: 42.71 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/16.98, allocations: 193.8 kB / 6.573 GB, free: 42.7 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/16.98, allocations: 8.562 kB / 6.573 GB, free: 42.7 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003467/16.98, allocations: 0.5781 MB / 6.574 GB, free: 42.18 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.308e-06/16.98, allocations: 0 / 6.574 GB, free: 42.18 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/16.98, allocations: 0.7281 MB / 6.575 GB, free: 42.01 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/16.98, allocations: 126.2 kB / 6.575 GB, free: 41.89 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/16.98, allocations: 5.812 kB / 6.575 GB, free: 41.89 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/16.98, allocations: 22.77 kB / 6.575 GB, free: 41.89 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/16.98, allocations: 23.39 kB / 6.575 GB, free: 41.89 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/16.98, allocations: 13.97 kB / 6.575 GB, free: 41.89 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0002799/16.98, allocations: 214.4 kB / 6.575 GB, free: 41.81 MB / 458.9 MB Notification: Performance of sort global known variables: time 8.1e-07/16.98, allocations: 1.219 kB / 6.575 GB, free: 41.81 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01179/16.99, allocations: 0.8546 MB / 6.576 GB, free: 41.68 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 () * 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.2717/17.27, allocations: 19.06 MB / 6.594 GB, free: 32.17 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.00118/17.27, allocations: 487 kB / 6.595 GB, free: 32.05 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/17.27, allocations: 0 / 6.595 GB, free: 32.05 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/17.27, allocations: 222.9 kB / 6.595 GB, free: 32.04 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/17.27, allocations: 175.7 kB / 6.595 GB, free: 32.04 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/17.27, allocations: 0.6744 MB / 6.596 GB, free: 31.82 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/17.27, allocations: 0.8183 MB / 6.597 GB, free: 31.12 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/17.27, allocations: 44.47 kB / 6.597 GB, free: 31.12 MB / 458.9 MB Notification: Performance of SimCode: time 1.981e-06/17.27, allocations: 3.844 kB / 6.597 GB, free: 31.12 MB / 458.9 MB Notification: Performance of Templates: time 0.05809/17.33, allocations: 35.53 MB / 6.631 GB, free: 27.02 MB / 458.9 MB