Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 1.86/1.86, allocations: 209.3 MB / 224.9 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007621/0.0007623, allocations: 12 kB / 282.6 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3688, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.493/6.862, allocations: 2.514 GB / 2.838 GB, free: 21.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/6.862, allocations: 95.94 kB / 2.838 GB, free: 21.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.128/8.99, allocations: 489 MB / 3.316 GB, free: 36.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.911e-06/8.99, allocations: 3.938 kB / 3.316 GB, free: 36.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.768e-05/8.99, allocations: 18.69 kB / 3.316 GB, free: 36.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006644/8.997, allocations: 1.73 MB / 3.317 GB, free: 35.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/8.997, allocations: 7.906 kB / 3.317 GB, free: 35.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/8.999, allocations: 234.7 kB / 3.318 GB, free: 35.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/9.001, allocations: 0.5801 MB / 3.318 GB, free: 35.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/9.001, allocations: 115.3 kB / 3.318 GB, free: 35.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/9.001, allocations: 61.19 kB / 3.318 GB, free: 35.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/9.004, allocations: 1.053 MB / 3.319 GB, free: 34.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/9.004, allocations: 9.312 kB / 3.319 GB, free: 34.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/9.004, allocations: 26.25 kB / 3.319 GB, free: 34.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/9.004, allocations: 48.59 kB / 3.319 GB, free: 34.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/9.007, allocations: 0.807 MB / 3.32 GB, free: 34.01 MB / 442.7 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.006941/9.014, allocations: 5.524 MB / 3.326 GB, free: 28.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/9.015, allocations: 0.5164 MB / 3.326 GB, free: 28.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3907/9.406, allocations: 53.23 MB / 3.378 GB, free: 56.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/9.406, allocations: 40.97 kB / 3.378 GB, free: 56.65 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.648e-06/9.406, allocations: 1.406 kB / 3.378 GB, free: 56.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.00827/9.414, allocations: 2.077 MB / 3.38 GB, free: 56.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/9.414, allocations: 189.4 kB / 3.38 GB, free: 55.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009859/9.415, allocations: 0.5544 MB / 3.381 GB, free: 55.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.483e-05/9.415, allocations: 34.08 kB / 3.381 GB, free: 55.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/9.416, allocations: 434.9 kB / 3.381 GB, free: 55.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/9.416, allocations: 167.2 kB / 3.381 GB, free: 55.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/9.416, allocations: 14.09 kB / 3.382 GB, free: 55.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.243e-05/9.416, allocations: 350.3 kB / 3.382 GB, free: 55.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/9.417, allocations: 228.6 kB / 3.382 GB, free: 55.15 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007498/9.417, allocations: 0.6007 MB / 3.383 GB, free: 54.67 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/9.418, allocations: 351.3 kB / 3.383 GB, free: 54.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/9.418, allocations: 7.188 kB / 3.383 GB, free: 54.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002132/9.42, allocations: 0.8658 MB / 3.384 GB, free: 54.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/9.42, allocations: 15.17 kB / 3.384 GB, free: 54.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/9.42, allocations: 12.38 kB / 3.384 GB, free: 54.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004789/9.425, allocations: 271.3 kB / 3.384 GB, free: 54.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/9.427, allocations: 294.6 kB / 3.384 GB, free: 54.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/9.429, allocations: 2.021 MB / 3.386 GB, free: 52.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/9.43, allocations: 57.19 kB / 3.386 GB, free: 52.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/9.43, allocations: 46.92 kB / 3.386 GB, free: 52.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.000568/9.431, allocations: 282.9 kB / 3.387 GB, free: 52.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/9.431, allocations: 70.94 kB / 3.387 GB, free: 52.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/9.434, allocations: 2.011 MB / 3.389 GB, free: 52.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.429e-05/9.434, allocations: 26.39 kB / 3.389 GB, free: 52.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/9.434, allocations: 1.875 kB / 3.389 GB, free: 52.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/9.434, allocations: 5.203 kB / 3.389 GB, free: 52.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/9.439, allocations: 2.99 MB / 3.392 GB, free: 51.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/9.439, allocations: 1.625 kB / 3.392 GB, free: 51.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/9.44, allocations: 189.5 kB / 3.392 GB, free: 51.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/9.442, allocations: 302.6 kB / 3.392 GB, free: 51.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.804e-05/9.443, allocations: 13.06 kB / 3.392 GB, free: 51.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/9.444, allocations: 2.088 MB / 3.394 GB, free: 50.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.161e-06/9.444, allocations: 0 / 3.394 GB, free: 50.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/9.447, allocations: 1.955 MB / 3.396 GB, free: 49.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/9.448, allocations: 275.4 kB / 3.396 GB, free: 49.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/9.448, allocations: 14.64 kB / 3.396 GB, free: 49.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007397/9.449, allocations: 34.25 kB / 3.396 GB, free: 49.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/9.449, allocations: 36.23 kB / 3.396 GB, free: 49.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/9.449, allocations: 17.88 kB / 3.397 GB, free: 49.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009266/9.45, allocations: 0.5522 MB / 3.397 GB, free: 49.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.38e-07/9.45, allocations: 3.094 kB / 3.397 GB, free: 49.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005211/9.455, allocations: 1.129 MB / 3.398 GB, free: 49.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.008208/9.463, allocations: 1.551 MB / 3.4 GB, free: 49.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00238/9.466, allocations: 0.9045 MB / 3.401 GB, free: 49.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.605e-06/9.466, allocations: 0 / 3.401 GB, free: 49.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/9.467, allocations: 0.6183 MB / 3.401 GB, free: 49.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/9.47, allocations: 357.6 kB / 3.402 GB, free: 49.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/9.474, allocations: 2.62 MB / 3.404 GB, free: 48.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/9.475, allocations: 1.109 MB / 3.405 GB, free: 47.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/9.475, allocations: 70.27 kB / 3.405 GB, free: 47.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.657e-06/9.475, allocations: 0 / 3.405 GB, free: 47.46 MB / 458.7 MB Notification: Performance of Templates: time 0.06052/9.536, allocations: 39.94 MB / 3.444 GB, free: 44.89 MB / 458.7 MB