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.00419/0.004189, allocations: 233.8 kB / 15.82 MB, free: 6.297 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.001173/0.001173, allocations: 175.3 kB / 16.7 MB, free: 5.457 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 3.501/3.501, allocations: 389.1 MB / 406.5 MB, free: 6.801 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.473/4.473, allocations: 472.3 MB / 0.9024 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004971, allocations: 12 kB / 1.008 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 98.7 MB / 1.105 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.509/6.737, allocations: 2.161 GB / 3.265 GB, free: 41.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/6.737, allocations: 99 kB / 3.265 GB, free: 41.76 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1268/6.864, allocations: 40.49 MB / 3.305 GB, free: 5.82 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.365e-06/6.864, allocations: 4 kB / 3.305 GB, free: 5.816 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.432e-05/6.864, allocations: 4 kB / 3.305 GB, free: 5.812 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.0006931/6.865, allocations: 467.9 kB / 3.305 GB, free: 5.309 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/6.865, allocations: 8.031 kB / 3.305 GB, free: 5.301 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/6.865, allocations: 35.8 kB / 3.305 GB, free: 5.266 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/6.865, allocations: 206.8 kB / 3.306 GB, free: 5.023 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/6.865, allocations: 6.5 kB / 3.306 GB, free: 5.02 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/6.865, allocations: 12 kB / 3.306 GB, free: 5.008 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/6.866, allocations: 128.8 kB / 3.306 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/6.866, allocations: 4 kB / 3.306 GB, free: 4.875 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/6.866, allocations: 5.031 kB / 3.306 GB, free: 4.871 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/6.866, allocations: 4 kB / 3.306 GB, free: 4.867 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/6.866, allocations: 103.9 kB / 3.306 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/6.867, allocations: 460.2 kB / 3.306 GB, free: 4.266 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/6.867, allocations: 94.55 kB / 3.306 GB, free: 4.164 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/6.868, allocations: 44.94 kB / 3.306 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/6.868, allocations: 4 kB / 3.306 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/6.868, allocations: 30.56 kB / 3.306 GB, free: 4.074 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.886e-06/6.868, allocations: 0 / 3.306 GB, free: 4.074 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0006358/6.868, allocations: 171.8 kB / 3.307 GB, free: 3.902 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/6.868, allocations: 55.39 kB / 3.307 GB, free: 3.836 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/6.869, allocations: 178.3 kB / 3.307 GB, free: 3.66 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/6.869, allocations: 33.7 kB / 3.307 GB, free: 3.621 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.144e-05/6.869, allocations: 112 kB / 3.307 GB, free: 3.508 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/6.869, allocations: 23.66 kB / 3.307 GB, free: 3.484 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/6.869, allocations: 0 / 3.307 GB, free: 3.484 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/6.869, allocations: 326.8 kB / 3.307 GB, free: 3.156 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/6.869, allocations: 35.97 kB / 3.307 GB, free: 3.121 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/6.869, allocations: 39.98 kB / 3.307 GB, free: 3.082 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/6.869, allocations: 39.97 kB / 3.307 GB, free: 3.043 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/6.869, allocations: 0 / 3.307 GB, free: 3.043 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004107/6.87, allocations: 136.5 kB / 3.308 GB, free: 2.906 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/6.87, allocations: 4 kB / 3.308 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/6.87, allocations: 0 / 3.308 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/6.87, allocations: 3.953 kB / 3.308 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/6.87, allocations: 19.98 kB / 3.308 GB, free: 2.879 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/6.87, allocations: 0 / 3.308 GB, free: 2.879 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/6.87, allocations: 26.64 kB / 3.308 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/6.87, allocations: 8 kB / 3.308 GB, free: 2.848 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 8.97e-05/6.87, allocations: 117.8 kB / 3.308 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/6.87, allocations: 11.91 kB / 3.308 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/6.871, allocations: 145.1 kB / 3.308 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/6.871, allocations: 2.938 kB / 3.308 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/6.871, allocations: 3.953 kB / 3.308 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/6.871, allocations: 0 / 3.308 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/6.871, allocations: 217.6 kB / 3.308 GB, free: 2.301 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/6.871, allocations: 0 / 3.308 GB, free: 2.301 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/6.871, allocations: 23.98 kB / 3.308 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/6.871, allocations: 0 / 3.308 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/6.871, allocations: 0 / 3.308 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/6.871, allocations: 4 kB / 3.308 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/6.871, allocations: 0 / 3.308 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/6.872, allocations: 223.2 kB / 3.308 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/6.872, allocations: 89.02 kB / 3.308 GB, free: 1.934 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/6.872, allocations: 4 kB / 3.308 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/6.872, allocations: 11.98 kB / 3.308 GB, free: 1.918 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/6.872, allocations: 7.984 kB / 3.308 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/6.872, allocations: 0 / 3.308 GB, free: 1.91 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001262/6.872, allocations: 146.7 kB / 3.309 GB, free: 1.77 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.71e-07/6.872, allocations: 0 / 3.309 GB, free: 1.77 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004601/6.873, allocations: 63.83 kB / 3.309 GB, free: 1.707 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.0007601/6.874, allocations: 0.5566 MB / 3.309 GB, free: 1.18 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004111/6.874, allocations: 87.88 kB / 3.309 GB, free: 1.094 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/6.874, allocations: 4 kB / 3.309 GB, free: 1.09 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/6.874, allocations: 40.83 kB / 3.309 GB, free: 1.051 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/6.875, allocations: 31.97 kB / 3.309 GB, free: 1.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006387/6.875, allocations: 321 kB / 3.31 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5329/7.408, allocations: 0.7164 MB / 3.31 GB, free: 259.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00018/7.409, allocations: 9.172 kB / 3.31 GB, free: 259.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/7.409, allocations: 11.91 kB / 3.31 GB, free: 259 MB / 0.823 GB Notification: Performance of SimCode: time 1.322e-06/7.409, allocations: 2.094 kB / 3.31 GB, free: 259 MB / 0.823 GB Notification: Performance of Templates: time 0.01974/7.428, allocations: 8.555 MB / 3.319 GB, free: 258.8 MB / 0.823 GB