Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.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.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.109/2.109, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 8 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3698, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.606/7.976, allocations: 2.474 GB / 2.798 GB, free: 50.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/7.976, allocations: 84.39 kB / 2.798 GB, free: 50.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172/9.148, allocations: 212.2 MB / 3.006 GB, free: 27.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/9.148, allocations: 0 / 3.006 GB, free: 27.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/9.148, allocations: 4 kB / 3.006 GB, free: 27.51 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008617/9.156, allocations: 1.734 MB / 3.007 GB, free: 25.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/9.156, allocations: 8.031 kB / 3.007 GB, free: 25.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/9.159, allocations: 231.8 kB / 3.008 GB, free: 25.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/9.16, allocations: 278.5 kB / 3.008 GB, free: 25.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/9.16, allocations: 24.66 kB / 3.008 GB, free: 25.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/9.16, allocations: 28 kB / 3.008 GB, free: 25.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003426/9.163, allocations: 0.8132 MB / 3.009 GB, free: 24.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/9.163, allocations: 0 / 3.009 GB, free: 24.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/9.163, allocations: 16 kB / 3.009 GB, free: 24.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/9.163, allocations: 8 kB / 3.009 GB, free: 24.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/9.167, allocations: 0.9269 MB / 3.01 GB, free: 23.32 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.005131/9.172, allocations: 2.773 MB / 3.012 GB, free: 20.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/9.174, allocations: 374.9 kB / 3.013 GB, free: 19.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636/10.81, allocations: 222.9 MB / 3.23 GB, free: 90.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/10.81, allocations: 465.7 kB / 3.231 GB, free: 90.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 4.138e-06/10.81, allocations: 0 / 3.231 GB, free: 90.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.004532/10.82, allocations: 0.7647 MB / 3.232 GB, free: 90.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/10.82, allocations: 371.1 kB / 3.232 GB, free: 90.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/10.82, allocations: 176.3 kB / 3.232 GB, free: 90.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.478e-05/10.82, allocations: 36.45 kB / 3.232 GB, free: 90.13 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/10.82, allocations: 257.5 kB / 3.232 GB, free: 89.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/10.82, allocations: 118.6 kB / 3.233 GB, free: 89.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/10.82, allocations: 11.91 kB / 3.233 GB, free: 89.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.649e-05/10.82, allocations: 329.1 kB / 3.233 GB, free: 89.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/10.82, allocations: 79.09 kB / 3.233 GB, free: 89.56 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/10.82, allocations: 339.5 kB / 3.233 GB, free: 89.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/10.82, allocations: 125.5 kB / 3.233 GB, free: 89.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/10.82, allocations: 6.938 kB / 3.233 GB, free: 89.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001374/10.82, allocations: 460 kB / 3.234 GB, free: 89.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/10.82, allocations: 6.781 kB / 3.234 GB, free: 89.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/10.82, allocations: 9.094 kB / 3.234 GB, free: 89.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/10.82, allocations: 13.69 kB / 3.234 GB, free: 89.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/10.82, allocations: 137.3 kB / 3.234 GB, free: 89.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/10.82, allocations: 19.05 kB / 3.234 GB, free: 89.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/10.82, allocations: 47.58 kB / 3.234 GB, free: 89.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.43e-05/10.82, allocations: 40.91 kB / 3.234 GB, free: 89.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002679/10.82, allocations: 176.3 kB / 3.234 GB, free: 89.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/10.82, allocations: 25 kB / 3.234 GB, free: 89.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/10.83, allocations: 2.491 MB / 3.237 GB, free: 88.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/10.83, allocations: 19.31 kB / 3.237 GB, free: 88.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/10.83, allocations: 3.562 kB / 3.237 GB, free: 88.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/10.83, allocations: 10.84 kB / 3.237 GB, free: 88.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/10.83, allocations: 0.9302 MB / 3.238 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/10.83, allocations: 3.906 kB / 3.238 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/10.83, allocations: 71.27 kB / 3.238 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/10.83, allocations: 6.656 kB / 3.238 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/10.83, allocations: 13.92 kB / 3.238 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/10.83, allocations: 9.125 kB / 3.238 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/10.83, allocations: 5.281 kB / 3.238 GB, free: 88.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/10.83, allocations: 0.6926 MB / 3.238 GB, free: 88.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/10.83, allocations: 382.2 kB / 3.239 GB, free: 88.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/10.83, allocations: 13.06 kB / 3.239 GB, free: 88.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/10.83, allocations: 22.14 kB / 3.239 GB, free: 88.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/10.83, allocations: 31.75 kB / 3.239 GB, free: 88.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/10.83, allocations: 19.08 kB / 3.239 GB, free: 88.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008752/10.83, allocations: 0.4957 MB / 3.239 GB, free: 88.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.393e-06/10.83, allocations: 0 / 3.239 GB, free: 88.03 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007758/10.84, allocations: 1.509 MB / 3.241 GB, free: 88.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01811/10.86, allocations: 1.891 MB / 3.243 GB, free: 87.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/10.86, allocations: 397.4 kB / 3.243 GB, free: 87.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/10.86, allocations: 0 / 3.243 GB, free: 87.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007427/10.86, allocations: 283.3 kB / 3.243 GB, free: 87.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/10.86, allocations: 123.6 kB / 3.243 GB, free: 87.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.054/14.92, allocations: 0.9283 GB / 4.172 GB, free: 36.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/14.92, allocations: 1.006 MB / 4.173 GB, free: 35.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/14.92, allocations: 58.84 kB / 4.173 GB, free: 35.93 MB / 474.7 MB Notification: Performance of SimCode: time 2.245e-06/14.92, allocations: 0 / 4.173 GB, free: 35.93 MB / 474.7 MB Notification: Performance of Templates: time 0.4011/15.32, allocations: 34.52 MB / 4.207 GB, free: 89.23 MB / 474.7 MB