Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.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) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadModel(Modelica): time 1.731/1.731, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003739, allocations: 11.98 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08151/0.08191, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.564/7.646, allocations: 2.504 GB / 2.771 GB, free: 22.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/7.646, allocations: 70.47 kB / 2.771 GB, free: 22.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7227/8.369, allocations: 105.9 MB / 2.874 GB, free: 62.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/8.369, allocations: 0 / 2.874 GB, free: 62.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/8.369, allocations: 0 / 2.874 GB, free: 62.81 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.008607/8.378, allocations: 1.15 MB / 2.875 GB, free: 61.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/8.378, allocations: 8.031 kB / 2.875 GB, free: 61.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007157/8.378, allocations: 51.25 kB / 2.875 GB, free: 61.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/8.379, allocations: 233.1 kB / 2.875 GB, free: 61.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/8.379, allocations: 12.09 kB / 2.875 GB, free: 61.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/8.379, allocations: 19.06 kB / 2.875 GB, free: 61.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/8.381, allocations: 387.8 kB / 2.876 GB, free: 61.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/8.381, allocations: 4 kB / 2.876 GB, free: 61.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/8.381, allocations: 6.688 kB / 2.876 GB, free: 61.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/8.381, allocations: 11.94 kB / 2.876 GB, free: 61.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/8.383, allocations: 368.9 kB / 2.876 GB, free: 61.03 MB / 362.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.001861/8.385, allocations: 1.187 MB / 2.877 GB, free: 59.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/8.386, allocations: 292.4 kB / 2.878 GB, free: 59.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1404/8.527, allocations: 47.11 MB / 2.924 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/8.527, allocations: 38.73 kB / 2.924 GB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.425e-06/8.527, allocations: 0 / 2.924 GB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.01075/8.538, allocations: 1.624 MB / 2.925 GB, free: 12.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/8.538, allocations: 110.8 kB / 2.925 GB, free: 12.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/8.538, allocations: 123 kB / 2.926 GB, free: 11.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/8.538, allocations: 29.7 kB / 2.926 GB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/8.538, allocations: 108.4 kB / 2.926 GB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/8.538, allocations: 122.3 kB / 2.926 GB, free: 11.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/8.538, allocations: 8 kB / 2.926 GB, free: 11.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/8.538, allocations: 322.8 kB / 2.926 GB, free: 11.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/8.539, allocations: 139.9 kB / 2.926 GB, free: 11.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/8.54, allocations: 202.6 kB / 2.926 GB, free: 11.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/8.54, allocations: 160.4 kB / 2.927 GB, free: 10.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/8.54, allocations: 4.312 kB / 2.927 GB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001711/8.542, allocations: 438.1 kB / 2.927 GB, free: 10.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/8.542, allocations: 4 kB / 2.927 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/8.542, allocations: 0 / 2.927 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/8.542, allocations: 44.72 kB / 2.927 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/8.543, allocations: 91.88 kB / 2.927 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003512/8.544, allocations: 0.5562 MB / 2.928 GB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/8.544, allocations: 24.02 kB / 2.928 GB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/8.544, allocations: 16 kB / 2.928 GB, free: 9.648 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 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 prepare postOptimizeDAE: time 0.0001837/8.544, allocations: 141.8 kB / 2.928 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/8.545, allocations: 23.77 kB / 2.928 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/8.548, allocations: 1.448 MB / 2.929 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/8.548, allocations: 27.94 kB / 2.929 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/8.548, allocations: 0 / 2.929 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/8.548, allocations: 0 / 2.929 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/8.552, allocations: 1.999 MB / 2.931 GB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/8.552, allocations: 4 kB / 2.931 GB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/8.552, allocations: 91.98 kB / 2.931 GB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005171/8.553, allocations: 72.7 kB / 2.931 GB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/8.553, allocations: 19.92 kB / 2.931 GB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000338/8.553, allocations: 0.5836 MB / 2.932 GB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/8.553, allocations: 0 / 2.932 GB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/8.556, allocations: 1.709 MB / 2.934 GB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/8.556, allocations: 128.3 kB / 2.934 GB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/8.557, allocations: 16.03 kB / 2.934 GB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/8.557, allocations: 31.89 kB / 2.934 GB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/8.557, allocations: 31.89 kB / 2.934 GB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/8.557, allocations: 15.98 kB / 2.934 GB, free: 3.137 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.434e-05/8.557, allocations: 87.28 kB / 2.934 GB, free: 3.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/8.557, allocations: 4.219 kB / 2.934 GB, free: 3.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004919/8.562, allocations: 0.964 MB / 2.935 GB, free: 2.082 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.008688/8.571, allocations: 1.232 MB / 2.936 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001969/8.573, allocations: 0.5974 MB / 2.937 GB, free: 252 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/8.573, allocations: 0 / 2.937 GB, free: 252 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2412/8.814, allocations: 0.5152 MB / 2.937 GB, free: 70.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009677/8.815, allocations: 69.12 kB / 2.937 GB, free: 70.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/8.819, allocations: 1.556 MB / 2.939 GB, free: 70.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/8.82, allocations: 0.8251 MB / 2.94 GB, free: 69.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000695/8.82, allocations: 143.8 kB / 2.94 GB, free: 69.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/8.82, allocations: 38.89 kB / 2.94 GB, free: 69.58 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/8.82, allocations: 0.8438 kB / 2.94 GB, free: 69.58 MB / 362.7 MB Notification: Performance of Templates: time 0.06072/8.881, allocations: 28.83 MB / 2.968 GB, free: 69.12 MB / 362.7 MB