Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 171.2 MB / 187.3 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005071, allocations: 8 kB / 233.8 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0791/0.07964, allocations: 38.77 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8247/0.9044, allocations: 255.7 MB / 0.5158 GB, free: 57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.9048, allocations: 94.12 kB / 0.5159 GB, free: 56.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4907/1.396, allocations: 84.41 MB / 0.5984 GB, free: 112.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.396, allocations: 0 / 0.5984 GB, free: 112.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/1.396, allocations: 3.656 kB / 0.5984 GB, free: 112.3 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008574/1.396, allocations: 0.5478 MB / 0.5989 GB, free: 111.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.397, allocations: 7.906 kB / 0.5989 GB, free: 111.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/1.397, allocations: 41.94 kB / 0.5989 GB, free: 111.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/1.397, allocations: 284.8 kB / 0.5992 GB, free: 111.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/1.397, allocations: 18.72 kB / 0.5992 GB, free: 111.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/1.397, allocations: 26.2 kB / 0.5993 GB, free: 111.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/1.398, allocations: 315.5 kB / 0.5996 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/1.398, allocations: 2.062 kB / 0.5996 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/1.398, allocations: 12.44 kB / 0.5996 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.398, allocations: 9.625 kB / 0.5996 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/1.399, allocations: 184.2 kB / 0.5998 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/1.401, allocations: 1.72 MB / 0.6014 GB, free: 110.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/1.401, allocations: 150.2 kB / 0.6016 GB, free: 110.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/1.401, allocations: 174.3 kB / 0.6018 GB, free: 110 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/1.401, allocations: 37.03 kB / 0.6018 GB, free: 110 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/1.401, allocations: 0 / 0.6018 GB, free: 110 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.002329/1.404, allocations: 0.7892 MB / 0.6026 GB, free: 109.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/1.404, allocations: 55.28 kB / 0.6026 GB, free: 109.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/1.404, allocations: 275.3 kB / 0.6029 GB, free: 109.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/1.404, allocations: 31.92 kB / 0.6029 GB, free: 109.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/1.404, allocations: 255.9 kB / 0.6031 GB, free: 109.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/1.404, allocations: 80.09 kB / 0.6032 GB, free: 109.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/1.404, allocations: 3.688 kB / 0.6032 GB, free: 109.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/1.404, allocations: 330.2 kB / 0.6035 GB, free: 108.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/1.404, allocations: 65.72 kB / 0.6036 GB, free: 108.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/1.405, allocations: 190.2 kB / 0.6038 GB, free: 108.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/1.405, allocations: 113 kB / 0.6039 GB, free: 108.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.405, allocations: 0 / 0.6039 GB, free: 108.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006518/1.406, allocations: 318.7 kB / 0.6042 GB, free: 108.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.406, allocations: 7.875 kB / 0.6042 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/1.406, allocations: 6.188 kB / 0.6042 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/1.406, allocations: 24.72 kB / 0.6042 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/1.406, allocations: 83.31 kB / 0.6043 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/1.407, allocations: 1.297 MB / 0.6056 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/1.408, allocations: 15.44 kB / 0.6056 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/1.408, allocations: 18.22 kB / 0.6056 GB, free: 107.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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.0002011/1.408, allocations: 162.7 kB / 0.6058 GB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/1.408, allocations: 25.53 kB / 0.6058 GB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/1.408, allocations: 194.8 kB / 0.606 GB, free: 107.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.409, allocations: 5.969 kB / 0.606 GB, free: 107.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/1.409, allocations: 0 / 0.606 GB, free: 107.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003969/1.409, allocations: 486.6 kB / 0.6064 GB, free: 106.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/1.41, allocations: 0.7721 MB / 0.6072 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.41, allocations: 6.406 kB / 0.6072 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/1.411, allocations: 50.05 kB / 0.6073 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.411, allocations: 11.72 kB / 0.6073 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/1.411, allocations: 7.875 kB / 0.6073 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.411, allocations: 3.875 kB / 0.6073 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.411, allocations: 0 / 0.6073 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/1.411, allocations: 398.6 kB / 0.6077 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/1.411, allocations: 106.1 kB / 0.6078 GB, free: 105.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/1.411, allocations: 11.12 kB / 0.6078 GB, free: 105.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/1.412, allocations: 17.73 kB / 0.6078 GB, free: 105.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/1.412, allocations: 25.45 kB / 0.6078 GB, free: 105.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/1.412, allocations: 13.67 kB / 0.6078 GB, free: 105.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002359/1.412, allocations: 201.4 kB / 0.608 GB, free: 105.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.412, allocations: 3.812 kB / 0.608 GB, free: 105.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006391/1.413, allocations: 114.4 kB / 0.6081 GB, free: 105.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003935/1.413, allocations: 228.9 kB / 0.6083 GB, free: 105.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005871/1.414, allocations: 306.8 kB / 0.6086 GB, free: 105.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.414, allocations: 0 / 0.6086 GB, free: 105.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/1.414, allocations: 71.73 kB / 0.6087 GB, free: 105.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/1.415, allocations: 166.1 kB / 0.6089 GB, free: 105.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/1.417, allocations: 0.7778 MB / 0.6096 GB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/1.417, allocations: 0.7678 MB / 0.6104 GB, free: 104 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/1.417, allocations: 30.25 kB / 0.6104 GB, free: 104 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/1.417, allocations: 0 / 0.6104 GB, free: 104 MB / 362.7 MB Notification: Performance of Templates: time 0.01117/1.428, allocations: 5.891 MB / 0.6162 GB, free: 103 MB / 362.7 MB