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.Tests.MediaTestModels.Water.WaterIF97_pT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.649/1.649, allocations: 171.3 MB / 179.2 MB, free: 7.48 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.187e-05, allocations: 4 kB / 222.5 MB, free: 8.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06992/0.06996, allocations: 38.78 MB / 261.3 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.003/6.073, allocations: 2.464 GB / 2.719 GB, free: 20.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/6.073, allocations: 88.09 kB / 2.719 GB, free: 20.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.158/7.231, allocations: 286.8 MB / 2.999 GB, free: 1.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.795e-06/7.231, allocations: 0 / 2.999 GB, free: 1.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.338e-05/7.231, allocations: 12 kB / 2.999 GB, free: 1.586 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00269/7.234, allocations: 0.8844 MB / 3 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/7.234, allocations: 12.03 kB / 3 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000957/7.235, allocations: 83.58 kB / 3 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/7.235, allocations: 311.2 kB / 3.001 GB, free: 228 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/7.235, allocations: 8 kB / 3.001 GB, free: 220 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/7.235, allocations: 20 kB / 3.001 GB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2073/7.443, allocations: 226.9 kB / 3.001 GB, free: 34.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/7.444, allocations: 350.8 kB / 3.001 GB, free: 33.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/7.444, allocations: 4.359 kB / 3.001 GB, free: 33.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/7.444, allocations: 2.281 kB / 3.001 GB, free: 33.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/7.444, allocations: 7.969 kB / 3.001 GB, free: 33.98 MB / 346.7 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.03752/7.481, allocations: 17.67 MB / 3.018 GB, free: 22.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/7.482, allocations: 178.9 kB / 3.019 GB, free: 22.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/7.482, allocations: 92.05 kB / 3.019 GB, free: 22.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03639/7.518, allocations: 15.31 MB / 3.034 GB, free: 29.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/7.518, allocations: 36.72 kB / 3.034 GB, free: 29.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.019e-06/7.518, allocations: 0 / 3.034 GB, free: 29.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.005298/7.524, allocations: 1.132 MB / 3.035 GB, free: 29.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/7.524, allocations: 56.33 kB / 3.035 GB, free: 29.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/7.524, allocations: 212.2 kB / 3.035 GB, free: 29.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/7.524, allocations: 25.7 kB / 3.035 GB, free: 29.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/7.524, allocations: 267.3 kB / 3.035 GB, free: 29.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/7.524, allocations: 105.8 kB / 3.035 GB, free: 29.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/7.524, allocations: 0.5625 kB / 3.035 GB, free: 29.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/7.525, allocations: 325.6 kB / 3.036 GB, free: 28.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/7.525, allocations: 97.22 kB / 3.036 GB, free: 28.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/7.525, allocations: 198.1 kB / 3.036 GB, free: 28.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/7.526, allocations: 225.3 kB / 3.036 GB, free: 28.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.801e-06/7.526, allocations: 0 / 3.036 GB, free: 28.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001773/7.528, allocations: 483.7 kB / 3.037 GB, free: 28.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/7.528, allocations: 5.719 kB / 3.037 GB, free: 28.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/7.528, allocations: 5.531 kB / 3.037 GB, free: 28.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/7.528, allocations: 71.86 kB / 3.037 GB, free: 28.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/7.529, allocations: 83.95 kB / 3.037 GB, free: 28.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/7.531, allocations: 1.911 MB / 3.039 GB, free: 26.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/7.532, allocations: 19.89 kB / 3.039 GB, free: 26.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/7.532, allocations: 25.83 kB / 3.039 GB, free: 26.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (45): * Single equations (assignments): 43 * 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 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001588/7.532, allocations: 116.8 kB / 3.039 GB, free: 26.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/7.532, allocations: 29.78 kB / 3.039 GB, free: 26.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/7.534, allocations: 0.818 MB / 3.04 GB, free: 26.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/7.534, allocations: 14.58 kB / 3.04 GB, free: 26.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/7.534, allocations: 0 / 3.04 GB, free: 26.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/7.535, allocations: 1.036 MB / 3.041 GB, free: 26.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/7.537, allocations: 1.389 MB / 3.042 GB, free: 25.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/7.537, allocations: 0 / 3.042 GB, free: 25.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/7.537, allocations: 46.53 kB / 3.042 GB, free: 25.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003259/7.538, allocations: 105.1 kB / 3.042 GB, free: 25.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/7.538, allocations: 4.594 kB / 3.042 GB, free: 25.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008283/7.539, allocations: 0.7091 MB / 3.043 GB, free: 25.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.961e-06/7.539, allocations: 0 / 3.043 GB, free: 25.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/7.54, allocations: 0.9111 MB / 3.044 GB, free: 24.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/7.54, allocations: 117.6 kB / 3.044 GB, free: 24.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/7.54, allocations: 3.531 kB / 3.044 GB, free: 24.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/7.541, allocations: 12.31 kB / 3.044 GB, free: 24.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/7.541, allocations: 17.73 kB / 3.044 GB, free: 24.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/7.541, allocations: 16.94 kB / 3.044 GB, free: 24.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001947/7.541, allocations: 157 kB / 3.044 GB, free: 24.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.31e-07/7.541, allocations: 0 / 3.044 GB, free: 24.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002423/7.543, allocations: 0.5114 MB / 3.045 GB, free: 24.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003408/7.547, allocations: 0.9468 MB / 3.046 GB, free: 24.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00098/7.548, allocations: 486.5 kB / 3.046 GB, free: 24.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/7.548, allocations: 0 / 3.046 GB, free: 24.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/7.548, allocations: 278.2 kB / 3.046 GB, free: 24.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/7.549, allocations: 130.4 kB / 3.046 GB, free: 24.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/7.551, allocations: 0.7385 MB / 3.047 GB, free: 24.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/7.551, allocations: 0.8206 MB / 3.048 GB, free: 23.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/7.552, allocations: 29.81 kB / 3.048 GB, free: 23.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.556e-06/7.552, allocations: 0 / 3.048 GB, free: 23.45 MB / 362.7 MB Notification: Performance of Templates: time 0.02907/7.581, allocations: 17.83 MB / 3.065 GB, free: 21.78 MB / 362.7 MB