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.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadModel(Modelica): time 1.687/1.687, allocations: 171.3 MB / 179.2 MB, free: 7.59 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.97e-05, allocations: 3.938 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06806/0.06811, allocations: 38.77 MB / 261.3 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5852/0.6534, allocations: 179.7 MB / 441 MB, free: 94.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.6537, allocations: 88.5 kB / 441.1 MB, free: 94.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7714/1.425, allocations: 194.8 MB / 0.6211 GB, free: 51.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.338e-06/1.425, allocations: 0 / 0.6211 GB, free: 51.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/1.425, allocations: 8 kB / 0.6211 GB, free: 51.85 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001799/1.427, allocations: 0.9687 MB / 0.622 GB, free: 50.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/1.427, allocations: 11.97 kB / 0.622 GB, free: 50.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/1.427, allocations: 43.61 kB / 0.6221 GB, free: 50.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/1.428, allocations: 281.5 kB / 0.6223 GB, free: 50.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/1.428, allocations: 8 kB / 0.6223 GB, free: 50.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/1.428, allocations: 20 kB / 0.6224 GB, free: 50.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003648/1.428, allocations: 157.1 kB / 0.6225 GB, free: 50.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/1.429, allocations: 289.1 kB / 0.6228 GB, free: 49.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/1.429, allocations: 7.953 kB / 0.6228 GB, free: 49.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/1.429, allocations: 7.984 kB / 0.6228 GB, free: 49.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.694e-06/1.429, allocations: 4 kB / 0.6228 GB, free: 49.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/1.431, allocations: 2.006 MB / 0.6248 GB, free: 47.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/1.431, allocations: 170.6 kB / 0.6249 GB, free: 47.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/1.431, allocations: 69.27 kB / 0.625 GB, free: 47.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/1.431, allocations: 258.4 kB / 0.6252 GB, free: 47.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/1.431, allocations: 46.36 kB / 0.6253 GB, free: 47.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.857e-06/1.431, allocations: 0 / 0.6253 GB, free: 47.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.002928/1.434, allocations: 0.8134 MB / 0.6261 GB, free: 46.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/1.434, allocations: 59.41 kB / 0.6261 GB, free: 46.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/1.435, allocations: 200.5 kB / 0.6263 GB, free: 46.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/1.435, allocations: 25.7 kB / 0.6264 GB, free: 46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/1.435, allocations: 250.8 kB / 0.6266 GB, free: 45.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/1.435, allocations: 102.4 kB / 0.6267 GB, free: 45.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/1.435, allocations: 0 / 0.6267 GB, free: 45.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/1.435, allocations: 326.8 kB / 0.627 GB, free: 45.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/1.435, allocations: 80.73 kB / 0.6271 GB, free: 45.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/1.435, allocations: 150.6 kB / 0.6272 GB, free: 45.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/1.436, allocations: 131.7 kB / 0.6273 GB, free: 44.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.261e-06/1.436, allocations: 4 kB / 0.6274 GB, free: 44.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001073/1.437, allocations: 349.9 kB / 0.6277 GB, free: 44.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.437, allocations: 7.938 kB / 0.6277 GB, free: 44.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.131e-06/1.437, allocations: 4 kB / 0.6277 GB, free: 44.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/1.438, allocations: 87.75 kB / 0.6278 GB, free: 44.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/1.438, allocations: 63.91 kB / 0.6278 GB, free: 44.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/1.439, allocations: 0.6809 MB / 0.6285 GB, free: 43.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/1.439, allocations: 12.03 kB / 0.6285 GB, free: 43.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/1.439, allocations: 20 kB / 0.6285 GB, free: 43.68 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/1.439, allocations: 118.2 kB / 0.6287 GB, free: 43.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/1.439, allocations: 23.72 kB / 0.6287 GB, free: 43.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/1.44, allocations: 399.9 kB / 0.6291 GB, free: 43.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.641e-06/1.44, allocations: 4 kB / 0.6291 GB, free: 43.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.706e-06/1.44, allocations: 0 / 0.6291 GB, free: 43.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007979/1.441, allocations: 0.559 MB / 0.6296 GB, free: 42.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/1.443, allocations: 0.6808 MB / 0.6303 GB, free: 41.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-06/1.443, allocations: 3.984 kB / 0.6303 GB, free: 41.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/1.443, allocations: 39.92 kB / 0.6303 GB, free: 41.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/1.443, allocations: 68.81 kB / 0.6304 GB, free: 41.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/1.443, allocations: 12.05 kB / 0.6304 GB, free: 41.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005955/1.444, allocations: 0.6537 MB / 0.631 GB, free: 40.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.401e-06/1.444, allocations: 0 / 0.631 GB, free: 40.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/1.445, allocations: 497.1 kB / 0.6315 GB, free: 40.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/1.445, allocations: 104.8 kB / 0.6316 GB, free: 40.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/1.445, allocations: 7.953 kB / 0.6316 GB, free: 40.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/1.445, allocations: 16.05 kB / 0.6316 GB, free: 40.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/1.445, allocations: 22.55 kB / 0.6316 GB, free: 40.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/1.445, allocations: 15.98 kB / 0.6317 GB, free: 40.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001993/1.446, allocations: 160.5 kB / 0.6318 GB, free: 40.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.227e-06/1.446, allocations: 0 / 0.6318 GB, free: 40.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008062/1.447, allocations: 155.8 kB / 0.632 GB, free: 39.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004027/1.447, allocations: 228.3 kB / 0.6322 GB, free: 39.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000626/1.448, allocations: 224.3 kB / 0.6324 GB, free: 39.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.512e-06/1.448, allocations: 4.062 kB / 0.6324 GB, free: 39.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/1.448, allocations: 111.9 kB / 0.6325 GB, free: 39.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/1.449, allocations: 128.4 kB / 0.6326 GB, free: 39.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009441/1.45, allocations: 446.2 kB / 0.6331 GB, free: 38.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/1.45, allocations: 0.7679 MB / 0.6338 GB, free: 37.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/1.45, allocations: 39.41 kB / 0.6338 GB, free: 37.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.749e-06/1.45, allocations: 3.938 kB / 0.6338 GB, free: 37.93 MB / 346.7 MB Notification: Performance of Templates: time 0.01095/1.461, allocations: 6.997 MB / 0.6407 GB, free: 30.93 MB / 346.7 MB