Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.907e-05, allocations: 0 / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.381, allocations: 54.86 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.56/6.941, allocations: 2.627 GB / 2.983 GB, free: 114 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/6.941, allocations: 90.41 kB / 2.983 GB, free: 114 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.988/8.929, allocations: 0.4907 GB / 3.473 GB, free: 34.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.101e-06/8.929, allocations: 3.562 kB / 3.473 GB, free: 34.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.912e-05/8.929, allocations: 20 kB / 3.473 GB, free: 34.61 MB / 490.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.006034/8.935, allocations: 1.714 MB / 3.475 GB, free: 32.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/8.935, allocations: 8.031 kB / 3.475 GB, free: 32.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/8.938, allocations: 329.6 kB / 3.475 GB, free: 32.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/8.94, allocations: 0.6113 MB / 3.476 GB, free: 31.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/8.94, allocations: 112.7 kB / 3.476 GB, free: 31.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/8.94, allocations: 56 kB / 3.476 GB, free: 31.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/8.943, allocations: 1.184 MB / 3.477 GB, free: 30.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/8.943, allocations: 7.938 kB / 3.477 GB, free: 30.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/8.943, allocations: 28 kB / 3.477 GB, free: 30.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-05/8.943, allocations: 52.56 kB / 3.477 GB, free: 30.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/8.946, allocations: 0.8442 MB / 3.478 GB, free: 29.54 MB / 490.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.006756/8.952, allocations: 5.471 MB / 3.484 GB, free: 23.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/8.954, allocations: 0.5877 MB / 3.484 GB, free: 23.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/8.954, allocations: 225.1 kB / 3.484 GB, free: 22.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4066/9.361, allocations: 49.17 MB / 3.532 GB, free: 54.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/9.361, allocations: 44.55 kB / 3.532 GB, free: 54.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 3.385e-06/9.361, allocations: 0 / 3.532 GB, free: 54.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.006809/9.368, allocations: 1.834 MB / 3.534 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/9.368, allocations: 161.4 kB / 3.534 GB, free: 54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009442/9.369, allocations: 0.536 MB / 3.535 GB, free: 53.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-05/9.369, allocations: 36.7 kB / 3.535 GB, free: 53.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/9.369, allocations: 428.8 kB / 3.535 GB, free: 53.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/9.369, allocations: 172.2 kB / 3.536 GB, free: 53.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/9.369, allocations: 13.03 kB / 3.536 GB, free: 53.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/9.37, allocations: 343.9 kB / 3.536 GB, free: 53.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/9.37, allocations: 219.9 kB / 3.536 GB, free: 53.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/9.371, allocations: 0.584 MB / 3.537 GB, free: 52.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/9.371, allocations: 336.8 kB / 3.537 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/9.371, allocations: 4.625 kB / 3.537 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001875/9.373, allocations: 0.8444 MB / 3.538 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/9.373, allocations: 12.06 kB / 3.538 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/9.373, allocations: 12.12 kB / 3.538 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/9.374, allocations: 69.59 kB / 3.538 GB, free: 52.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/9.375, allocations: 287.3 kB / 3.538 GB, free: 52.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/9.377, allocations: 1.976 MB / 3.54 GB, free: 50.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/9.378, allocations: 62.91 kB / 3.54 GB, free: 50.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/9.378, allocations: 42.5 kB / 3.54 GB, free: 50.81 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.0002444/9.378, allocations: 170.9 kB / 3.54 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/9.379, allocations: 76.77 kB / 3.54 GB, free: 50.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/9.382, allocations: 2.204 MB / 3.543 GB, free: 50.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.919e-05/9.382, allocations: 35.12 kB / 3.543 GB, free: 50.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/9.382, allocations: 0.9375 kB / 3.543 GB, free: 50.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.26e-06/9.382, allocations: 3.938 kB / 3.543 GB, free: 50.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/9.387, allocations: 3.263 MB / 3.546 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.199e-06/9.387, allocations: 2.188 kB / 3.546 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/9.388, allocations: 193.4 kB / 3.546 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/9.388, allocations: 84.75 kB / 3.546 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/9.389, allocations: 11.38 kB / 3.546 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/9.39, allocations: 1.993 MB / 3.548 GB, free: 48.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.729e-06/9.39, allocations: 0 / 3.548 GB, free: 48.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/9.393, allocations: 1.97 MB / 3.55 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/9.393, allocations: 286.4 kB / 3.55 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/9.394, allocations: 7.562 kB / 3.55 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000891/9.394, allocations: 65.02 kB / 3.55 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/9.395, allocations: 40.33 kB / 3.55 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/9.395, allocations: 25.8 kB / 3.55 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008022/9.395, allocations: 0.4907 MB / 3.551 GB, free: 47.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.05e-07/9.395, allocations: 1.594 kB / 3.551 GB, free: 47.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004848/9.4, allocations: 1.127 MB / 3.552 GB, free: 47.5 MB / 0.4948 GB 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 () * 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.007793/9.408, allocations: 1.544 MB / 3.553 GB, free: 47.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002465/9.411, allocations: 0.9218 MB / 3.554 GB, free: 47.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.047e-06/9.411, allocations: 0 / 3.554 GB, free: 47.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/9.412, allocations: 0.6469 MB / 3.555 GB, free: 47.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/9.415, allocations: 360.3 kB / 3.555 GB, free: 47.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/9.418, allocations: 1.755 MB / 3.557 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/9.419, allocations: 1.131 MB / 3.558 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/9.419, allocations: 72.66 kB / 3.558 GB, free: 46.24 MB / 0.4948 GB Notification: Performance of SimCode: time 1.691e-06/9.419, allocations: 0 / 3.558 GB, free: 46.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.05943/9.479, allocations: 40.39 MB / 3.598 GB, free: 44.04 MB / 0.4948 GB