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.WaterIF97_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.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005938/0.0005942, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3456, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.372/7.717, allocations: 2.516 GB / 2.84 GB, free: 6.301 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/7.718, allocations: 95.77 kB / 2.84 GB, free: 6.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.884/10.6, allocations: 491.3 MB / 3.32 GB, free: 37.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.315e-06/10.6, allocations: 0 / 3.32 GB, free: 37.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.615e-05/10.6, allocations: 24.27 kB / 3.32 GB, free: 37.7 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.008343/10.61, allocations: 1.795 MB / 3.322 GB, free: 36.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/10.61, allocations: 7.938 kB / 3.322 GB, free: 36.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003401/10.61, allocations: 317.4 kB / 3.322 GB, free: 36.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/10.62, allocations: 0.6017 MB / 3.323 GB, free: 36.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/10.62, allocations: 115.6 kB / 3.323 GB, free: 36.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/10.62, allocations: 57.2 kB / 3.323 GB, free: 36.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/10.62, allocations: 1.207 MB / 3.324 GB, free: 35.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/10.62, allocations: 11.5 kB / 3.324 GB, free: 35.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/10.62, allocations: 26.03 kB / 3.324 GB, free: 35.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.673e-05/10.62, allocations: 42.67 kB / 3.324 GB, free: 35.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/10.63, allocations: 1.052 MB / 3.325 GB, free: 35.21 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.009719/10.64, allocations: 5.6 MB / 3.331 GB, free: 29.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/10.64, allocations: 0.7868 MB / 3.331 GB, free: 29.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05751/10.7, allocations: 18.71 MB / 3.35 GB, free: 8.258 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/10.7, allocations: 44 kB / 3.35 GB, free: 8.207 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.116e-06/10.7, allocations: 0 / 3.35 GB, free: 8.207 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.01103/10.71, allocations: 2.354 MB / 3.352 GB, free: 5.801 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/10.71, allocations: 166.6 kB / 3.352 GB, free: 5.602 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/10.71, allocations: 0.5937 MB / 3.353 GB, free: 4.996 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/10.71, allocations: 33.7 kB / 3.353 GB, free: 4.957 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/10.71, allocations: 428.7 kB / 3.353 GB, free: 4.535 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000234/10.71, allocations: 180.8 kB / 3.353 GB, free: 4.363 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/10.71, allocations: 16 kB / 3.353 GB, free: 4.348 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.923e-05/10.71, allocations: 346.8 kB / 3.354 GB, free: 4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/10.71, allocations: 289.8 kB / 3.354 GB, free: 3.719 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/10.71, allocations: 0.6467 MB / 3.355 GB, free: 2.906 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/10.71, allocations: 388.5 kB / 3.355 GB, free: 2.523 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/10.71, allocations: 4 kB / 3.355 GB, free: 2.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003161/10.72, allocations: 0.9617 MB / 3.356 GB, free: 1.551 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/10.72, allocations: 16 kB / 3.356 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/10.72, allocations: 12 kB / 3.356 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004346/10.72, allocations: 68.83 kB / 3.356 GB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/10.72, allocations: 315.5 kB / 3.356 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/10.72, allocations: 1.987 MB / 3.358 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/10.72, allocations: 80.14 kB / 3.358 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/10.72, allocations: 47.98 kB / 3.358 GB, free: 14.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0007443/10.72, allocations: 277.4 kB / 3.359 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/10.72, allocations: 71.16 kB / 3.359 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005913/10.73, allocations: 2.605 MB / 3.361 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.594e-05/10.73, allocations: 31.95 kB / 3.361 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/10.73, allocations: 0 / 3.361 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/10.73, allocations: 3.984 kB / 3.361 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008498/10.74, allocations: 3.791 MB / 3.365 GB, free: 8.031 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/10.74, allocations: 0 / 3.365 GB, free: 8.031 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/10.74, allocations: 239.7 kB / 3.365 GB, free: 7.797 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006909/10.74, allocations: 100.6 kB / 3.365 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/10.74, allocations: 12 kB / 3.365 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/10.74, allocations: 1.999 MB / 3.367 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/10.74, allocations: 4.281 kB / 3.367 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005653/10.75, allocations: 2.361 MB / 3.369 GB, free: 3.137 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008254/10.75, allocations: 330.8 kB / 3.37 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/10.75, allocations: 15.8 kB / 3.37 GB, free: 2.781 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/10.75, allocations: 59.95 kB / 3.37 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/10.75, allocations: 52.48 kB / 3.37 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/10.75, allocations: 19.98 kB / 3.37 GB, free: 2.652 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001307/10.75, allocations: 0.5459 MB / 3.37 GB, free: 2.105 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.252e-06/10.75, allocations: 4 kB / 3.37 GB, free: 2.102 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006518/10.76, allocations: 1.133 MB / 3.372 GB, free: 0.9727 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.341/11.1, allocations: 1.532 MB / 3.373 GB, free: 62.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004313/11.11, allocations: 1.106 MB / 3.374 GB, free: 62.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/11.11, allocations: 2.688 kB / 3.374 GB, free: 62.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002802/11.11, allocations: 0.8033 MB / 3.375 GB, free: 62.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/11.11, allocations: 374 kB / 3.375 GB, free: 62.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006174/11.12, allocations: 3.074 MB / 3.378 GB, free: 61.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009532/11.12, allocations: 1.185 MB / 3.379 GB, free: 60.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/11.12, allocations: 71.31 kB / 3.38 GB, free: 60.48 MB / 458.7 MB Notification: Performance of SimCode: time 1.603e-06/11.12, allocations: 3.281 kB / 3.38 GB, free: 60.48 MB / 458.7 MB Notification: Performance of Templates: time 0.08667/11.21, allocations: 42.02 MB / 3.421 GB, free: 58.54 MB / 458.7 MB