Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.534/2.534, allocations: 234.9 MB / 251.1 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004447, allocations: 8 kB / 314.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3688, allocations: 54.88 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.963/8.332, allocations: 2.584 GB / 2.945 GB, free: 124.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/8.332, allocations: 87.38 kB / 2.945 GB, free: 124.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252/9.584, allocations: 215.4 MB / 3.155 GB, free: 80.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/9.584, allocations: 0 / 3.155 GB, free: 80.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/9.584, allocations: 3.281 kB / 3.155 GB, free: 80.92 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.008514/9.593, allocations: 1.744 MB / 3.157 GB, free: 79.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/9.593, allocations: 7.219 kB / 3.157 GB, free: 79.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/9.595, allocations: 184.7 kB / 3.157 GB, free: 79.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/9.595, allocations: 269.3 kB / 3.157 GB, free: 79.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/9.595, allocations: 25.11 kB / 3.157 GB, free: 79.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/9.595, allocations: 27.22 kB / 3.157 GB, free: 79.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/9.598, allocations: 0.7492 MB / 3.158 GB, free: 79.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/9.598, allocations: 4 kB / 3.158 GB, free: 79.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.939e-05/9.598, allocations: 15.84 kB / 3.158 GB, free: 79.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/9.598, allocations: 9.969 kB / 3.158 GB, free: 79.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/9.601, allocations: 0.7984 MB / 3.159 GB, free: 79.54 MB / 490.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.004676/9.606, allocations: 2.907 MB / 3.162 GB, free: 77.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/9.607, allocations: 340.8 kB / 3.162 GB, free: 77.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9507/10.56, allocations: 139.9 MB / 3.299 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/10.56, allocations: 442.6 kB / 3.299 GB, free: 88.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.886e-06/10.56, allocations: 2.734 kB / 3.299 GB, free: 88.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.005479/10.57, allocations: 1.106 MB / 3.3 GB, free: 87.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/10.57, allocations: 373.1 kB / 3.3 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/10.57, allocations: 179.5 kB / 3.301 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/10.57, allocations: 37.55 kB / 3.301 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/10.57, allocations: 260.7 kB / 3.301 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/10.57, allocations: 114.1 kB / 3.301 GB, free: 87.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/10.57, allocations: 7 kB / 3.301 GB, free: 87.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.382e-05/10.57, allocations: 336.5 kB / 3.301 GB, free: 86.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/10.57, allocations: 77.45 kB / 3.301 GB, free: 86.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/10.57, allocations: 341.8 kB / 3.302 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/10.57, allocations: 130.5 kB / 3.302 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/10.57, allocations: 3.75 kB / 3.302 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001186/10.57, allocations: 456.6 kB / 3.302 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/10.57, allocations: 9.469 kB / 3.302 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/10.57, allocations: 11.66 kB / 3.302 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.301e-05/10.57, allocations: 11.38 kB / 3.302 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/10.57, allocations: 201.3 kB / 3.303 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005235/10.57, allocations: 1.189 MB / 3.304 GB, free: 85.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/10.57, allocations: 26.17 kB / 3.304 GB, free: 85.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/10.57, allocations: 44.53 kB / 3.304 GB, free: 85.28 MB / 0.4948 GB 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.0002686/10.57, allocations: 159.9 kB / 3.304 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-05/10.57, allocations: 34.03 kB / 3.304 GB, free: 85.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/10.58, allocations: 2.828 MB / 3.307 GB, free: 84.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.504e-05/10.58, allocations: 20.64 kB / 3.307 GB, free: 84.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/10.58, allocations: 5.531 kB / 3.307 GB, free: 84.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/10.58, allocations: 7.922 kB / 3.307 GB, free: 84.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/10.58, allocations: 0.9689 MB / 3.308 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/10.58, allocations: 13.12 kB / 3.308 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/10.58, allocations: 104.5 kB / 3.308 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003373/10.58, allocations: 158.1 kB / 3.308 GB, free: 84.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/10.58, allocations: 13.41 kB / 3.308 GB, free: 84.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004103/10.58, allocations: 0.6432 MB / 3.309 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/10.58, allocations: 5.375 kB / 3.309 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/10.58, allocations: 0.9626 MB / 3.31 GB, free: 83.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/10.58, allocations: 355.9 kB / 3.31 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/10.58, allocations: 12.33 kB / 3.31 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/10.58, allocations: 17.81 kB / 3.31 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/10.58, allocations: 38.91 kB / 3.31 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/10.58, allocations: 14.22 kB / 3.31 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007516/10.58, allocations: 464.9 kB / 3.31 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.51e-07/10.58, allocations: 0 / 3.31 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007913/10.59, allocations: 1.635 MB / 3.312 GB, free: 83.41 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: 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.01562/10.61, allocations: 2.036 MB / 3.314 GB, free: 83.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002205/10.61, allocations: 0.5249 MB / 3.314 GB, free: 83.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/10.61, allocations: 0 / 3.314 GB, free: 83.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006542/10.61, allocations: 356.1 kB / 3.315 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/10.61, allocations: 121.4 kB / 3.315 GB, free: 83.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.496/13.11, allocations: 0.5656 GB / 3.881 GB, free: 95.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/13.11, allocations: 1.001 MB / 3.882 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/13.11, allocations: 62.05 kB / 3.882 GB, free: 94.41 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/13.11, allocations: 0 / 3.882 GB, free: 94.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.07808/13.19, allocations: 39.84 MB / 3.92 GB, free: 81.78 MB / 0.4948 GB