Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004426, allocations: 12 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2826, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.879/6.162, allocations: 2.585 GB / 2.946 GB, free: 18.53 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/6.162, allocations: 87.89 kB / 2.946 GB, free: 18.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9349/7.097, allocations: 215.9 MB / 3.157 GB, free: 5.082 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.86e-06/7.097, allocations: 0 / 3.157 GB, free: 5.082 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/7.097, allocations: 4 kB / 3.157 GB, free: 5.078 MB / 490.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.007138/7.104, allocations: 1.754 MB / 3.158 GB, free: 3.273 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/7.104, allocations: 8.031 kB / 3.158 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/7.106, allocations: 227.5 kB / 3.159 GB, free: 3.043 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/7.107, allocations: 278.5 kB / 3.159 GB, free: 2.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/7.107, allocations: 25 kB / 3.159 GB, free: 2.707 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/7.107, allocations: 31.95 kB / 3.159 GB, free: 2.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/7.11, allocations: 0.8093 MB / 3.16 GB, free: 1.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/7.11, allocations: 3.938 kB / 3.16 GB, free: 1.816 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.938e-05/7.11, allocations: 12 kB / 3.16 GB, free: 1.805 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/7.11, allocations: 8 kB / 3.16 GB, free: 1.797 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/7.113, allocations: 0.9192 MB / 3.161 GB, free: 0.8789 MB / 490.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.2875/7.4, allocations: 2.762 MB / 3.163 GB, free: 79.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/7.402, allocations: 368.1 kB / 3.164 GB, free: 79.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9605/8.363, allocations: 223.6 MB / 3.382 GB, free: 94.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/8.364, allocations: 462.9 kB / 3.383 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 4.133e-06/8.364, allocations: 0 / 3.383 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.004019/8.369, allocations: 0.7626 MB / 3.383 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/8.369, allocations: 371.3 kB / 3.384 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/8.369, allocations: 164.8 kB / 3.384 GB, free: 93.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/8.369, allocations: 31.45 kB / 3.384 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/8.369, allocations: 258.5 kB / 3.384 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/8.369, allocations: 119.3 kB / 3.384 GB, free: 93.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/8.369, allocations: 9.094 kB / 3.384 GB, free: 93.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/8.369, allocations: 324.3 kB / 3.384 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/8.37, allocations: 81.2 kB / 3.385 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/8.37, allocations: 338.6 kB / 3.385 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/8.37, allocations: 131.4 kB / 3.385 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.266e-06/8.37, allocations: 3.188 kB / 3.385 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001204/8.371, allocations: 459.4 kB / 3.385 GB, free: 92.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/8.372, allocations: 5.562 kB / 3.385 GB, free: 92.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/8.372, allocations: 15.42 kB / 3.385 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-05/8.372, allocations: 11.66 kB / 3.385 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/8.372, allocations: 135.3 kB / 3.386 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.202e-05/8.372, allocations: 22.84 kB / 3.386 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/8.373, allocations: 48.19 kB / 3.386 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/8.373, allocations: 52.3 kB / 3.386 GB, free: 92.79 MB / 0.5105 GB 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.000228/8.373, allocations: 160.1 kB / 3.386 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/8.373, allocations: 26.44 kB / 3.386 GB, free: 92.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/8.376, allocations: 2.495 MB / 3.388 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/8.377, allocations: 21.83 kB / 3.388 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/8.377, allocations: 3.938 kB / 3.388 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/8.377, allocations: 10.5 kB / 3.388 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/8.378, allocations: 0.9233 MB / 3.389 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/8.378, allocations: 6.531 kB / 3.389 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/8.378, allocations: 76.42 kB / 3.389 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/8.378, allocations: 7.656 kB / 3.389 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/8.378, allocations: 15.66 kB / 3.389 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/8.378, allocations: 3.844 kB / 3.389 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.629e-06/8.378, allocations: 7.453 kB / 3.389 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/8.38, allocations: 0.8346 MB / 3.39 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/8.38, allocations: 385.7 kB / 3.391 GB, free: 91.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/8.38, allocations: 13.41 kB / 3.391 GB, free: 91.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/8.381, allocations: 30.52 kB / 3.391 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/8.381, allocations: 30.31 kB / 3.391 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/8.381, allocations: 14.47 kB / 3.391 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007443/8.381, allocations: 0.4915 MB / 3.391 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.23e-06/8.382, allocations: 0.5625 kB / 3.391 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006127/8.388, allocations: 1.528 MB / 3.393 GB, free: 91.44 MB / 0.5105 GB 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.01137/8.399, allocations: 1.897 MB / 3.394 GB, free: 91.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001017/8.4, allocations: 393.8 kB / 3.395 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.569e-06/8.4, allocations: 14.44 kB / 3.395 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004469/8.401, allocations: 272.3 kB / 3.395 GB, free: 91.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009578/8.402, allocations: 135.4 kB / 3.395 GB, free: 91.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.213/11.61, allocations: 0.9607 GB / 4.356 GB, free: 93.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/11.62, allocations: 1.003 MB / 4.357 GB, free: 92.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/11.62, allocations: 59.27 kB / 4.357 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.679e-06/11.62, allocations: 0 / 4.357 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.0524/11.67, allocations: 34.79 MB / 4.391 GB, free: 70.99 MB / 0.5105 GB