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/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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.883/1.883, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.956e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3228, allocations: 48.69 MB / 320 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.42/6.743, allocations: 2.515 GB / 2.828 GB, free: 86.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/6.743, allocations: 88.86 kB / 2.828 GB, free: 86.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.242/8.985, allocations: 485.2 MB / 3.302 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.317e-06/8.985, allocations: 0 / 3.302 GB, free: 43.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.274e-05/8.985, allocations: 21.38 kB / 3.302 GB, free: 43.11 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.006437/8.991, allocations: 1.675 MB / 3.303 GB, free: 42.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/8.992, allocations: 7.75 kB / 3.303 GB, free: 42.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/8.995, allocations: 311.1 kB / 3.304 GB, free: 42.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/8.997, allocations: 0.6205 MB / 3.304 GB, free: 42.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/8.997, allocations: 83.88 kB / 3.304 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/8.997, allocations: 35.53 kB / 3.304 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001457/8.998, allocations: 0.6455 MB / 3.305 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/9, allocations: 0.8807 MB / 3.306 GB, free: 41.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/9, allocations: 10.16 kB / 3.306 GB, free: 41.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/9, allocations: 2.781 kB / 3.306 GB, free: 41.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-05/9.001, allocations: 40.17 kB / 3.306 GB, free: 41.86 MB / 442.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.1936/9.194, allocations: 83.01 MB / 3.387 GB, free: 22.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/9.195, allocations: 366.7 kB / 3.387 GB, free: 22.72 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/9.195, allocations: 155.7 kB / 3.388 GB, free: 22.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08425/9.28, allocations: 33.95 MB / 3.421 GB, free: 33.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/9.28, allocations: 37.84 kB / 3.421 GB, free: 33.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 3.777e-06/9.28, allocations: 0 / 3.421 GB, free: 33.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.004953/9.285, allocations: 1.366 MB / 3.422 GB, free: 32.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/9.285, allocations: 136 kB / 3.422 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007948/9.286, allocations: 0.4898 MB / 3.423 GB, free: 32.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-05/9.286, allocations: 25.7 kB / 3.423 GB, free: 32.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/9.286, allocations: 482.8 kB / 3.423 GB, free: 32.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/9.286, allocations: 129.7 kB / 3.423 GB, free: 32.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/9.286, allocations: 2.625 kB / 3.423 GB, free: 32.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001861/9.286, allocations: 346.1 kB / 3.424 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/9.287, allocations: 197.5 kB / 3.424 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/9.287, allocations: 0.5596 MB / 3.424 GB, free: 31.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008831/9.288, allocations: 323.7 kB / 3.425 GB, free: 31.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.75e-06/9.288, allocations: 3.625 kB / 3.425 GB, free: 31.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001892/9.29, allocations: 0.7508 MB / 3.425 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/9.29, allocations: 8.406 kB / 3.425 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/9.29, allocations: 14.81 kB / 3.425 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/9.291, allocations: 62.06 kB / 3.425 GB, free: 31.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/9.292, allocations: 290.9 kB / 3.426 GB, free: 31.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/9.294, allocations: 1.935 MB / 3.428 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/9.295, allocations: 51.89 kB / 3.428 GB, free: 29.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/9.295, allocations: 39.94 kB / 3.428 GB, free: 29.56 MB / 0.4948 GB 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 () * 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.0002852/9.296, allocations: 152.2 kB / 3.428 GB, free: 29.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/9.296, allocations: 66.22 kB / 3.428 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/9.298, allocations: 1.582 MB / 3.429 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/9.298, allocations: 24.38 kB / 3.429 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.455e-06/9.298, allocations: 0 / 3.429 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/9.298, allocations: 0 / 3.429 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/9.302, allocations: 2.441 MB / 3.432 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.855e-06/9.302, allocations: 4 kB / 3.432 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/9.304, allocations: 177.9 kB / 3.432 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/9.304, allocations: 83.55 kB / 3.432 GB, free: 28.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/9.304, allocations: 0 / 3.432 GB, free: 28.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/9.306, allocations: 1.975 MB / 3.434 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.665e-06/9.306, allocations: 0 / 3.434 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/9.308, allocations: 1.515 MB / 3.436 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/9.309, allocations: 213.5 kB / 3.436 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/9.309, allocations: 3.844 kB / 3.436 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006935/9.31, allocations: 52.38 kB / 3.436 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/9.31, allocations: 25.02 kB / 3.436 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/9.31, allocations: 24.5 kB / 3.436 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005753/9.31, allocations: 353.6 kB / 3.436 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.492e-06/9.31, allocations: 0 / 3.436 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004969/9.315, allocations: 1.066 MB / 3.437 GB, free: 26.36 MB / 0.4948 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: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00825/9.324, allocations: 1.653 MB / 3.439 GB, free: 26.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002246/9.326, allocations: 0.7795 MB / 3.44 GB, free: 26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.267e-06/9.326, allocations: 3.156 kB / 3.44 GB, free: 26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/9.327, allocations: 0.5135 MB / 3.44 GB, free: 26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/9.329, allocations: 268 kB / 3.44 GB, free: 25.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/9.332, allocations: 1.464 MB / 3.442 GB, free: 25.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008201/9.333, allocations: 1.071 MB / 3.443 GB, free: 24.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/9.334, allocations: 65.91 kB / 3.443 GB, free: 24.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.781e-06/9.334, allocations: 0 / 3.443 GB, free: 24.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.0607/9.394, allocations: 38.52 MB / 3.481 GB, free: 7.707 MB / 0.4948 GB