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.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.653/1.653, allocations: 171.3 MB / 179.2 MB, free: 7.582 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.546e-05, allocations: 8 kB / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07023/0.07027, allocations: 38.76 MB / 261.3 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.86/15.93, allocations: 6.523 GB / 6.778 GB, free: 26.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/15.93, allocations: 76.3 kB / 6.778 GB, free: 26.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787/19.72, allocations: 0.8238 GB / 7.602 GB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.136e-06/19.72, allocations: 0 / 7.602 GB, free: 11.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.627e-05/19.72, allocations: 10.31 kB / 7.602 GB, free: 11.28 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01133/19.73, allocations: 2.885 MB / 7.605 GB, free: 9.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/19.73, allocations: 15.08 kB / 7.605 GB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/19.73, allocations: 57.5 kB / 7.605 GB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005903/19.73, allocations: 364.3 kB / 7.605 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/19.73, allocations: 14.38 kB / 7.605 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/19.73, allocations: 28.16 kB / 7.605 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001194/19.74, allocations: 0.5757 MB / 7.606 GB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009193/19.74, allocations: 422.9 kB / 7.606 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/19.74, allocations: 0 / 7.606 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/19.74, allocations: 3.156 kB / 7.606 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/19.74, allocations: 10.59 kB / 7.606 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01819/19.76, allocations: 11.61 MB / 7.617 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009974/19.76, allocations: 0.5888 MB / 7.618 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/19.76, allocations: 238.2 kB / 7.618 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03067/19.79, allocations: 20.14 MB / 7.638 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/19.79, allocations: 46.91 kB / 7.638 GB, free: 9.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 4.309e-06/19.79, allocations: 0 / 7.638 GB, free: 9.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.00537/19.79, allocations: 1.499 MB / 7.639 GB, free: 8.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/19.79, allocations: 66.75 kB / 7.64 GB, free: 8.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/19.79, allocations: 226 kB / 7.64 GB, free: 8.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.084e-05/19.79, allocations: 25.7 kB / 7.64 GB, free: 8.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/19.79, allocations: 263.2 kB / 7.64 GB, free: 8.398 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/19.79, allocations: 188.3 kB / 7.64 GB, free: 8.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/19.79, allocations: 0 / 7.64 GB, free: 8.254 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/19.79, allocations: 329.9 kB / 7.641 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/19.79, allocations: 200.2 kB / 7.641 GB, free: 7.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/19.79, allocations: 281.6 kB / 7.641 GB, free: 7.688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/19.8, allocations: 326.7 kB / 7.641 GB, free: 7.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.363e-06/19.8, allocations: 0 / 7.641 GB, free: 7.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002336/19.8, allocations: 0.7147 MB / 7.642 GB, free: 7.305 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/19.8, allocations: 11.66 kB / 7.642 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/19.8, allocations: 3.656 kB / 7.642 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/19.8, allocations: 74.31 kB / 7.642 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/19.8, allocations: 129.4 kB / 7.642 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/19.8, allocations: 3.188 MB / 7.645 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/19.8, allocations: 35.28 kB / 7.645 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/19.8, allocations: 32.28 kB / 7.645 GB, free: 4.086 MB / 410.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002993/19.8, allocations: 129.1 kB / 7.645 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/19.8, allocations: 36.09 kB / 7.646 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/19.81, allocations: 0.7209 MB / 7.646 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.433e-06/19.81, allocations: 3.688 kB / 7.646 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.283e-06/19.81, allocations: 3.438 kB / 7.646 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/19.81, allocations: 0.8006 MB / 7.647 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/19.81, allocations: 1.355 MB / 7.648 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.328e-06/19.81, allocations: 0 / 7.648 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006412/19.81, allocations: 117.5 kB / 7.648 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001879/19.81, allocations: 67.06 kB / 7.649 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/19.81, allocations: 15.56 kB / 7.649 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2699/20.08, allocations: 0.6661 MB / 7.649 GB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/20.08, allocations: 7.141 kB / 7.649 GB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/20.09, allocations: 0.9989 MB / 7.65 GB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/20.09, allocations: 121.9 kB / 7.65 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/20.09, allocations: 3.828 kB / 7.65 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/20.09, allocations: 29.7 kB / 7.65 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.416e-05/20.09, allocations: 41.69 kB / 7.65 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/20.09, allocations: 37.92 kB / 7.65 GB, free: 43.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002527/20.09, allocations: 183.8 kB / 7.651 GB, free: 43.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.37e-07/20.09, allocations: 1.312 kB / 7.651 GB, free: 43.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009001/20.1, allocations: 1.93 MB / 7.652 GB, free: 43.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01524/20.11, allocations: 3.217 MB / 7.656 GB, free: 43.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001545/20.11, allocations: 0.7391 MB / 7.656 GB, free: 43.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.149e-06/20.11, allocations: 0 / 7.656 GB, free: 43.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000632/20.11, allocations: 303 kB / 7.657 GB, free: 43.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/20.11, allocations: 215.5 kB / 7.657 GB, free: 43.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/20.12, allocations: 0.8973 MB / 7.658 GB, free: 43.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/20.12, allocations: 0.8572 MB / 7.659 GB, free: 42.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/20.12, allocations: 58.64 kB / 7.659 GB, free: 42.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.988e-06/20.12, allocations: 3.219 kB / 7.659 GB, free: 42.34 MB / 410.7 MB Notification: Performance of Templates: time 0.09415/20.21, allocations: 55.14 MB / 7.712 GB, free: 36.79 MB / 410.7 MB