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.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.577/1.577, allocations: 171.3 MB / 179.2 MB, free: 7.5 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.885e-05, allocations: 7.938 kB / 222.5 MB, free: 8.672 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07117/0.07121, allocations: 38.76 MB / 261.3 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9355/1.007, allocations: 356.6 MB / 0.6034 GB, free: 62.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.007, allocations: 84.11 kB / 0.6035 GB, free: 62.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.401/1.408, allocations: 80.62 MB / 0.6822 GB, free: 96.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.206e-06/1.408, allocations: 1.406 kB / 0.6822 GB, free: 96.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.403e-05/1.408, allocations: 5.312 kB / 0.6822 GB, free: 96.68 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.0009587/1.409, allocations: 0.5996 MB / 0.6828 GB, free: 96.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.409, allocations: 9.625 kB / 0.6828 GB, free: 96.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/1.41, allocations: 45.17 kB / 0.6828 GB, free: 96.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/1.41, allocations: 274.2 kB / 0.6831 GB, free: 96.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/1.41, allocations: 6.875 kB / 0.6831 GB, free: 96.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/1.41, allocations: 15.64 kB / 0.6831 GB, free: 96.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004285/1.411, allocations: 173.1 kB / 0.6833 GB, free: 96.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/1.411, allocations: 259.4 kB / 0.6835 GB, free: 95.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/1.411, allocations: 1.094 kB / 0.6835 GB, free: 95.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/1.411, allocations: 3.875 kB / 0.6835 GB, free: 95.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/1.411, allocations: 10.34 kB / 0.6835 GB, free: 95.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/1.413, allocations: 1.37 MB / 0.6849 GB, free: 95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/1.413, allocations: 163.9 kB / 0.685 GB, free: 94.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/1.414, allocations: 79.8 kB / 0.6851 GB, free: 94.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/1.414, allocations: 6.844 kB / 0.6851 GB, free: 94.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/1.414, allocations: 33.03 kB / 0.6851 GB, free: 94.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.396e-06/1.414, allocations: 0 / 0.6851 GB, free: 94.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.00221/1.416, allocations: 0.7522 MB / 0.6859 GB, free: 94.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/1.416, allocations: 54.16 kB / 0.6859 GB, free: 94.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/1.416, allocations: 202.4 kB / 0.6861 GB, free: 94.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/1.416, allocations: 25.7 kB / 0.6861 GB, free: 94.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/1.416, allocations: 239.3 kB / 0.6864 GB, free: 94.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/1.416, allocations: 88.89 kB / 0.6865 GB, free: 94.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/1.416, allocations: 3.188 kB / 0.6865 GB, free: 94.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/1.417, allocations: 330 kB / 0.6868 GB, free: 93.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/1.417, allocations: 78.69 kB / 0.6869 GB, free: 93.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/1.417, allocations: 159.5 kB / 0.687 GB, free: 93.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/1.417, allocations: 111.8 kB / 0.6871 GB, free: 93.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.28e-06/1.417, allocations: 1.219 kB / 0.6871 GB, free: 93.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000875/1.418, allocations: 321.6 kB / 0.6874 GB, free: 93.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.418, allocations: 6.438 kB / 0.6874 GB, free: 93.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.418, allocations: 6.5 kB / 0.6874 GB, free: 93.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/1.419, allocations: 65.56 kB / 0.6875 GB, free: 93.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/1.419, allocations: 67.67 kB / 0.6876 GB, free: 93.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/1.421, allocations: 2.567 MB / 0.6901 GB, free: 91.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/1.421, allocations: 18.5 kB / 0.6901 GB, free: 91.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/1.421, allocations: 20.86 kB / 0.6901 GB, free: 91.27 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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001875/1.422, allocations: 116 kB / 0.6902 GB, free: 91.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/1.422, allocations: 23.59 kB / 0.6902 GB, free: 91.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.027e-05/1.422, allocations: 37.48 kB / 0.6903 GB, free: 91.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.445e-06/1.422, allocations: 3.875 kB / 0.6903 GB, free: 91.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.497e-06/1.422, allocations: 3.953 kB / 0.6903 GB, free: 91.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005931/1.423, allocations: 0.5383 MB / 0.6908 GB, free: 90.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/1.424, allocations: 0.6335 MB / 0.6914 GB, free: 90.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.307e-06/1.424, allocations: 6.016 kB / 0.6914 GB, free: 90.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/1.424, allocations: 44.62 kB / 0.6915 GB, free: 90.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/1.424, allocations: 51.5 kB / 0.6915 GB, free: 90.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/1.424, allocations: 5.125 kB / 0.6915 GB, free: 90.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/1.425, allocations: 1.321 MB / 0.6928 GB, free: 89.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.425, allocations: 3.312 kB / 0.6928 GB, free: 89.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/1.426, allocations: 461.2 kB / 0.6933 GB, free: 89.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/1.426, allocations: 99.62 kB / 0.6934 GB, free: 88.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/1.426, allocations: 7.516 kB / 0.6934 GB, free: 88.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/1.427, allocations: 3.75 kB / 0.6934 GB, free: 88.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/1.427, allocations: 21.91 kB / 0.6934 GB, free: 88.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/1.427, allocations: 17.19 kB / 0.6934 GB, free: 88.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001701/1.427, allocations: 148.2 kB / 0.6935 GB, free: 88.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-06/1.427, allocations: 0 / 0.6935 GB, free: 88.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007074/1.428, allocations: 104.1 kB / 0.6936 GB, free: 88.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002612/1.428, allocations: 158.4 kB / 0.6938 GB, free: 88.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000782/1.429, allocations: 433.3 kB / 0.6942 GB, free: 88.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.838e-06/1.429, allocations: 2.469 kB / 0.6942 GB, free: 88.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000413/1.429, allocations: 223.2 kB / 0.6944 GB, free: 88.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/1.43, allocations: 116.4 kB / 0.6945 GB, free: 88.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/1.431, allocations: 0.4888 MB / 0.695 GB, free: 88.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/1.432, allocations: 0.7694 MB / 0.6958 GB, free: 87.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/1.432, allocations: 29.44 kB / 0.6958 GB, free: 87.53 MB / 346.7 MB Notification: Performance of SimCode: time 3.759e-06/1.432, allocations: 0 / 0.6958 GB, free: 87.53 MB / 346.7 MB Notification: Performance of Templates: time 0.009779/1.442, allocations: 5.918 MB / 0.7016 GB, free: 87.29 MB / 346.7 MB