Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.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) 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.2_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 11.94 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09567, allocations: 44.51 MB / 309 MB, free: 392 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.76/7.856, allocations: 2.614 GB / 2.916 GB, free: 89.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/7.856, allocations: 75.58 kB / 2.916 GB, free: 89.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7675/8.624, allocations: 107.3 MB / 3.021 GB, free: 70.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.063e-06/8.624, allocations: 6.094 kB / 3.021 GB, free: 70.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/8.624, allocations: 6.812 kB / 3.021 GB, free: 70.18 MB / 410.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.00849/8.632, allocations: 1.149 MB / 3.022 GB, free: 69.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/8.633, allocations: 8.906 kB / 3.022 GB, free: 69.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007448/8.633, allocations: 63.45 kB / 3.022 GB, free: 69.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/8.634, allocations: 211.9 kB / 3.022 GB, free: 69.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/8.634, allocations: 15.88 kB / 3.022 GB, free: 69.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/8.634, allocations: 15.69 kB / 3.022 GB, free: 69.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/8.636, allocations: 398 kB / 3.023 GB, free: 69.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/8.636, allocations: 3.406 kB / 3.023 GB, free: 69.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/8.636, allocations: 4.219 kB / 3.023 GB, free: 69.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/8.636, allocations: 4.531 kB / 3.023 GB, free: 69.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/8.638, allocations: 366.9 kB / 3.023 GB, free: 69.34 MB / 410.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.001854/8.64, allocations: 1.191 MB / 3.024 GB, free: 68.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/8.642, allocations: 286.6 kB / 3.025 GB, free: 68.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1635/8.805, allocations: 47.19 MB / 3.071 GB, free: 39.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/8.805, allocations: 34.03 kB / 3.071 GB, free: 39.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.755e-06/8.805, allocations: 0 / 3.071 GB, free: 39.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.01106/8.817, allocations: 1.628 MB / 3.072 GB, free: 38.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/8.817, allocations: 112.2 kB / 3.072 GB, free: 38.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/8.817, allocations: 122.1 kB / 3.073 GB, free: 38.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/8.817, allocations: 32.8 kB / 3.073 GB, free: 38.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/8.817, allocations: 101 kB / 3.073 GB, free: 38.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/8.817, allocations: 116.7 kB / 3.073 GB, free: 38.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/8.817, allocations: 7.219 kB / 3.073 GB, free: 38.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/8.817, allocations: 320.4 kB / 3.073 GB, free: 37.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006458/8.818, allocations: 142.3 kB / 3.073 GB, free: 37.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/8.818, allocations: 205.2 kB / 3.073 GB, free: 37.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/8.819, allocations: 158.9 kB / 3.074 GB, free: 37.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/8.819, allocations: 0 / 3.074 GB, free: 37.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001804/8.821, allocations: 431 kB / 3.074 GB, free: 37.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/8.821, allocations: 10.38 kB / 3.074 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/8.821, allocations: 3 kB / 3.074 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/8.821, allocations: 40.95 kB / 3.074 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/8.822, allocations: 98.33 kB / 3.074 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003939/8.823, allocations: 0.5445 MB / 3.075 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/8.823, allocations: 28.53 kB / 3.075 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/8.823, allocations: 16.69 kB / 3.075 GB, free: 37.3 MB / 410.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.0001982/8.824, allocations: 140.2 kB / 3.075 GB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/8.824, allocations: 19.05 kB / 3.075 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/8.827, allocations: 1.469 MB / 3.076 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.574e-05/8.827, allocations: 22.66 kB / 3.076 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/8.827, allocations: 3.812 kB / 3.076 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/8.827, allocations: 3.891 kB / 3.076 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/8.831, allocations: 1.983 MB / 3.078 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/8.831, allocations: 0 / 3.078 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/8.833, allocations: 86.11 kB / 3.078 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008949/8.834, allocations: 84.17 kB / 3.078 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/8.834, allocations: 14.64 kB / 3.078 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000607/8.834, allocations: 0.5828 MB / 3.079 GB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/8.835, allocations: 6.156 kB / 3.079 GB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/8.84, allocations: 1.713 MB / 3.081 GB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/8.841, allocations: 122.5 kB / 3.081 GB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/8.841, allocations: 10.16 kB / 3.081 GB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008762/8.842, allocations: 28.77 kB / 3.081 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/8.842, allocations: 35.73 kB / 3.081 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.797e-05/8.842, allocations: 18.67 kB / 3.081 GB, free: 35.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.625e-05/8.842, allocations: 92.94 kB / 3.081 GB, free: 35.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.62e-07/8.842, allocations: 0 / 3.081 GB, free: 35.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005715/8.848, allocations: 0.9639 MB / 3.082 GB, free: 35.3 MB / 410.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.009328/8.857, allocations: 1.255 MB / 3.083 GB, free: 35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001977/8.859, allocations: 0.6013 MB / 3.084 GB, free: 34.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/8.859, allocations: 4.062 kB / 3.084 GB, free: 34.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/8.86, allocations: 0.5124 MB / 3.084 GB, free: 34.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/8.861, allocations: 68.78 kB / 3.084 GB, free: 34.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/8.865, allocations: 1.563 MB / 3.086 GB, free: 34.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/8.865, allocations: 0.8298 MB / 3.087 GB, free: 33.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000629/8.866, allocations: 132.6 kB / 3.087 GB, free: 33.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/8.866, allocations: 40.86 kB / 3.087 GB, free: 33.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/8.866, allocations: 0 / 3.087 GB, free: 33.56 MB / 410.7 MB Notification: Performance of Templates: time 0.05731/8.923, allocations: 29.09 MB / 3.115 GB, free: 31.91 MB / 410.7 MB