Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.WaterIF97.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) 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_cpp_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadModel(Modelica): time 1.557/1.557, allocations: 171.2 MB / 184.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.83e-05, allocations: 7.938 kB / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2036, allocations: 38.77 MB / 267.6 MB, free: 9.477 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.894/6.098, allocations: 2.504 GB / 2.766 GB, free: 83.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/6.098, allocations: 66.88 kB / 2.766 GB, free: 83.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.531/6.629, allocations: 105.7 MB / 2.869 GB, free: 67.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.62e-06/6.629, allocations: 0 / 2.869 GB, free: 67.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/6.629, allocations: 3.938 kB / 2.869 GB, free: 67.09 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.006135/6.635, allocations: 1.141 MB / 2.87 GB, free: 66.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/6.635, allocations: 11.66 kB / 2.87 GB, free: 66.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006085/6.636, allocations: 50.5 kB / 2.87 GB, free: 66.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/6.636, allocations: 222.3 kB / 2.87 GB, free: 66.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/6.636, allocations: 14.92 kB / 2.87 GB, free: 66.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/6.636, allocations: 18.81 kB / 2.87 GB, free: 66.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/6.638, allocations: 370.2 kB / 2.871 GB, free: 66.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/6.638, allocations: 3.094 kB / 2.871 GB, free: 66.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/6.638, allocations: 9.75 kB / 2.871 GB, free: 66.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/6.638, allocations: 3.906 kB / 2.871 GB, free: 66.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/6.639, allocations: 305.6 kB / 2.871 GB, free: 66.24 MB / 362.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.001377/6.64, allocations: 1.191 MB / 2.872 GB, free: 65.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/6.641, allocations: 261.6 kB / 2.872 GB, free: 65.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/6.641, allocations: 102.4 kB / 2.872 GB, free: 65.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1335/6.775, allocations: 47.27 MB / 2.919 GB, free: 35.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/6.775, allocations: 38.16 kB / 2.919 GB, free: 35.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.099e-06/6.775, allocations: 0 / 2.919 GB, free: 35.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.00645/6.781, allocations: 1.429 MB / 2.92 GB, free: 35.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/6.782, allocations: 118.6 kB / 2.92 GB, free: 35.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/6.782, allocations: 109.4 kB / 2.92 GB, free: 35.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/6.782, allocations: 33.27 kB / 2.92 GB, free: 35.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/6.782, allocations: 170.8 kB / 2.92 GB, free: 35.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.028e-05/6.782, allocations: 116 kB / 2.921 GB, free: 35.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/6.782, allocations: 11.19 kB / 2.921 GB, free: 35.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/6.782, allocations: 318.2 kB / 2.921 GB, free: 34.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/6.782, allocations: 115.5 kB / 2.921 GB, free: 34.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/6.783, allocations: 177 kB / 2.921 GB, free: 34.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/6.783, allocations: 125.7 kB / 2.921 GB, free: 34.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.814e-06/6.783, allocations: 0 / 2.921 GB, free: 34.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009149/6.784, allocations: 367.9 kB / 2.922 GB, free: 34.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/6.784, allocations: 4.719 kB / 2.922 GB, free: 34.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.148e-06/6.784, allocations: 3.844 kB / 2.922 GB, free: 34.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/6.784, allocations: 43.12 kB / 2.922 GB, free: 34.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/6.786, allocations: 90.78 kB / 2.922 GB, free: 34.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006494/6.786, allocations: 0.5516 MB / 2.922 GB, free: 34.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/6.787, allocations: 29.56 kB / 2.922 GB, free: 34.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/6.787, allocations: 18.59 kB / 2.922 GB, free: 34.02 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 () * 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.0002354/6.787, allocations: 119.4 kB / 2.922 GB, free: 33.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/6.788, allocations: 22.73 kB / 2.922 GB, free: 33.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/6.792, allocations: 1.422 MB / 2.924 GB, free: 33.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.485e-05/6.792, allocations: 23.88 kB / 2.924 GB, free: 33.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/6.792, allocations: 3.938 kB / 2.924 GB, free: 33.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/6.792, allocations: 3.812 kB / 2.924 GB, free: 33.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00621/6.799, allocations: 1.971 MB / 2.926 GB, free: 33.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/6.799, allocations: 2.562 kB / 2.926 GB, free: 33.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/6.8, allocations: 87.25 kB / 2.926 GB, free: 33.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007821/6.801, allocations: 69.95 kB / 2.926 GB, free: 33.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.765e-05/6.801, allocations: 11.3 kB / 2.926 GB, free: 33.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006548/6.801, allocations: 0.5894 MB / 2.927 GB, free: 32.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.883e-06/6.801, allocations: 3.312 kB / 2.927 GB, free: 32.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/6.806, allocations: 1.683 MB / 2.928 GB, free: 32.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/6.806, allocations: 127.9 kB / 2.928 GB, free: 32.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/6.806, allocations: 15.86 kB / 2.928 GB, free: 32.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/6.807, allocations: 23.38 kB / 2.928 GB, free: 32.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/6.807, allocations: 38.86 kB / 2.928 GB, free: 32.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-05/6.807, allocations: 15.09 kB / 2.928 GB, free: 32.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000101/6.807, allocations: 90.62 kB / 2.929 GB, free: 31.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.25e-06/6.808, allocations: 0 / 2.929 GB, free: 31.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007242/6.815, allocations: 0.9649 MB / 2.929 GB, free: 31.77 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 () * 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.01213/6.827, allocations: 1.236 MB / 2.931 GB, free: 31.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002515/6.83, allocations: 0.5485 MB / 2.931 GB, free: 31.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/6.83, allocations: 2.906 kB / 2.931 GB, free: 31.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/6.831, allocations: 485.4 kB / 2.932 GB, free: 31.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/6.833, allocations: 80.69 kB / 2.932 GB, free: 30.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/6.837, allocations: 1.087 MB / 2.933 GB, free: 30.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/6.838, allocations: 0.8266 MB / 2.934 GB, free: 29.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/6.838, allocations: 41.84 kB / 2.934 GB, free: 29.7 MB / 362.7 MB Notification: Performance of SimCode: time 2.936e-06/6.838, allocations: 0 / 2.934 GB, free: 29.7 MB / 362.7 MB Notification: Performance of Templates: time 0.05996/6.898, allocations: 23.49 MB / 2.957 GB, free: 20.99 MB / 362.7 MB