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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.456/2.456, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.694e-05/1.71e-05, allocations: 0 / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2814, allocations: 54.86 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.402/6.684, allocations: 2.584 GB / 2.934 GB, free: 106.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/6.684, allocations: 82.27 kB / 2.934 GB, free: 106.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9479/7.632, allocations: 212.2 MB / 3.141 GB, free: 71.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.839e-06/7.632, allocations: 0 / 3.141 GB, free: 71.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/7.632, allocations: 3.906 kB / 3.141 GB, free: 71.38 MB / 474.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.006999/7.639, allocations: 1.75 MB / 3.143 GB, free: 70.46 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/7.639, allocations: 7.562 kB / 3.143 GB, free: 70.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/7.641, allocations: 225.7 kB / 3.143 GB, free: 70.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/7.642, allocations: 281.9 kB / 3.144 GB, free: 70.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/7.642, allocations: 11.2 kB / 3.144 GB, free: 70.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/7.642, allocations: 21.36 kB / 3.144 GB, free: 70.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008688/7.643, allocations: 0.5195 MB / 3.144 GB, free: 70.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/7.643, allocations: 379.3 kB / 3.145 GB, free: 70.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/7.643, allocations: 5.281 kB / 3.145 GB, free: 70.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/7.644, allocations: 0 / 3.145 GB, free: 70.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/7.644, allocations: 7.781 kB / 3.145 GB, free: 70.09 MB / 474.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.9012/8.545, allocations: 216.8 MB / 3.356 GB, free: 49.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.486e-05/8.545, allocations: 30.64 kB / 3.356 GB, free: 49.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/8.545, allocations: 25.2 kB / 3.356 GB, free: 49.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.113/8.658, allocations: 45.86 MB / 3.401 GB, free: 8.602 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/8.658, allocations: 116.5 kB / 3.401 GB, free: 8.492 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 3.118e-06/8.658, allocations: 0 / 3.401 GB, free: 8.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.001847/8.66, allocations: 381 kB / 3.402 GB, free: 8.285 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002491/8.66, allocations: 129.8 kB / 3.402 GB, free: 24.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/8.661, allocations: 234.9 kB / 3.402 GB, free: 23.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/8.661, allocations: 27.39 kB / 3.402 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/8.661, allocations: 325.6 kB / 3.402 GB, free: 23.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/8.661, allocations: 38.38 kB / 3.402 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/8.661, allocations: 0 / 3.402 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001686/8.661, allocations: 335.8 kB / 3.403 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/8.661, allocations: 61.97 kB / 3.403 GB, free: 23.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/8.662, allocations: 320.1 kB / 3.403 GB, free: 22.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/8.662, allocations: 143.6 kB / 3.403 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.019e-06/8.662, allocations: 4 kB / 3.403 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001562/8.664, allocations: 421.5 kB / 3.403 GB, free: 22.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/8.664, allocations: 8.984 kB / 3.403 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/8.664, allocations: 12 kB / 3.403 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/8.664, allocations: 12 kB / 3.403 GB, free: 22.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/8.665, allocations: 140.6 kB / 3.404 GB, free: 22.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/8.665, allocations: 16.69 kB / 3.404 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/8.665, allocations: 61.03 kB / 3.404 GB, free: 22.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/8.665, allocations: 46.05 kB / 3.404 GB, free: 22.32 MB / 0.4948 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,state_h_is.phase,state.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 (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.000157/8.666, allocations: 128.1 kB / 3.404 GB, free: 22.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/8.666, allocations: 26.72 kB / 3.404 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/8.666, allocations: 281.6 kB / 3.404 GB, free: 22.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.782e-06/8.666, allocations: 4.062 kB / 3.404 GB, free: 22.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.926e-06/8.666, allocations: 4 kB / 3.404 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.543e-06/8.666, allocations: 0 / 3.404 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007652/8.667, allocations: 0.6008 MB / 3.405 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.594e-06/8.667, allocations: 0.6562 kB / 3.405 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-05/8.667, allocations: 25.56 kB / 3.405 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/8.667, allocations: 7.844 kB / 3.405 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/8.667, allocations: 1.125 kB / 3.405 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/8.667, allocations: 4 kB / 3.405 GB, free: 21.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.901e-06/8.667, allocations: 6.141 kB / 3.405 GB, free: 21.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/8.667, allocations: 331.3 kB / 3.405 GB, free: 21.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/8.668, allocations: 151.4 kB / 3.405 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/8.668, allocations: 4 kB / 3.405 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/8.668, allocations: 18.98 kB / 3.405 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/8.668, allocations: 14.42 kB / 3.405 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/8.668, allocations: 4 kB / 3.405 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003098/8.669, allocations: 269.3 kB / 3.406 GB, free: 20.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.28e-07/8.669, allocations: 0 / 3.406 GB, free: 20.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00563/8.674, allocations: 1.483 MB / 3.407 GB, free: 19.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.01022/8.684, allocations: 1.893 MB / 3.409 GB, free: 18.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004818/8.685, allocations: 187.9 kB / 3.409 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.226e-06/8.685, allocations: 0 / 3.409 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.441e-05/8.685, allocations: 26.34 kB / 3.409 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/8.685, allocations: 46.64 kB / 3.409 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006829/8.686, allocations: 372.3 kB / 3.409 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/8.687, allocations: 0.7862 MB / 3.41 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/8.687, allocations: 64.05 kB / 3.41 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.537e-06/8.687, allocations: 0 / 3.41 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.3351/9.022, allocations: 33.22 MB / 3.443 GB, free: 90.96 MB / 0.4948 GB