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.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_pT") Notification: Performance of loadModel(ModelicaTest): time 1.906/1.906, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.773e-05/1.777e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2583, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.992/6.25, allocations: 2.472 GB / 2.785 GB, free: 119.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/6.251, allocations: 81.02 kB / 2.785 GB, free: 119.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9101/7.161, allocations: 208.3 MB / 2.988 GB, free: 67.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.854e-06/7.161, allocations: 0 / 2.988 GB, free: 67.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/7.161, allocations: 5.781 kB / 2.988 GB, free: 67.19 MB / 426.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.007418/7.168, allocations: 1.711 MB / 2.99 GB, free: 65.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/7.168, allocations: 8.031 kB / 2.99 GB, free: 65.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/7.171, allocations: 190.8 kB / 2.99 GB, free: 65.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/7.171, allocations: 263.9 kB / 2.99 GB, free: 65.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/7.171, allocations: 12 kB / 2.99 GB, free: 65.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/7.171, allocations: 16 kB / 2.99 GB, free: 65.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008074/7.172, allocations: 472.2 kB / 2.991 GB, free: 64.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/7.173, allocations: 375.3 kB / 2.991 GB, free: 64.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/7.173, allocations: 7.938 kB / 2.991 GB, free: 64.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/7.173, allocations: 7.25 kB / 2.991 GB, free: 64.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/7.173, allocations: 8 kB / 2.991 GB, free: 64.67 MB / 426.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.6479/7.821, allocations: 127.4 MB / 3.115 GB, free: 45.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/7.821, allocations: 75.48 kB / 3.115 GB, free: 45.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/7.821, allocations: 28.17 kB / 3.115 GB, free: 45.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1208/7.942, allocations: 46.16 MB / 3.161 GB, free: 20.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/7.942, allocations: 110.1 kB / 3.161 GB, free: 20.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.739e-06/7.942, allocations: 0 / 3.161 GB, free: 20.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.003593/7.946, allocations: 0.5833 MB / 3.161 GB, free: 19.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/7.946, allocations: 81.11 kB / 3.161 GB, free: 19.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/7.946, allocations: 231 kB / 3.161 GB, free: 19.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/7.946, allocations: 25.7 kB / 3.162 GB, free: 19.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/7.946, allocations: 316.2 kB / 3.162 GB, free: 19.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/7.946, allocations: 54.75 kB / 3.162 GB, free: 19.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/7.946, allocations: 0 / 3.162 GB, free: 19.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/7.946, allocations: 329.1 kB / 3.162 GB, free: 18.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/7.947, allocations: 70.72 kB / 3.162 GB, free: 18.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/7.947, allocations: 324.3 kB / 3.163 GB, free: 18.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/7.949, allocations: 206.2 kB / 3.163 GB, free: 18.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/7.949, allocations: 4 kB / 3.163 GB, free: 18.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002389/7.951, allocations: 491.1 kB / 3.163 GB, free: 18.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/7.951, allocations: 8 kB / 3.163 GB, free: 18.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/7.951, allocations: 8 kB / 3.163 GB, free: 18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/7.951, allocations: 16.56 kB / 3.163 GB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/7.953, allocations: 214.8 kB / 3.163 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003439/7.953, allocations: 0.6049 MB / 3.164 GB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007567/7.954, allocations: 17.47 kB / 3.164 GB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-05/7.954, allocations: 43.58 kB / 3.164 GB, free: 17.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * 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): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000149/7.954, allocations: 130 kB / 3.164 GB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/7.954, allocations: 19.81 kB / 3.164 GB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/7.955, allocations: 0.7948 MB / 3.165 GB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/7.955, allocations: 6.312 kB / 3.165 GB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/7.955, allocations: 0 / 3.165 GB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.823e-06/7.955, allocations: 7.891 kB / 3.165 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/7.956, allocations: 414.8 kB / 3.165 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.687e-06/7.956, allocations: 4 kB / 3.165 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/7.957, allocations: 53.7 kB / 3.165 GB, free: 16.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/7.957, allocations: 234.8 kB / 3.166 GB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/7.957, allocations: 0 / 3.166 GB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004248/7.957, allocations: 0.6575 MB / 3.166 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/7.957, allocations: 3.953 kB / 3.166 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000938/7.958, allocations: 0.5808 MB / 3.167 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/7.959, allocations: 143.9 kB / 3.167 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-05/7.959, allocations: 4 kB / 3.167 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/7.959, allocations: 11.7 kB / 3.167 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/7.959, allocations: 14.47 kB / 3.167 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/7.959, allocations: 7.938 kB / 3.167 GB, free: 15.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002709/7.959, allocations: 225.6 kB / 3.167 GB, free: 14.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.38e-07/7.959, allocations: 0 / 3.167 GB, free: 14.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006443/7.966, allocations: 1.579 MB / 3.169 GB, free: 13.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.01236/7.978, allocations: 2.041 MB / 3.171 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008461/7.979, allocations: 305.4 kB / 3.171 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.518e-06/7.979, allocations: 0 / 3.171 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/7.98, allocations: 163 kB / 3.171 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/7.98, allocations: 41.3 kB / 3.171 GB, free: 11.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/7.981, allocations: 0.4954 MB / 3.172 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/7.981, allocations: 0.8074 MB / 3.173 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/7.982, allocations: 68.88 kB / 3.173 GB, free: 10.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.027e-06/7.982, allocations: 4 kB / 3.173 GB, free: 10.6 MB / 426.7 MB Notification: Performance of Templates: time 0.06694/8.049, allocations: 36.84 MB / 3.209 GB, free: 2.156 MB / 442.7 MB