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_pT.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_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 1.824/1.824, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.562e-05, allocations: 7.984 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08348/0.08354, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.636/6.719, allocations: 2.473 GB / 2.792 GB, free: 89.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/6.719, allocations: 84.06 kB / 2.792 GB, free: 89.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9318/7.651, allocations: 211.4 MB / 2.998 GB, free: 50.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.101e-06/7.651, allocations: 0 / 2.998 GB, free: 50.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/7.651, allocations: 4 kB / 2.998 GB, free: 50.62 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.006975/7.658, allocations: 1.699 MB / 3 GB, free: 48.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/7.658, allocations: 8.031 kB / 3 GB, free: 48.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/7.66, allocations: 192.9 kB / 3 GB, free: 48.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/7.661, allocations: 268.8 kB / 3 GB, free: 48.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/7.661, allocations: 23.03 kB / 3 GB, free: 48.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/7.661, allocations: 29.38 kB / 3 GB, free: 48.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/7.663, allocations: 0.8098 MB / 3.001 GB, free: 47.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/7.664, allocations: 3.938 kB / 3.001 GB, free: 47.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/7.664, allocations: 13.38 kB / 3.001 GB, free: 47.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/7.664, allocations: 8 kB / 3.001 GB, free: 47.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/7.666, allocations: 0.8549 MB / 3.002 GB, free: 47.09 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.004056/7.67, allocations: 2.903 MB / 3.005 GB, free: 43.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/7.672, allocations: 390.3 kB / 3.005 GB, free: 43.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/7.672, allocations: 73.38 kB / 3.005 GB, free: 43.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6782/8.35, allocations: 140.3 MB / 3.142 GB, free: 18.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/8.352, allocations: 482.5 kB / 3.143 GB, free: 17.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 5.455e-06/8.352, allocations: 1.031 kB / 3.143 GB, free: 17.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.004787/8.357, allocations: 1.132 MB / 3.144 GB, free: 17.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/8.357, allocations: 380.8 kB / 3.144 GB, free: 17.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/8.357, allocations: 165 kB / 3.144 GB, free: 17.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/8.357, allocations: 34.95 kB / 3.144 GB, free: 17.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/8.357, allocations: 260.6 kB / 3.144 GB, free: 16.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/8.358, allocations: 114.9 kB / 3.145 GB, free: 16.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/8.358, allocations: 7.312 kB / 3.145 GB, free: 16.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.3e-05/8.358, allocations: 336 kB / 3.145 GB, free: 16.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/8.358, allocations: 70.67 kB / 3.145 GB, free: 16.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/8.358, allocations: 340.8 kB / 3.145 GB, free: 16.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/8.358, allocations: 124.4 kB / 3.145 GB, free: 16.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.768e-06/8.358, allocations: 2.906 kB / 3.145 GB, free: 16.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00105/8.36, allocations: 459.1 kB / 3.146 GB, free: 16.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/8.36, allocations: 7.562 kB / 3.146 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/8.36, allocations: 14.89 kB / 3.146 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/8.36, allocations: 15.66 kB / 3.146 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/8.361, allocations: 202.4 kB / 3.146 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004886/8.362, allocations: 1.179 MB / 3.147 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/8.362, allocations: 28.34 kB / 3.147 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/8.363, allocations: 45.84 kB / 3.147 GB, free: 14.89 MB / 426.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 () * 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.0001631/8.363, allocations: 147.4 kB / 3.147 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/8.363, allocations: 23.22 kB / 3.148 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/8.365, allocations: 1.886 MB / 3.149 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/8.365, allocations: 17.8 kB / 3.149 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.13e-06/8.365, allocations: 8.219 kB / 3.149 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/8.365, allocations: 7.406 kB / 3.149 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/8.367, allocations: 0.8834 MB / 3.15 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.959e-06/8.367, allocations: 3.531 kB / 3.15 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008777/8.367, allocations: 107.7 kB / 3.15 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/8.368, allocations: 231.2 kB / 3.151 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/8.368, allocations: 22.44 kB / 3.151 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003841/8.368, allocations: 0.6426 MB / 3.151 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/8.368, allocations: 7.781 kB / 3.151 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/8.37, allocations: 1.158 MB / 3.152 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/8.37, allocations: 271.5 kB / 3.153 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/8.37, allocations: 18.14 kB / 3.153 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/8.371, allocations: 17.75 kB / 3.153 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/8.371, allocations: 38.77 kB / 3.153 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/8.371, allocations: 30.09 kB / 3.153 GB, free: 13.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004855/8.371, allocations: 328.7 kB / 3.153 GB, free: 13 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.84e-07/8.371, allocations: 0 / 3.153 GB, free: 13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006598/8.378, allocations: 1.604 MB / 3.155 GB, free: 13 MB / 426.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 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete 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.01241/8.39, allocations: 2.029 MB / 3.157 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001905/8.392, allocations: 0.5135 MB / 3.157 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.016e-06/8.392, allocations: 4.062 kB / 3.157 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006168/8.393, allocations: 373.5 kB / 3.157 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/8.394, allocations: 124.2 kB / 3.158 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.794/10.19, allocations: 480.6 MB / 3.627 GB, free: 69.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/10.19, allocations: 0.9426 MB / 3.628 GB, free: 68.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/10.19, allocations: 76.34 kB / 3.628 GB, free: 68.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.746e-06/10.19, allocations: 7.375 kB / 3.628 GB, free: 68.59 MB / 458.7 MB Notification: Performance of Templates: time 0.06184/10.25, allocations: 38.16 MB / 3.665 GB, free: 59.46 MB / 458.7 MB