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_ph.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.099/2.099, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.588e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.16/6.262, allocations: 2.474 GB / 2.793 GB, free: 118.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/6.262, allocations: 76.16 kB / 2.793 GB, free: 118.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9248/7.187, allocations: 211.9 MB / 3 GB, free: 62.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.708e-06/7.187, allocations: 0 / 3 GB, free: 62.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/7.187, allocations: 3.906 kB / 3 GB, free: 62.49 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.006862/7.194, allocations: 1.729 MB / 3.002 GB, free: 61.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/7.194, allocations: 7.125 kB / 3.002 GB, free: 61.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/7.196, allocations: 233.3 kB / 3.002 GB, free: 61.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/7.197, allocations: 269 kB / 3.002 GB, free: 61.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/7.197, allocations: 21.72 kB / 3.002 GB, free: 61.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/7.197, allocations: 29.47 kB / 3.002 GB, free: 61.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/7.199, allocations: 0.8633 MB / 3.003 GB, free: 61.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/7.199, allocations: 2.25 kB / 3.003 GB, free: 61.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/7.2, allocations: 15.47 kB / 3.003 GB, free: 61.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/7.2, allocations: 7.938 kB / 3.003 GB, free: 61.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/7.203, allocations: 0.9654 MB / 3.004 GB, free: 61.23 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.004052/7.207, allocations: 2.769 MB / 3.007 GB, free: 59.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/7.208, allocations: 417.8 kB / 3.007 GB, free: 59.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/7.209, allocations: 74.48 kB / 3.007 GB, free: 59.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9091/8.118, allocations: 224.5 MB / 3.227 GB, free: 21.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/8.119, allocations: 0.504 MB / 3.227 GB, free: 21.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 4.63e-06/8.119, allocations: 0 / 3.227 GB, free: 21.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.00349/8.123, allocations: 0.7867 MB / 3.228 GB, free: 21.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/8.123, allocations: 372.6 kB / 3.228 GB, free: 20.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/8.123, allocations: 172.9 kB / 3.228 GB, free: 20.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/8.123, allocations: 33.33 kB / 3.228 GB, free: 20.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/8.123, allocations: 259.2 kB / 3.229 GB, free: 20.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.166e-05/8.123, allocations: 106.1 kB / 3.229 GB, free: 20.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/8.124, allocations: 7 kB / 3.229 GB, free: 20.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/8.124, allocations: 330.4 kB / 3.229 GB, free: 19.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/8.124, allocations: 76.38 kB / 3.229 GB, free: 19.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/8.124, allocations: 329.3 kB / 3.229 GB, free: 19.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/8.124, allocations: 125 kB / 3.23 GB, free: 19.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.107e-06/8.124, allocations: 4 kB / 3.23 GB, free: 19.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009695/8.125, allocations: 442.7 kB / 3.23 GB, free: 19.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/8.125, allocations: 12.03 kB / 3.23 GB, free: 19.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/8.125, allocations: 15 kB / 3.23 GB, free: 19.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/8.125, allocations: 13.86 kB / 3.23 GB, free: 19.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/8.126, allocations: 138.8 kB / 3.23 GB, free: 19.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/8.126, allocations: 19.83 kB / 3.23 GB, free: 19.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/8.127, allocations: 43.8 kB / 3.23 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/8.127, allocations: 51.61 kB / 3.23 GB, free: 18.95 MB / 442.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 () * 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.00015/8.127, allocations: 149.7 kB / 3.23 GB, free: 18.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/8.127, allocations: 27.72 kB / 3.23 GB, free: 18.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/8.129, allocations: 1.766 MB / 3.232 GB, free: 17.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/8.129, allocations: 22.3 kB / 3.232 GB, free: 17.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.618e-06/8.129, allocations: 8 kB / 3.232 GB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/8.129, allocations: 4 kB / 3.232 GB, free: 17.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/8.13, allocations: 0.8956 MB / 3.233 GB, free: 17.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1e-05/8.13, allocations: 7.953 kB / 3.233 GB, free: 17.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/8.131, allocations: 81.2 kB / 3.233 GB, free: 17.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/8.131, allocations: 4 kB / 3.233 GB, free: 17.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/8.131, allocations: 21.73 kB / 3.233 GB, free: 17.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.035e-06/8.131, allocations: 4 kB / 3.233 GB, free: 17.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.878e-06/8.131, allocations: 7.469 kB / 3.233 GB, free: 17.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/8.132, allocations: 0.8143 MB / 3.234 GB, free: 16.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/8.132, allocations: 337.5 kB / 3.234 GB, free: 16.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/8.132, allocations: 10.38 kB / 3.234 GB, free: 16.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/8.133, allocations: 26.17 kB / 3.234 GB, free: 16.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/8.133, allocations: 37.81 kB / 3.234 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/8.133, allocations: 32.88 kB / 3.234 GB, free: 16.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005845/8.134, allocations: 423.4 kB / 3.235 GB, free: 15.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.54e-07/8.134, allocations: 0 / 3.235 GB, free: 15.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005822/8.14, allocations: 1.504 MB / 3.236 GB, free: 14.67 MB / 442.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 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete 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.01054/8.15, allocations: 1.879 MB / 3.238 GB, free: 13.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000823/8.151, allocations: 395.2 kB / 3.239 GB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.512e-06/8.151, allocations: 0 / 3.239 GB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/8.151, allocations: 281.2 kB / 3.239 GB, free: 12.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/8.152, allocations: 130 kB / 3.239 GB, free: 12.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.695/10.85, allocations: 0.7291 GB / 3.968 GB, free: 80.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/10.85, allocations: 0.9652 MB / 3.969 GB, free: 79.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/10.85, allocations: 81.17 kB / 3.969 GB, free: 79.48 MB / 458.7 MB Notification: Performance of SimCode: time 1.863e-06/10.85, allocations: 0 / 3.969 GB, free: 79.48 MB / 458.7 MB Notification: Performance of Templates: time 0.05591/10.9, allocations: 34.1 MB / 4.002 GB, free: 77.8 MB / 458.7 MB