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.219/2.219, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.092e-05/3.109e-05, allocations: 4 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3659, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.85/6.216, allocations: 2.585 GB / 2.941 GB, free: 97.44 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/6.216, allocations: 77.55 kB / 2.941 GB, free: 97.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9303/7.147, allocations: 215.5 MB / 3.152 GB, free: 79.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.775e-06/7.147, allocations: 0 / 3.152 GB, free: 79.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/7.147, allocations: 4 kB / 3.152 GB, free: 79.7 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.007031/7.154, allocations: 1.753 MB / 3.153 GB, free: 78.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/7.154, allocations: 12.03 kB / 3.153 GB, free: 78.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/7.156, allocations: 228.9 kB / 3.154 GB, free: 77.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/7.157, allocations: 276.7 kB / 3.154 GB, free: 77.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/7.157, allocations: 29.12 kB / 3.154 GB, free: 77.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/7.157, allocations: 35.89 kB / 3.154 GB, free: 77.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/7.159, allocations: 0.8525 MB / 3.155 GB, free: 76.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/7.159, allocations: 0 / 3.155 GB, free: 76.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/7.16, allocations: 16 kB / 3.155 GB, free: 76.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/7.16, allocations: 12 kB / 3.155 GB, free: 76.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/7.162, allocations: 0.9543 MB / 3.156 GB, free: 75.8 MB / 490.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.003904/7.166, allocations: 2.776 MB / 3.158 GB, free: 72.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/7.168, allocations: 415 kB / 3.159 GB, free: 72.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/7.168, allocations: 68.84 kB / 3.159 GB, free: 72.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9014/8.07, allocations: 224.8 MB / 3.378 GB, free: 4.551 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001684/8.071, allocations: 0.4909 MB / 3.379 GB, free: 4.223 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 4.684e-06/8.071, allocations: 0 / 3.379 GB, free: 4.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.003544/8.075, allocations: 0.7981 MB / 3.38 GB, free: 3.809 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/8.075, allocations: 368.6 kB / 3.38 GB, free: 3.367 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/8.075, allocations: 169.4 kB / 3.38 GB, free: 3.227 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/8.075, allocations: 29.39 kB / 3.38 GB, free: 3.195 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/8.075, allocations: 257 kB / 3.38 GB, free: 2.984 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/8.075, allocations: 111.8 kB / 3.381 GB, free: 2.918 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/8.076, allocations: 16.41 kB / 3.381 GB, free: 2.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.417e-05/8.076, allocations: 334.3 kB / 3.381 GB, free: 2.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/8.076, allocations: 67.09 kB / 3.381 GB, free: 2.551 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/8.076, allocations: 330.8 kB / 3.381 GB, free: 2.148 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/8.076, allocations: 121.6 kB / 3.381 GB, free: 2.074 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.509e-06/8.076, allocations: 4 kB / 3.381 GB, free: 2.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001055/8.077, allocations: 456.9 kB / 3.382 GB, free: 1.797 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/8.077, allocations: 8 kB / 3.382 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/8.078, allocations: 8.5 kB / 3.382 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/8.078, allocations: 17.53 kB / 3.382 GB, free: 1.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/8.078, allocations: 133.5 kB / 3.382 GB, free: 1.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/8.078, allocations: 23.5 kB / 3.382 GB, free: 1.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/8.079, allocations: 51.44 kB / 3.382 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/8.079, allocations: 38.38 kB / 3.382 GB, free: 1.602 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 () * 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.0001471/8.079, allocations: 149.7 kB / 3.382 GB, free: 1.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/8.079, allocations: 27.33 kB / 3.382 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/8.081, allocations: 1.767 MB / 3.384 GB, free: 500 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/8.081, allocations: 17.33 kB / 3.384 GB, free: 492 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.585e-06/8.081, allocations: 4 kB / 3.384 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/8.081, allocations: 4 kB / 3.384 GB, free: 484 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/8.083, allocations: 0.905 MB / 3.385 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/8.083, allocations: 4.234 kB / 3.385 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/8.083, allocations: 89.52 kB / 3.385 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/8.083, allocations: 8 kB / 3.385 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/8.083, allocations: 18.7 kB / 3.385 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/8.083, allocations: 8.25 kB / 3.385 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.016e-06/8.083, allocations: 4 kB / 3.385 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/8.085, allocations: 0.8197 MB / 3.386 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/8.085, allocations: 339.2 kB / 3.386 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/8.085, allocations: 9.562 kB / 3.386 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/8.086, allocations: 21.42 kB / 3.386 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/8.086, allocations: 40.02 kB / 3.386 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/8.086, allocations: 30.95 kB / 3.386 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007075/8.086, allocations: 422.9 kB / 3.387 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.076e-06/8.086, allocations: 0 / 3.387 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006414/8.093, allocations: 1.516 MB / 3.388 GB, free: 13.39 MB / 0.4948 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 ($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.01201/8.105, allocations: 1.89 MB / 3.39 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009408/8.106, allocations: 391.3 kB / 3.39 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.703e-06/8.106, allocations: 0 / 3.39 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004261/8.106, allocations: 281 kB / 3.391 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/8.107, allocations: 123.8 kB / 3.391 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.866/10.97, allocations: 0.7554 GB / 4.146 GB, free: 90.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/10.97, allocations: 0.9747 MB / 4.147 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/10.97, allocations: 72.19 kB / 4.147 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of SimCode: time 1.838e-06/10.97, allocations: 0.9062 kB / 4.147 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.05401/11.03, allocations: 34.36 MB / 4.181 GB, free: 88.16 MB / 0.4948 GB