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.Essotherm650.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.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadModel(Modelica): time 1.603/1.603, allocations: 171.3 MB / 179.2 MB, free: 7.59 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.488e-05, allocations: 3.938 kB / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06827/0.0683, allocations: 38.77 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5903/0.6586, allocations: 179.6 MB / 440.9 MB, free: 94.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.6589, allocations: 87.05 kB / 441 MB, free: 94.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7973/1.456, allocations: 204.7 MB / 0.6306 GB, free: 42.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.432e-06/1.456, allocations: 0 / 0.6306 GB, free: 42.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/1.456, allocations: 11.83 kB / 0.6306 GB, free: 42.48 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.001791/1.458, allocations: 0.9697 MB / 0.6315 GB, free: 41.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.458, allocations: 8.031 kB / 0.6315 GB, free: 41.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/1.459, allocations: 47.58 kB / 0.6316 GB, free: 41.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/1.459, allocations: 293.8 kB / 0.6319 GB, free: 41.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/1.459, allocations: 8 kB / 0.6319 GB, free: 41.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/1.459, allocations: 16 kB / 0.6319 GB, free: 41.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003537/1.459, allocations: 165.1 kB / 0.6321 GB, free: 40.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/1.46, allocations: 289.1 kB / 0.6323 GB, free: 40.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/1.46, allocations: 0 / 0.6323 GB, free: 40.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/1.46, allocations: 0 / 0.6323 GB, free: 40.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/1.46, allocations: 15.94 kB / 0.6323 GB, free: 40.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/1.462, allocations: 2.009 MB / 0.6343 GB, free: 38.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/1.462, allocations: 158.6 kB / 0.6345 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/1.462, allocations: 72.86 kB / 0.6345 GB, free: 38.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/1.462, allocations: 259.1 kB / 0.6348 GB, free: 37.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/1.463, allocations: 42.5 kB / 0.6348 GB, free: 37.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.418e-06/1.463, allocations: 0 / 0.6348 GB, free: 37.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.002993/1.466, allocations: 0.8213 MB / 0.6356 GB, free: 36.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/1.466, allocations: 55.41 kB / 0.6357 GB, free: 36.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/1.466, allocations: 200.4 kB / 0.6359 GB, free: 36.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/1.466, allocations: 25.7 kB / 0.6359 GB, free: 36.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/1.466, allocations: 242.8 kB / 0.6361 GB, free: 36.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/1.466, allocations: 102.5 kB / 0.6362 GB, free: 36.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/1.466, allocations: 0 / 0.6362 GB, free: 36.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.134e-05/1.466, allocations: 334.8 kB / 0.6365 GB, free: 35.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/1.466, allocations: 76.69 kB / 0.6366 GB, free: 35.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/1.467, allocations: 154.5 kB / 0.6368 GB, free: 35.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/1.467, allocations: 131.9 kB / 0.6369 GB, free: 35.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.325e-06/1.467, allocations: 0 / 0.6369 GB, free: 35.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001089/1.468, allocations: 353.6 kB / 0.6372 GB, free: 35.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.468, allocations: 8 kB / 0.6372 GB, free: 35.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.92e-06/1.468, allocations: 7.984 kB / 0.6372 GB, free: 35.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/1.469, allocations: 76.81 kB / 0.6373 GB, free: 35.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/1.469, allocations: 68.22 kB / 0.6374 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006832/1.47, allocations: 0.6771 MB / 0.638 GB, free: 34.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/1.47, allocations: 15.86 kB / 0.638 GB, free: 34.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/1.47, allocations: 20.03 kB / 0.6381 GB, free: 34.28 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.0001667/1.47, allocations: 114.2 kB / 0.6382 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/1.47, allocations: 27.72 kB / 0.6382 GB, free: 34.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/1.472, allocations: 392.2 kB / 0.6386 GB, free: 33.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.659e-06/1.472, allocations: 4.094 kB / 0.6386 GB, free: 33.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.914e-06/1.472, allocations: 7.922 kB / 0.6386 GB, free: 33.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008047/1.472, allocations: 0.5629 MB / 0.6391 GB, free: 33.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/1.474, allocations: 0.6847 MB / 0.6398 GB, free: 32.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.697e-06/1.474, allocations: 0 / 0.6398 GB, free: 32.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/1.474, allocations: 39.91 kB / 0.6398 GB, free: 32.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/1.474, allocations: 68.81 kB / 0.6399 GB, free: 32.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/1.474, allocations: 4 kB / 0.6399 GB, free: 32.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005979/1.475, allocations: 0.6576 MB / 0.6406 GB, free: 31.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.719e-06/1.475, allocations: 4.031 kB / 0.6406 GB, free: 31.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.476, allocations: 493.4 kB / 0.641 GB, free: 31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.635e-05/1.476, allocations: 108.8 kB / 0.6411 GB, free: 30.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/1.476, allocations: 4 kB / 0.6411 GB, free: 30.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/1.477, allocations: 11.95 kB / 0.6412 GB, free: 30.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/1.477, allocations: 19.91 kB / 0.6412 GB, free: 30.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/1.477, allocations: 19.98 kB / 0.6412 GB, free: 30.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001699/1.477, allocations: 164.6 kB / 0.6413 GB, free: 30.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.93e-07/1.477, allocations: 0 / 0.6413 GB, free: 30.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007801/1.478, allocations: 151.9 kB / 0.6415 GB, free: 30.52 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.0004159/1.478, allocations: 228.4 kB / 0.6417 GB, free: 30.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006265/1.479, allocations: 227.8 kB / 0.6419 GB, free: 30.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.327e-06/1.479, allocations: 0 / 0.6419 GB, free: 30.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002885/1.479, allocations: 112.6 kB / 0.642 GB, free: 29.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008408/1.48, allocations: 124.3 kB / 0.6422 GB, free: 29.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009382/1.481, allocations: 450.2 kB / 0.6426 GB, free: 29.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/1.481, allocations: 0.7757 MB / 0.6433 GB, free: 28.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/1.481, allocations: 35.41 kB / 0.6434 GB, free: 28.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.715e-06/1.481, allocations: 96 / 0.6434 GB, free: 28.52 MB / 346.7 MB Notification: Performance of Templates: time 0.01055/1.492, allocations: 7.001 MB / 0.6502 GB, free: 21.52 MB / 346.7 MB