Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_pT") Notification: Performance of loadModel(ModelicaTest): time 2.079/2.079, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004278, allocations: 8 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3599, allocations: 48.7 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.639/7.999, allocations: 2.473 GB / 2.797 GB, free: 52.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/7.999, allocations: 77.95 kB / 2.797 GB, free: 52.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256/9.255, allocations: 211.7 MB / 3.004 GB, free: 29.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/9.255, allocations: 0 / 3.004 GB, free: 29.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/9.255, allocations: 8 kB / 3.004 GB, free: 29.95 MB / 442.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.008626/9.264, allocations: 1.707 MB / 3.005 GB, free: 28.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/9.264, allocations: 8.031 kB / 3.005 GB, free: 28.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/9.266, allocations: 191.7 kB / 3.005 GB, free: 28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/9.267, allocations: 286.5 kB / 3.006 GB, free: 27.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/9.267, allocations: 24.66 kB / 3.006 GB, free: 27.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/9.267, allocations: 28 kB / 3.006 GB, free: 27.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/9.27, allocations: 0.7486 MB / 3.007 GB, free: 26.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/9.27, allocations: 0 / 3.007 GB, free: 26.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/9.27, allocations: 12 kB / 3.007 GB, free: 26.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/9.27, allocations: 12 kB / 3.007 GB, free: 26.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/9.273, allocations: 0.8098 MB / 3.007 GB, free: 25.99 MB / 442.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.005107/9.278, allocations: 2.899 MB / 3.01 GB, free: 22.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/9.28, allocations: 346.2 kB / 3.011 GB, free: 22.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.922/10.2, allocations: 139.5 MB / 3.147 GB, free: 18.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001745/10.2, allocations: 431.5 kB / 3.147 GB, free: 17.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 3.807e-06/10.2, allocations: 0 / 3.147 GB, free: 17.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.005697/10.21, allocations: 1.105 MB / 3.148 GB, free: 17.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/10.21, allocations: 371.6 kB / 3.149 GB, free: 16.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/10.21, allocations: 187.3 kB / 3.149 GB, free: 16.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/10.21, allocations: 34.95 kB / 3.149 GB, free: 16.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/10.21, allocations: 254 kB / 3.149 GB, free: 16.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/10.21, allocations: 115.2 kB / 3.149 GB, free: 16.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/10.21, allocations: 5.438 kB / 3.149 GB, free: 16.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/10.21, allocations: 332.5 kB / 3.149 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/10.21, allocations: 83.75 kB / 3.15 GB, free: 15.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/10.21, allocations: 339 kB / 3.15 GB, free: 15.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/10.21, allocations: 128 kB / 3.15 GB, free: 15.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/10.21, allocations: 4 kB / 3.15 GB, free: 15.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001184/10.21, allocations: 457.9 kB / 3.15 GB, free: 15.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/10.21, allocations: 8.781 kB / 3.15 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/10.21, allocations: 12.05 kB / 3.15 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/10.21, allocations: 20 kB / 3.151 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/10.22, allocations: 200.8 kB / 3.151 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005362/10.22, allocations: 1.181 MB / 3.152 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/10.22, allocations: 27.92 kB / 3.152 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/10.22, allocations: 45.09 kB / 3.152 GB, free: 13.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002732/10.22, allocations: 159.5 kB / 3.152 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.887e-05/10.22, allocations: 27.72 kB / 3.152 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/10.22, allocations: 2.837 MB / 3.155 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/10.22, allocations: 23.72 kB / 3.155 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/10.22, allocations: 4 kB / 3.155 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/10.22, allocations: 4 kB / 3.155 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/10.22, allocations: 0.9741 MB / 3.156 GB, free: 27.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/10.22, allocations: 4 kB / 3.156 GB, free: 27.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/10.22, allocations: 91.56 kB / 3.156 GB, free: 27.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003701/10.22, allocations: 171.7 kB / 3.156 GB, free: 27.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/10.22, allocations: 14.48 kB / 3.156 GB, free: 27.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005035/10.23, allocations: 0.6292 MB / 3.157 GB, free: 26.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/10.23, allocations: 5.219 kB / 3.157 GB, free: 26.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/10.23, allocations: 0.968 MB / 3.158 GB, free: 26.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/10.23, allocations: 361 kB / 3.158 GB, free: 25.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/10.23, allocations: 13.88 kB / 3.158 GB, free: 25.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006027/10.23, allocations: 16.33 kB / 3.158 GB, free: 25.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/10.23, allocations: 35.09 kB / 3.158 GB, free: 25.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/10.23, allocations: 23.78 kB / 3.158 GB, free: 25.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007816/10.23, allocations: 464.9 kB / 3.159 GB, free: 25.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.23, allocations: 0 / 3.159 GB, free: 25.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007932/10.24, allocations: 1.615 MB / 3.16 GB, free: 24.33 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: 11 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01524/10.25, allocations: 2.027 MB / 3.162 GB, free: 22.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00226/10.25, allocations: 0.5189 MB / 3.163 GB, free: 22.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/10.25, allocations: 0 / 3.163 GB, free: 22.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007292/10.26, allocations: 360.7 kB / 3.163 GB, free: 22.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/10.26, allocations: 129.6 kB / 3.163 GB, free: 22.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.822/13.08, allocations: 0.5466 GB / 3.71 GB, free: 71.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/13.08, allocations: 1 MB / 3.711 GB, free: 70.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/13.08, allocations: 55.34 kB / 3.711 GB, free: 70.48 MB / 458.7 MB Notification: Performance of SimCode: time 1.332e-06/13.08, allocations: 0 / 3.711 GB, free: 70.48 MB / 458.7 MB Notification: Performance of Templates: time 0.08687/13.17, allocations: 39.51 MB / 3.749 GB, free: 68.48 MB / 458.7 MB