Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.883/1.883, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004361, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4087, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.53/7.939, allocations: 2.516 GB / 2.84 GB, free: 3.082 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/7.939, allocations: 94.14 kB / 2.84 GB, free: 3.031 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.919/10.86, allocations: 491.4 MB / 3.32 GB, free: 36.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.705e-06/10.86, allocations: 7.75 kB / 3.32 GB, free: 36.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.056e-05/10.86, allocations: 17.53 kB / 3.32 GB, free: 36.59 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.008248/10.87, allocations: 1.756 MB / 3.322 GB, free: 35.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/10.87, allocations: 12.03 kB / 3.322 GB, free: 35.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/10.87, allocations: 318.6 kB / 3.322 GB, free: 35.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/10.87, allocations: 0.6011 MB / 3.323 GB, free: 34.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/10.87, allocations: 104.7 kB / 3.323 GB, free: 34.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/10.87, allocations: 67.89 kB / 3.323 GB, free: 34.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003835/10.88, allocations: 1.16 MB / 3.324 GB, free: 32.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/10.88, allocations: 3.938 kB / 3.324 GB, free: 32.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/10.88, allocations: 28 kB / 3.324 GB, free: 32.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.372e-05/10.88, allocations: 45.28 kB / 3.324 GB, free: 32.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/10.88, allocations: 0.8284 MB / 3.325 GB, free: 32.06 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.009209/10.89, allocations: 5.484 MB / 3.33 GB, free: 26.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/10.89, allocations: 0.5669 MB / 3.331 GB, free: 25.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5275/11.42, allocations: 48.9 MB / 3.379 GB, free: 56.63 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/11.42, allocations: 38.41 kB / 3.379 GB, free: 56.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 5.381e-06/11.42, allocations: 0.8125 kB / 3.379 GB, free: 56.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.007709/11.43, allocations: 1.929 MB / 3.38 GB, free: 56.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/11.43, allocations: 161.9 kB / 3.381 GB, free: 56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/11.43, allocations: 0.6079 MB / 3.381 GB, free: 55.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.492e-05/11.43, allocations: 36.61 kB / 3.381 GB, free: 55.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/11.43, allocations: 433.1 kB / 3.382 GB, free: 55.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/11.43, allocations: 172.8 kB / 3.382 GB, free: 55.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/11.43, allocations: 18.78 kB / 3.382 GB, free: 55.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.246e-05/11.43, allocations: 344.2 kB / 3.382 GB, free: 55.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006257/11.43, allocations: 223.9 kB / 3.382 GB, free: 55.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008378/11.43, allocations: 0.5888 MB / 3.383 GB, free: 54.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008083/11.43, allocations: 338.9 kB / 3.383 GB, free: 54.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/11.43, allocations: 3.594 kB / 3.383 GB, free: 54.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002233/11.43, allocations: 0.856 MB / 3.384 GB, free: 54.65 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/11.43, allocations: 11.19 kB / 3.384 GB, free: 54.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/11.43, allocations: 13.69 kB / 3.384 GB, free: 54.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/11.43, allocations: 66.31 kB / 3.384 GB, free: 54.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/11.44, allocations: 295.7 kB / 3.384 GB, free: 54.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/11.44, allocations: 1.971 MB / 3.386 GB, free: 52.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/11.44, allocations: 67.56 kB / 3.386 GB, free: 52.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/11.44, allocations: 42.16 kB / 3.386 GB, free: 52.81 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.0006979/11.44, allocations: 276.8 kB / 3.387 GB, free: 52.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/11.44, allocations: 73.59 kB / 3.387 GB, free: 52.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/11.44, allocations: 2.219 MB / 3.389 GB, free: 52.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/11.44, allocations: 31.36 kB / 3.389 GB, free: 52.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/11.44, allocations: 3.781 kB / 3.389 GB, free: 52.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/11.44, allocations: 3.688 kB / 3.389 GB, free: 52.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/11.45, allocations: 3.278 MB / 3.392 GB, free: 51.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/11.45, allocations: 7.25 kB / 3.392 GB, free: 51.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/11.45, allocations: 183.3 kB / 3.392 GB, free: 51.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006073/11.45, allocations: 91.7 kB / 3.392 GB, free: 51.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/11.45, allocations: 10.59 kB / 3.393 GB, free: 51.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/11.45, allocations: 2.001 MB / 3.394 GB, free: 50.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/11.45, allocations: 9.797 kB / 3.394 GB, free: 50.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/11.46, allocations: 1.977 MB / 3.396 GB, free: 49.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007353/11.46, allocations: 283.8 kB / 3.397 GB, free: 49.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/11.46, allocations: 11.06 kB / 3.397 GB, free: 49.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/11.46, allocations: 61.72 kB / 3.397 GB, free: 49.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/11.46, allocations: 34.98 kB / 3.397 GB, free: 49.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/11.46, allocations: 20.55 kB / 3.397 GB, free: 49.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001017/11.46, allocations: 0.4974 MB / 3.397 GB, free: 49.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.62e-07/11.46, allocations: 0 / 3.397 GB, free: 49.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006444/11.47, allocations: 1.122 MB / 3.398 GB, free: 49.52 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.01051/11.48, allocations: 1.551 MB / 3.4 GB, free: 49.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003001/11.48, allocations: 0.9287 MB / 3.401 GB, free: 49.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/11.48, allocations: 0 / 3.401 GB, free: 49.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/11.48, allocations: 0.6609 MB / 3.401 GB, free: 49.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/11.48, allocations: 359.3 kB / 3.402 GB, free: 49.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/11.49, allocations: 2.753 MB / 3.404 GB, free: 48.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/11.49, allocations: 1.128 MB / 3.406 GB, free: 47.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/11.49, allocations: 76.31 kB / 3.406 GB, free: 47.52 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/11.49, allocations: 0 / 3.406 GB, free: 47.52 MB / 458.7 MB Notification: Performance of Templates: time 0.07758/11.57, allocations: 40.47 MB / 3.445 GB, free: 45.12 MB / 458.7 MB