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.234/2.234, allocations: 209.3 MB / 224.9 MB, free: 1.203 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004486, allocations: 8 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.08992, allocations: 48.71 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.121/6.211, allocations: 2.474 GB / 2.798 GB, free: 131.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/6.211, allocations: 78.23 kB / 2.798 GB, free: 131.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9683/7.179, allocations: 212.2 MB / 3.005 GB, free: 65.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.664e-06/7.18, allocations: 0 / 3.005 GB, free: 65.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/7.18, allocations: 3.844 kB / 3.005 GB, free: 65.12 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.007078/7.187, allocations: 1.727 MB / 3.007 GB, free: 64.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/7.187, allocations: 11.69 kB / 3.007 GB, free: 64.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/7.189, allocations: 229.2 kB / 3.007 GB, free: 64.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/7.189, allocations: 276.8 kB / 3.007 GB, free: 63.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/7.189, allocations: 23.78 kB / 3.007 GB, free: 63.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/7.19, allocations: 28.88 kB / 3.007 GB, free: 63.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/7.192, allocations: 0.8111 MB / 3.008 GB, free: 63.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/7.192, allocations: 0 / 3.008 GB, free: 63.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/7.192, allocations: 19.97 kB / 3.008 GB, free: 63.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/7.193, allocations: 6.906 kB / 3.008 GB, free: 63.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/7.196, allocations: 0.9366 MB / 3.009 GB, free: 63.72 MB / 426.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.003776/7.199, allocations: 2.767 MB / 3.012 GB, free: 61.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/7.201, allocations: 375.8 kB / 3.012 GB, free: 61.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8701/8.071, allocations: 222.9 MB / 3.23 GB, free: 6.008 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001684/8.073, allocations: 471.5 kB / 3.23 GB, free: 5.684 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 3.837e-06/8.073, allocations: 0 / 3.23 GB, free: 5.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.003704/8.077, allocations: 0.7585 MB / 3.231 GB, free: 5.266 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/8.077, allocations: 374.9 kB / 3.231 GB, free: 4.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/8.077, allocations: 166.2 kB / 3.232 GB, free: 4.688 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/8.077, allocations: 40.83 kB / 3.232 GB, free: 4.648 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/8.077, allocations: 253.4 kB / 3.232 GB, free: 4.438 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.832e-05/8.077, allocations: 113 kB / 3.232 GB, free: 4.367 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/8.077, allocations: 6.938 kB / 3.232 GB, free: 4.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.356e-05/8.077, allocations: 332.2 kB / 3.232 GB, free: 4.051 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/8.078, allocations: 79.91 kB / 3.232 GB, free: 4.008 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/8.078, allocations: 337.5 kB / 3.233 GB, free: 3.609 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/8.078, allocations: 135.3 kB / 3.233 GB, free: 3.535 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.36e-06/8.078, allocations: 0 / 3.233 GB, free: 3.535 MB / 442.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001105/8.079, allocations: 452.2 kB / 3.233 GB, free: 3.273 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/8.079, allocations: 13.11 kB / 3.233 GB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/8.079, allocations: 15.95 kB / 3.233 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/8.079, allocations: 12 kB / 3.233 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/8.08, allocations: 134.6 kB / 3.233 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/8.08, allocations: 24.3 kB / 3.233 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/8.081, allocations: 47.45 kB / 3.234 GB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.191e-05/8.081, allocations: 47.14 kB / 3.234 GB, free: 3.07 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 () * 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.0001957/8.081, allocations: 159.4 kB / 3.234 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/8.081, allocations: 31.28 kB / 3.234 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/8.084, allocations: 2.491 MB / 3.236 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/8.084, allocations: 23.52 kB / 3.236 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.392e-06/8.084, allocations: 4 kB / 3.236 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.682e-06/8.084, allocations: 3.422 kB / 3.236 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/8.085, allocations: 0.932 MB / 3.237 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.669e-06/8.085, allocations: 8 kB / 3.237 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/8.086, allocations: 68.7 kB / 3.237 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/8.086, allocations: 12.95 kB / 3.237 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/8.086, allocations: 10.56 kB / 3.237 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-06/8.086, allocations: 4 kB / 3.237 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.028e-06/8.086, allocations: 11.89 kB / 3.237 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/8.087, allocations: 0.8306 MB / 3.238 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004307/8.087, allocations: 388.6 kB / 3.238 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/8.087, allocations: 12.16 kB / 3.238 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/8.088, allocations: 22.72 kB / 3.238 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/8.088, allocations: 38.27 kB / 3.238 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/8.088, allocations: 17.12 kB / 3.239 GB, free: 15.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008429/8.089, allocations: 0.4948 MB / 3.239 GB, free: 15.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.84e-07/8.089, allocations: 0 / 3.239 GB, free: 15.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006168/8.095, allocations: 1.509 MB / 3.24 GB, free: 14.28 MB / 458.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.01106/8.106, allocations: 1.875 MB / 3.242 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/8.107, allocations: 405.1 kB / 3.243 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.3e-06/8.107, allocations: 0 / 3.243 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004671/8.108, allocations: 276.1 kB / 3.243 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008937/8.109, allocations: 132.5 kB / 3.243 GB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.329/11.44, allocations: 0.9283 GB / 4.171 GB, free: 73.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/11.44, allocations: 1.006 MB / 4.172 GB, free: 72.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/11.44, allocations: 53.77 kB / 4.172 GB, free: 72.21 MB / 458.7 MB Notification: Performance of SimCode: time 1.761e-06/11.44, allocations: 3.609 kB / 4.172 GB, free: 72.21 MB / 458.7 MB Notification: Performance of Templates: time 0.05224/11.49, allocations: 34.53 MB / 4.206 GB, free: 48 MB / 458.7 MB