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_pT.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_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.288/2.288, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.000443, allocations: 15.98 kB / 314.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3068, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.912/6.219, allocations: 2.584 GB / 2.944 GB, free: 20.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/6.219, allocations: 79.95 kB / 2.944 GB, free: 20.69 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9392/7.158, allocations: 215.4 MB / 3.155 GB, free: 7.797 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.864e-06/7.158, allocations: 0 / 3.155 GB, free: 7.797 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/7.158, allocations: 4 kB / 3.155 GB, free: 7.793 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.00698/7.165, allocations: 1.738 MB / 3.156 GB, free: 6.004 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/7.165, allocations: 8.031 kB / 3.156 GB, free: 5.996 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/7.167, allocations: 187.5 kB / 3.156 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/7.168, allocations: 266.6 kB / 3.157 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/7.168, allocations: 25 kB / 3.157 GB, free: 5.488 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/7.168, allocations: 31.95 kB / 3.157 GB, free: 5.457 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/7.17, allocations: 0.7408 MB / 3.158 GB, free: 4.668 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/7.17, allocations: 3.938 kB / 3.158 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/7.17, allocations: 17.12 kB / 3.158 GB, free: 4.648 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/7.17, allocations: 8 kB / 3.158 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/7.173, allocations: 0.802 MB / 3.158 GB, free: 3.836 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.003753/7.176, allocations: 2.898 MB / 3.161 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/7.178, allocations: 342.3 kB / 3.161 GB, free: 376 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7093/7.887, allocations: 139.9 MB / 3.298 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/7.889, allocations: 432.9 kB / 3.298 GB, free: 12.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 3.613e-06/7.889, allocations: 0 / 3.298 GB, free: 12.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.004609/7.893, allocations: 1.094 MB / 3.3 GB, free: 12.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/7.894, allocations: 378.5 kB / 3.3 GB, free: 11.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/7.894, allocations: 161.9 kB / 3.3 GB, free: 11.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/7.894, allocations: 37.42 kB / 3.3 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/7.894, allocations: 255.8 kB / 3.3 GB, free: 11.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/7.894, allocations: 112.7 kB / 3.3 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/7.894, allocations: 7.688 kB / 3.3 GB, free: 11.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.11e-05/7.894, allocations: 333 kB / 3.301 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/7.894, allocations: 80.58 kB / 3.301 GB, free: 10.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/7.895, allocations: 337.7 kB / 3.301 GB, free: 10.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/7.895, allocations: 136.1 kB / 3.301 GB, free: 10.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.379e-06/7.895, allocations: 4 kB / 3.301 GB, free: 10.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009949/7.896, allocations: 463 kB / 3.302 GB, free: 10.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/7.896, allocations: 8 kB / 3.302 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/7.896, allocations: 16.16 kB / 3.302 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/7.896, allocations: 12 kB / 3.302 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/7.898, allocations: 200.1 kB / 3.302 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004828/7.898, allocations: 1.181 MB / 3.303 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/7.899, allocations: 32.03 kB / 3.303 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/7.899, allocations: 44.89 kB / 3.303 GB, free: 8.688 MB / 490.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.0002347/7.899, allocations: 171.9 kB / 3.303 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/7.899, allocations: 19.81 kB / 3.303 GB, free: 8.531 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/7.903, allocations: 2.839 MB / 3.306 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/7.903, allocations: 22.41 kB / 3.306 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.912e-06/7.903, allocations: 4 kB / 3.306 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/7.903, allocations: 7.844 kB / 3.306 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/7.904, allocations: 0.9645 MB / 3.307 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.625e-06/7.904, allocations: 0 / 3.307 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009149/7.905, allocations: 103.9 kB / 3.307 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002984/7.905, allocations: 161.2 kB / 3.307 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/7.905, allocations: 18.31 kB / 3.307 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003925/7.906, allocations: 0.6358 MB / 3.308 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.882e-06/7.906, allocations: 4 kB / 3.308 GB, free: 5.699 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/7.907, allocations: 1.108 MB / 3.309 GB, free: 4.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/7.908, allocations: 349.7 kB / 3.309 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/7.908, allocations: 18.52 kB / 3.309 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/7.908, allocations: 19.44 kB / 3.309 GB, free: 4.605 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/7.908, allocations: 34.34 kB / 3.31 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/7.908, allocations: 12 kB / 3.31 GB, free: 4.578 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006905/7.909, allocations: 466.6 kB / 3.31 GB, free: 4.293 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.96e-07/7.909, allocations: 1.688 kB / 3.31 GB, free: 4.293 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006807/7.916, allocations: 1.637 MB / 3.312 GB, free: 3.059 MB / 490.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.01234/7.928, allocations: 2.03 MB / 3.314 GB, free: 1.539 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001884/7.93, allocations: 0.5228 MB / 3.314 GB, free: 1.223 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.081e-06/7.93, allocations: 1.812 kB / 3.314 GB, free: 1.223 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/7.931, allocations: 357.1 kB / 3.314 GB, free: 1.051 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/7.932, allocations: 134.7 kB / 3.315 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.986/9.918, allocations: 0.5656 GB / 3.88 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/9.919, allocations: 1.002 MB / 3.881 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/9.919, allocations: 63.41 kB / 3.881 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.498e-06/9.919, allocations: 0 / 3.881 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.3738/10.29, allocations: 39.84 MB / 3.92 GB, free: 75.88 MB / 0.4948 GB