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.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 1.814/1.814, allocations: 209.2 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004531, allocations: 12 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09078, allocations: 48.71 MB / 331.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.353/6.444, allocations: 2.516 GB / 2.84 GB, free: 88.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/6.445, allocations: 96.69 kB / 2.84 GB, free: 88.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.203/8.648, allocations: 491.4 MB / 3.32 GB, free: 38.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.679e-06/8.648, allocations: 0 / 3.32 GB, free: 38.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.882e-05/8.648, allocations: 22.81 kB / 3.32 GB, free: 38.48 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.006971/8.655, allocations: 1.746 MB / 3.321 GB, free: 37.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/8.655, allocations: 9.094 kB / 3.321 GB, free: 37.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/8.658, allocations: 315.9 kB / 3.322 GB, free: 37.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/8.66, allocations: 0.6082 MB / 3.322 GB, free: 37.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/8.66, allocations: 116.3 kB / 3.322 GB, free: 37.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/8.661, allocations: 56.78 kB / 3.322 GB, free: 37.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/8.664, allocations: 1.155 MB / 3.323 GB, free: 36.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/8.664, allocations: 2.75 kB / 3.323 GB, free: 36.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/8.664, allocations: 37.22 kB / 3.323 GB, free: 36.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-05/8.664, allocations: 48 kB / 3.324 GB, free: 36.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/8.667, allocations: 0.826 MB / 3.324 GB, free: 36.98 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.007602/8.674, allocations: 5.483 MB / 3.33 GB, free: 33.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/8.676, allocations: 0.5709 MB / 3.33 GB, free: 33.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1055/8.782, allocations: 48.9 MB / 3.378 GB, free: 19.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/8.782, allocations: 44.09 kB / 3.378 GB, free: 19.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 3.679e-06/8.782, allocations: 0 / 3.378 GB, free: 19.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.006664/8.788, allocations: 1.93 MB / 3.38 GB, free: 18.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/8.789, allocations: 160.7 kB / 3.38 GB, free: 18.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008729/8.789, allocations: 0.5402 MB / 3.381 GB, free: 18.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/8.79, allocations: 37.11 kB / 3.381 GB, free: 18.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/8.79, allocations: 432 kB / 3.381 GB, free: 18.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/8.79, allocations: 167.1 kB / 3.381 GB, free: 17.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/8.79, allocations: 15.94 kB / 3.381 GB, free: 17.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/8.79, allocations: 349.1 kB / 3.382 GB, free: 17.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/8.791, allocations: 227.4 kB / 3.382 GB, free: 17.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/8.791, allocations: 0.5799 MB / 3.382 GB, free: 17.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/8.792, allocations: 335.8 kB / 3.383 GB, free: 17.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.362e-06/8.792, allocations: 6.469 kB / 3.383 GB, free: 17.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001858/8.794, allocations: 0.8522 MB / 3.384 GB, free: 17.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/8.794, allocations: 11.56 kB / 3.384 GB, free: 17.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/8.794, allocations: 13.28 kB / 3.384 GB, free: 17.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/8.795, allocations: 64.47 kB / 3.384 GB, free: 17.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/8.796, allocations: 299.1 kB / 3.384 GB, free: 17.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/8.798, allocations: 1.983 MB / 3.386 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/8.799, allocations: 67.7 kB / 3.386 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.543e-05/8.799, allocations: 47.75 kB / 3.386 GB, free: 15.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006015/8.8, allocations: 268.3 kB / 3.386 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/8.8, allocations: 66.78 kB / 3.386 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/8.803, allocations: 2.228 MB / 3.388 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.694e-05/8.803, allocations: 37.83 kB / 3.388 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.064e-06/8.803, allocations: 3.047 kB / 3.388 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/8.803, allocations: 0 / 3.388 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/8.808, allocations: 3.27 MB / 3.392 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.474e-06/8.808, allocations: 0 / 3.392 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/8.809, allocations: 194.7 kB / 3.392 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005146/8.81, allocations: 94.23 kB / 3.392 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/8.81, allocations: 15.28 kB / 3.392 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/8.812, allocations: 2.004 MB / 3.394 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/8.812, allocations: 0 / 3.394 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/8.815, allocations: 1.981 MB / 3.396 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000649/8.816, allocations: 285 kB / 3.396 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/8.816, allocations: 11.75 kB / 3.396 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007856/8.817, allocations: 53.14 kB / 3.396 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/8.817, allocations: 40.86 kB / 3.396 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/8.817, allocations: 29.89 kB / 3.396 GB, free: 10.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008638/8.818, allocations: 0.4909 MB / 3.397 GB, free: 10.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.89e-07/8.818, allocations: 0 / 3.397 GB, free: 10.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005019/8.823, allocations: 1.13 MB / 3.398 GB, free: 10.09 MB / 458.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.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008082/8.831, allocations: 1.545 MB / 3.399 GB, free: 9.715 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002295/8.833, allocations: 0.9162 MB / 3.4 GB, free: 9.395 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.2e-06/8.833, allocations: 0 / 3.4 GB, free: 9.395 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/8.835, allocations: 0.662 MB / 3.401 GB, free: 9.109 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/8.837, allocations: 354 kB / 3.401 GB, free: 9.027 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/8.842, allocations: 2.755 MB / 3.404 GB, free: 23.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009287/8.843, allocations: 1.13 MB / 3.405 GB, free: 22.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/8.843, allocations: 71.08 kB / 3.405 GB, free: 22.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.595e-06/8.843, allocations: 2.844 kB / 3.405 GB, free: 22.71 MB / 474.7 MB Notification: Performance of Templates: time 0.3432/9.186, allocations: 40.46 MB / 3.445 GB, free: 72.59 MB / 474.7 MB