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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.143/2.143, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.849e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2987, allocations: 48.7 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.815/6.113, allocations: 2.474 GB / 2.786 GB, free: 117.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/6.114, allocations: 74.33 kB / 2.786 GB, free: 117.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9135/7.027, allocations: 208.8 MB / 2.99 GB, free: 66.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.001e-06/7.027, allocations: 3.094 kB / 2.99 GB, free: 66.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/7.027, allocations: 4 kB / 2.99 GB, free: 66.93 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.006623/7.034, allocations: 1.722 MB / 2.992 GB, free: 65.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/7.034, allocations: 8.031 kB / 2.992 GB, free: 65.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/7.036, allocations: 231.3 kB / 2.992 GB, free: 65.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/7.037, allocations: 276.5 kB / 2.992 GB, free: 64.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/7.037, allocations: 12 kB / 2.992 GB, free: 64.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/7.037, allocations: 16 kB / 2.992 GB, free: 64.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008614/7.038, allocations: 0.5251 MB / 2.993 GB, free: 64.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/7.038, allocations: 382.8 kB / 2.993 GB, free: 64.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/7.038, allocations: 3.938 kB / 2.993 GB, free: 64.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/7.038, allocations: 8 kB / 2.993 GB, free: 64.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/7.038, allocations: 11.98 kB / 2.993 GB, free: 64.3 MB / 426.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.9011/7.939, allocations: 216.4 MB / 3.205 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.791e-05/7.94, allocations: 36.61 kB / 3.205 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/7.94, allocations: 18.73 kB / 3.205 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3753/8.315, allocations: 45.86 MB / 3.249 GB, free: 89.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/8.315, allocations: 107.6 kB / 3.249 GB, free: 88.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 3.176e-06/8.315, allocations: 3.531 kB / 3.249 GB, free: 88.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.001862/8.317, allocations: 383.2 kB / 3.25 GB, free: 88.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/8.317, allocations: 130.2 kB / 3.25 GB, free: 88.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/8.317, allocations: 233.9 kB / 3.25 GB, free: 88.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/8.317, allocations: 33.55 kB / 3.25 GB, free: 88.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/8.318, allocations: 326.2 kB / 3.25 GB, free: 88.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/8.318, allocations: 37.5 kB / 3.251 GB, free: 88.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/8.318, allocations: 3.938 kB / 3.251 GB, free: 88.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.336e-05/8.318, allocations: 334.3 kB / 3.251 GB, free: 88.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/8.318, allocations: 56.53 kB / 3.251 GB, free: 88.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/8.318, allocations: 324.4 kB / 3.251 GB, free: 87.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/8.319, allocations: 143.8 kB / 3.251 GB, free: 87.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.161e-06/8.319, allocations: 1.312 kB / 3.251 GB, free: 87.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001534/8.321, allocations: 422.7 kB / 3.252 GB, free: 87.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/8.321, allocations: 11.45 kB / 3.252 GB, free: 87.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/8.321, allocations: 13.86 kB / 3.252 GB, free: 87.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/8.321, allocations: 11.44 kB / 3.252 GB, free: 87.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/8.321, allocations: 134.8 kB / 3.252 GB, free: 87.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/8.321, allocations: 20.33 kB / 3.252 GB, free: 87.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/8.322, allocations: 58.86 kB / 3.252 GB, free: 87.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/8.322, allocations: 42.58 kB / 3.252 GB, free: 87.68 MB / 458.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,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.0001172/8.322, allocations: 128.5 kB / 3.252 GB, free: 87.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/8.322, allocations: 33.2 kB / 3.252 GB, free: 87.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/8.323, allocations: 276.4 kB / 3.252 GB, free: 87.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.385e-06/8.323, allocations: 7.188 kB / 3.252 GB, free: 87.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.286e-06/8.323, allocations: 0 / 3.252 GB, free: 87.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.013e-06/8.323, allocations: 3.906 kB / 3.252 GB, free: 87.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/8.324, allocations: 0.6048 MB / 3.253 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.213e-06/8.324, allocations: 3.844 kB / 3.253 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/8.324, allocations: 16.03 kB / 3.253 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.491e-06/8.324, allocations: 3.75 kB / 3.253 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/8.324, allocations: 3.594 kB / 3.253 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/8.324, allocations: 4.547 kB / 3.253 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.647e-06/8.324, allocations: 7.719 kB / 3.253 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/8.324, allocations: 332.5 kB / 3.253 GB, free: 86.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/8.324, allocations: 153.6 kB / 3.254 GB, free: 86.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.49e-05/8.324, allocations: 3.656 kB / 3.254 GB, free: 86.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/8.325, allocations: 12.27 kB / 3.254 GB, free: 86.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/8.325, allocations: 14.55 kB / 3.254 GB, free: 86.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/8.325, allocations: 11.44 kB / 3.254 GB, free: 86.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002954/8.325, allocations: 265.1 kB / 3.254 GB, free: 86.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.08e-07/8.325, allocations: 0 / 3.254 GB, free: 86.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005459/8.331, allocations: 1.466 MB / 3.255 GB, free: 86.58 MB / 458.7 MB 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.009915/8.34, allocations: 1.895 MB / 3.257 GB, free: 86.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004824/8.341, allocations: 191.8 kB / 3.257 GB, free: 86.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.672e-06/8.341, allocations: 0 / 3.257 GB, free: 86.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.291e-05/8.341, allocations: 26.38 kB / 3.257 GB, free: 86.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/8.342, allocations: 43.34 kB / 3.257 GB, free: 86.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/8.342, allocations: 362.5 kB / 3.258 GB, free: 86.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/8.342, allocations: 0.7859 MB / 3.258 GB, free: 85.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/8.343, allocations: 69.88 kB / 3.259 GB, free: 85.49 MB / 458.7 MB Notification: Performance of SimCode: time 1.76e-06/8.343, allocations: 0 / 3.259 GB, free: 85.49 MB / 458.7 MB Notification: Performance of Templates: time 0.05379/8.396, allocations: 32.95 MB / 3.291 GB, free: 81.87 MB / 458.7 MB