Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.369/2.369, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004266, allocations: 8 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3503, allocations: 54.87 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.747/8.097, allocations: 2.585 GB / 2.946 GB, free: 117.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/8.098, allocations: 85.89 kB / 2.946 GB, free: 117.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.209/9.306, allocations: 215.9 MB / 3.157 GB, free: 84.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/9.306, allocations: 0 / 3.157 GB, free: 84.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/9.306, allocations: 7 kB / 3.157 GB, free: 84.91 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.008795/9.315, allocations: 1.755 MB / 3.159 GB, free: 83.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/9.315, allocations: 9.156 kB / 3.159 GB, free: 83.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/9.318, allocations: 227.1 kB / 3.159 GB, free: 83.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/9.318, allocations: 279.3 kB / 3.159 GB, free: 83.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/9.318, allocations: 21.95 kB / 3.159 GB, free: 83.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/9.318, allocations: 30.91 kB / 3.159 GB, free: 83.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003297/9.322, allocations: 0.8112 MB / 3.16 GB, free: 83.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/9.322, allocations: 0 / 3.16 GB, free: 83.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/9.322, allocations: 14.56 kB / 3.16 GB, free: 83.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/9.322, allocations: 7.781 kB / 3.16 GB, free: 83.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/9.325, allocations: 0.9269 MB / 3.161 GB, free: 83.52 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.004968/9.33, allocations: 2.774 MB / 3.164 GB, free: 81.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/9.332, allocations: 373.6 kB / 3.164 GB, free: 81.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33/10.66, allocations: 223.3 MB / 3.382 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/10.66, allocations: 465 kB / 3.383 GB, free: 14.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 3.347e-06/10.66, allocations: 2.906 kB / 3.383 GB, free: 14.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.004191/10.67, allocations: 0.761 MB / 3.384 GB, free: 14.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/10.67, allocations: 372.4 kB / 3.384 GB, free: 13.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/10.67, allocations: 185.3 kB / 3.384 GB, free: 13.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/10.67, allocations: 34.7 kB / 3.384 GB, free: 13.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/10.67, allocations: 252.3 kB / 3.384 GB, free: 13.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/10.67, allocations: 111.7 kB / 3.384 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/10.67, allocations: 11.56 kB / 3.384 GB, free: 13.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/10.67, allocations: 331.8 kB / 3.385 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/10.67, allocations: 78.42 kB / 3.385 GB, free: 13.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/10.67, allocations: 337.2 kB / 3.385 GB, free: 12.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/10.67, allocations: 132.2 kB / 3.385 GB, free: 12.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/10.67, allocations: 0 / 3.385 GB, free: 12.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00135/10.67, allocations: 459.1 kB / 3.386 GB, free: 12.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/10.67, allocations: 8 kB / 3.386 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/10.67, allocations: 12 kB / 3.386 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/10.67, allocations: 12.84 kB / 3.386 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/10.67, allocations: 137.2 kB / 3.386 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/10.67, allocations: 23.73 kB / 3.386 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/10.67, allocations: 54.34 kB / 3.386 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/10.67, allocations: 45.66 kB / 3.386 GB, free: 12.21 MB / 490.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.0002373/10.67, allocations: 161.6 kB / 3.386 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.15e-05/10.67, allocations: 27.25 kB / 3.386 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/10.68, allocations: 2.491 MB / 3.389 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/10.68, allocations: 18.78 kB / 3.389 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/10.68, allocations: 4 kB / 3.389 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/10.68, allocations: 3.797 kB / 3.389 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/10.68, allocations: 0.9333 MB / 3.39 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/10.68, allocations: 7.953 kB / 3.39 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/10.68, allocations: 68.89 kB / 3.39 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/10.68, allocations: 12 kB / 3.39 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/10.68, allocations: 14.31 kB / 3.39 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.423e-05/10.68, allocations: 9.812 kB / 3.39 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/10.68, allocations: 4 kB / 3.39 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/10.68, allocations: 0.6868 MB / 3.39 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/10.68, allocations: 393.7 kB / 3.391 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/10.68, allocations: 7.812 kB / 3.391 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/10.68, allocations: 19.42 kB / 3.391 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/10.68, allocations: 38.11 kB / 3.391 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/10.68, allocations: 12 kB / 3.391 GB, free: 9.234 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008308/10.68, allocations: 0.4936 MB / 3.391 GB, free: 8.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/10.68, allocations: 0 / 3.391 GB, free: 8.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00705/10.69, allocations: 1.529 MB / 3.393 GB, free: 7.672 MB / 490.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.01356/10.7, allocations: 1.896 MB / 3.395 GB, free: 6.148 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/10.7, allocations: 398.7 kB / 3.395 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/10.7, allocations: 0 / 3.395 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/10.71, allocations: 285.1 kB / 3.395 GB, free: 5.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/10.71, allocations: 130.9 kB / 3.395 GB, free: 5.684 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.475/15.18, allocations: 0.9609 GB / 4.356 GB, free: 89.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/15.18, allocations: 1.004 MB / 4.357 GB, free: 89.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/15.18, allocations: 57.92 kB / 4.357 GB, free: 89.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.153e-06/15.18, allocations: 1.75 kB / 4.357 GB, free: 89.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.06944/15.25, allocations: 34.79 MB / 4.391 GB, free: 87.46 MB / 0.4948 GB