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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.662/1.662, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.47e-05, allocations: 0 / 222.5 MB, free: 8.68 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06896/0.069, allocations: 38.77 MB / 261.3 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7096/0.7786, allocations: 254.9 MB / 0.5041 GB, free: 32.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.7789, allocations: 83.38 kB / 0.5042 GB, free: 32.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4012/1.18, allocations: 83.64 MB / 0.5859 GB, free: 91.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.925e-06/1.18, allocations: 0 / 0.5859 GB, free: 91.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/1.18, allocations: 4 kB / 0.5859 GB, free: 91.49 MB / 346.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.0006242/1.181, allocations: 0.5151 MB / 0.5864 GB, free: 90.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/1.181, allocations: 12.03 kB / 0.5864 GB, free: 90.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/1.181, allocations: 35.62 kB / 0.5864 GB, free: 90.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/1.182, allocations: 286.4 kB / 0.5867 GB, free: 90.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/1.182, allocations: 8 kB / 0.5867 GB, free: 90.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/1.182, allocations: 12 kB / 0.5867 GB, free: 90.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000342/1.182, allocations: 157 kB / 0.5869 GB, free: 90.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/1.183, allocations: 272.3 kB / 0.5871 GB, free: 90.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/1.183, allocations: 7.984 kB / 0.5871 GB, free: 90.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/1.183, allocations: 0 / 0.5871 GB, free: 90.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/1.183, allocations: 8 kB / 0.5871 GB, free: 90.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/1.185, allocations: 1.661 MB / 0.5888 GB, free: 88.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/1.185, allocations: 118.6 kB / 0.5889 GB, free: 88.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/1.185, allocations: 68.83 kB / 0.5889 GB, free: 88.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/1.185, allocations: 166.2 kB / 0.5891 GB, free: 87.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/1.185, allocations: 42.52 kB / 0.5891 GB, free: 87.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.645e-06/1.185, allocations: 0 / 0.5891 GB, free: 87.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001529/1.187, allocations: 0.5898 MB / 0.5897 GB, free: 87.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/1.187, allocations: 51.59 kB / 0.5898 GB, free: 87.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/1.187, allocations: 216.5 kB / 0.59 GB, free: 86.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/1.187, allocations: 29.64 kB / 0.59 GB, free: 86.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/1.187, allocations: 257.9 kB / 0.5903 GB, free: 86.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/1.187, allocations: 78.91 kB / 0.5903 GB, free: 86.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/1.187, allocations: 0 / 0.5903 GB, free: 86.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.697e-05/1.187, allocations: 322.8 kB / 0.5906 GB, free: 86.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/1.188, allocations: 63.78 kB / 0.5907 GB, free: 86.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.188, allocations: 179.6 kB / 0.5909 GB, free: 85.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/1.188, allocations: 88.09 kB / 0.591 GB, free: 85.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.189e-06/1.188, allocations: 4 kB / 0.591 GB, free: 85.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005969/1.189, allocations: 274.6 kB / 0.5912 GB, free: 85.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.189, allocations: 11.47 kB / 0.5912 GB, free: 85.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.189, allocations: 8 kB / 0.5912 GB, free: 85.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/1.189, allocations: 28.78 kB / 0.5913 GB, free: 85.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/1.189, allocations: 79.89 kB / 0.5913 GB, free: 85.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008288/1.19, allocations: 1.253 MB / 0.5926 GB, free: 84.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/1.19, allocations: 8 kB / 0.5926 GB, free: 84.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/1.19, allocations: 19.98 kB / 0.5926 GB, free: 84.06 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 () * 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.0001446/1.19, allocations: 120.9 kB / 0.5927 GB, free: 83.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/1.191, allocations: 23.72 kB / 0.5927 GB, free: 83.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/1.191, allocations: 182.3 kB / 0.5929 GB, free: 83.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-06/1.191, allocations: 4 kB / 0.5929 GB, free: 83.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.358e-06/1.191, allocations: 0 / 0.5929 GB, free: 83.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003611/1.191, allocations: 468.3 kB / 0.5934 GB, free: 83.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/1.193, allocations: 0.7215 MB / 0.5941 GB, free: 82.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.373e-06/1.193, allocations: 4 kB / 0.5941 GB, free: 82.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/1.193, allocations: 40.22 kB / 0.5941 GB, free: 82.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.611e-06/1.193, allocations: 8 kB / 0.5941 GB, free: 82.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/1.193, allocations: 4 kB / 0.5941 GB, free: 82.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.158e-06/1.193, allocations: 11.92 kB / 0.5941 GB, free: 82.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.193, allocations: 4 kB / 0.5941 GB, free: 82.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/1.193, allocations: 478.3 kB / 0.5946 GB, free: 81.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/1.194, allocations: 104.8 kB / 0.5947 GB, free: 81.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/1.194, allocations: 7.938 kB / 0.5947 GB, free: 81.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/1.194, allocations: 16.05 kB / 0.5947 GB, free: 81.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/1.194, allocations: 19.94 kB / 0.5947 GB, free: 81.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/1.194, allocations: 15.98 kB / 0.5947 GB, free: 81.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001557/1.194, allocations: 160.5 kB / 0.5949 GB, free: 81.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.64e-07/1.194, allocations: 0 / 0.5949 GB, free: 81.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006384/1.195, allocations: 107.9 kB / 0.595 GB, free: 81.29 MB / 346.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 () * 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.000358/1.195, allocations: 233.1 kB / 0.5952 GB, free: 81.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004737/1.196, allocations: 277.5 kB / 0.5955 GB, free: 80.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.145e-06/1.196, allocations: 0 / 0.5955 GB, free: 80.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/1.196, allocations: 65 kB / 0.5955 GB, free: 80.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/1.197, allocations: 112.8 kB / 0.5957 GB, free: 80.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007829/1.197, allocations: 451.8 kB / 0.5961 GB, free: 80.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/1.198, allocations: 0.7678 MB / 0.5968 GB, free: 79.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/1.198, allocations: 35.42 kB / 0.5969 GB, free: 79.29 MB / 346.7 MB Notification: Performance of SimCode: time 1.529e-06/1.198, allocations: 0 / 0.5969 GB, free: 79.29 MB / 346.7 MB Notification: Performance of Templates: time 0.008374/1.206, allocations: 5.391 MB / 0.6021 GB, free: 73.89 MB / 346.7 MB