Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009002/0.009002, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001164/0.001164, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.855/1.855, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.245/2.245, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.00049, allocations: 16 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5583/0.5588, allocations: 98.7 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.707/6.265, allocations: 2.161 GB / 2.844 GB, free: 230.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/6.266, allocations: 94.77 kB / 2.844 GB, free: 230.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1244/6.39, allocations: 40.56 MB / 2.884 GB, free: 210.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.514e-06/6.39, allocations: 0 / 2.884 GB, free: 210.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.328e-05/6.39, allocations: 4 kB / 2.884 GB, free: 210.7 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000591/6.391, allocations: 474.3 kB / 2.884 GB, free: 210.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/6.391, allocations: 8.031 kB / 2.884 GB, free: 210.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/6.391, allocations: 35.78 kB / 2.884 GB, free: 210.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/6.392, allocations: 210.1 kB / 2.884 GB, free: 209.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/6.392, allocations: 8 kB / 2.884 GB, free: 209.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/6.392, allocations: 6.875 kB / 2.884 GB, free: 209.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/6.392, allocations: 119.2 kB / 2.885 GB, free: 209.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/6.392, allocations: 7.953 kB / 2.885 GB, free: 209.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/6.392, allocations: 4.688 kB / 2.885 GB, free: 209.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-06/6.392, allocations: 0 / 2.885 GB, free: 209.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/6.392, allocations: 104.7 kB / 2.885 GB, free: 209.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/6.393, allocations: 459.6 kB / 2.885 GB, free: 209.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/6.393, allocations: 99.09 kB / 2.885 GB, free: 209.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/6.393, allocations: 8.125 kB / 2.885 GB, free: 209.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/6.393, allocations: 34.56 kB / 2.885 GB, free: 209.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 3.007e-06/6.393, allocations: 0 / 2.885 GB, free: 209.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0005145/6.394, allocations: 166.6 kB / 2.885 GB, free: 209 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/6.394, allocations: 55.41 kB / 2.885 GB, free: 208.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/6.394, allocations: 166.1 kB / 2.886 GB, free: 208.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/6.394, allocations: 25.7 kB / 2.886 GB, free: 208.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/6.394, allocations: 106.9 kB / 2.886 GB, free: 208.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/6.394, allocations: 23.47 kB / 2.886 GB, free: 208.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-06/6.394, allocations: 3.188 kB / 2.886 GB, free: 208.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/6.394, allocations: 326.6 kB / 2.886 GB, free: 208.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/6.394, allocations: 39.28 kB / 2.886 GB, free: 208.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/6.395, allocations: 39.05 kB / 2.886 GB, free: 208.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/6.395, allocations: 43.36 kB / 2.886 GB, free: 208.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-06/6.395, allocations: 0 / 2.886 GB, free: 208.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003319/6.395, allocations: 136.1 kB / 2.886 GB, free: 208.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/6.395, allocations: 4 kB / 2.886 GB, free: 208.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.485e-06/6.395, allocations: 0 / 2.886 GB, free: 208.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/6.395, allocations: 0 / 2.886 GB, free: 208.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/6.395, allocations: 27.73 kB / 2.886 GB, free: 208.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.221e-06/6.395, allocations: 11.95 kB / 2.886 GB, free: 208.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/6.396, allocations: 19.83 kB / 2.886 GB, free: 208.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/6.396, allocations: 0 / 2.886 GB, free: 208.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 prepare postOptimizeDAE: time 9.621e-05/6.396, allocations: 117.5 kB / 2.886 GB, free: 207.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/6.396, allocations: 11.91 kB / 2.886 GB, free: 207.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/6.396, allocations: 137.1 kB / 2.887 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.008e-06/6.396, allocations: 0 / 2.887 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.704e-06/6.396, allocations: 0 / 2.887 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.592e-06/6.396, allocations: 3.953 kB / 2.887 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/6.396, allocations: 223.7 kB / 2.887 GB, free: 207.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-06/6.396, allocations: 0 / 2.887 GB, free: 207.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/6.397, allocations: 23.98 kB / 2.887 GB, free: 207.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/6.397, allocations: 0 / 2.887 GB, free: 207.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/6.397, allocations: 0 / 2.887 GB, free: 207.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.841e-06/6.397, allocations: 0 / 2.887 GB, free: 207.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.697e-06/6.397, allocations: 0 / 2.887 GB, free: 207.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/6.397, allocations: 231.3 kB / 2.887 GB, free: 207.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/6.397, allocations: 85.02 kB / 2.887 GB, free: 207.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/6.397, allocations: 0 / 2.887 GB, free: 207.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/6.397, allocations: 15.36 kB / 2.887 GB, free: 207.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/6.397, allocations: 4 kB / 2.887 GB, free: 207.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/6.397, allocations: 7.922 kB / 2.887 GB, free: 207.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001247/6.397, allocations: 137.1 kB / 2.887 GB, free: 207.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.34e-07/6.397, allocations: 8 kB / 2.887 GB, free: 207.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004584/6.398, allocations: 61.64 kB / 2.887 GB, free: 207.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006655/6.399, allocations: 0.5573 MB / 2.888 GB, free: 206.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003524/6.399, allocations: 92.56 kB / 2.888 GB, free: 206.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/6.399, allocations: 4 kB / 2.888 GB, free: 206.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/6.399, allocations: 34.92 kB / 2.888 GB, free: 206.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/6.4, allocations: 34.59 kB / 2.888 GB, free: 206.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/6.4, allocations: 311 kB / 2.888 GB, free: 206 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/6.4, allocations: 0.7121 MB / 2.889 GB, free: 205.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001046/6.4, allocations: 12.88 kB / 2.889 GB, free: 205.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/6.401, allocations: 15.44 kB / 2.889 GB, free: 205.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.644e-06/6.401, allocations: 0 / 2.889 GB, free: 205.3 MB / 0.823 GB Notification: Performance of Templates: time 0.01603/6.417, allocations: 8.528 MB / 2.897 GB, free: 196.8 MB / 0.823 GB