Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.84/3.84, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.602e-05, allocations: 4 kB / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.4998, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.258/5.757, allocations: 2.17 GB / 2.799 GB, free: 169.1 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/5.758, allocations: 92.86 kB / 2.799 GB, free: 169 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.114/5.872, allocations: 39.83 MB / 2.838 GB, free: 128.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.143e-06/5.872, allocations: 0 / 2.838 GB, free: 128.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.323e-05/5.872, allocations: 4 kB / 2.838 GB, free: 128.6 MB / 0.8073 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.0005102/5.872, allocations: 453 kB / 2.838 GB, free: 128.1 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/5.872, allocations: 12.03 kB / 2.838 GB, free: 128.1 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/5.873, allocations: 35.78 kB / 2.839 GB, free: 128.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/5.873, allocations: 202.9 kB / 2.839 GB, free: 127.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/5.873, allocations: 4 kB / 2.839 GB, free: 127.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/5.873, allocations: 4 kB / 2.839 GB, free: 127.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001675/5.873, allocations: 60.44 kB / 2.839 GB, free: 127.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/5.873, allocations: 105.5 kB / 2.839 GB, free: 127.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/5.873, allocations: 0 / 2.839 GB, free: 127.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/5.873, allocations: 0 / 2.839 GB, free: 127.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.355e-06/5.873, allocations: 4 kB / 2.839 GB, free: 127.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/5.874, allocations: 420.8 kB / 2.839 GB, free: 127.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/5.874, allocations: 62.58 kB / 2.839 GB, free: 127.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/5.874, allocations: 24.92 kB / 2.839 GB, free: 127.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/5.874, allocations: 4 kB / 2.839 GB, free: 127.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/5.874, allocations: 46.53 kB / 2.839 GB, free: 127.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.182e-06/5.874, allocations: 0 / 2.839 GB, free: 127.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002185/5.875, allocations: 73.56 kB / 2.839 GB, free: 127 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/5.875, allocations: 51.41 kB / 2.84 GB, free: 126.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/5.875, allocations: 139.8 kB / 2.84 GB, free: 126.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/5.875, allocations: 25.7 kB / 2.84 GB, free: 126.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/5.875, allocations: 115.8 kB / 2.84 GB, free: 126.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/5.875, allocations: 27.64 kB / 2.84 GB, free: 126.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/5.875, allocations: 0 / 2.84 GB, free: 126.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.284e-05/5.875, allocations: 322.8 kB / 2.84 GB, free: 126.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/5.875, allocations: 19.94 kB / 2.84 GB, free: 126.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/5.875, allocations: 20 kB / 2.84 GB, free: 126.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/5.875, allocations: 24.14 kB / 2.84 GB, free: 126.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-06/5.875, allocations: 0 / 2.84 GB, free: 126.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001732/5.875, allocations: 89.52 kB / 2.84 GB, free: 126.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/5.875, allocations: 7.938 kB / 2.84 GB, free: 126.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.234e-06/5.875, allocations: 0 / 2.84 GB, free: 126.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/5.875, allocations: 0 / 2.84 GB, free: 126.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/5.876, allocations: 23.98 kB / 2.84 GB, free: 126.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.68e-06/5.876, allocations: 0 / 2.84 GB, free: 126.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/5.876, allocations: 15.94 kB / 2.84 GB, free: 126.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/5.876, allocations: 4 kB / 2.84 GB, free: 126.1 MB / 0.8073 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 () * 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 5.109e-05/5.876, allocations: 101 kB / 2.84 GB, free: 126 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/5.876, allocations: 7.906 kB / 2.84 GB, free: 126 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/5.876, allocations: 106.4 kB / 2.841 GB, free: 125.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-06/5.876, allocations: 0 / 2.841 GB, free: 125.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-06/5.876, allocations: 0 / 2.841 GB, free: 125.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.485e-06/5.876, allocations: 3.984 kB / 2.841 GB, free: 125.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/5.876, allocations: 194.1 kB / 2.841 GB, free: 125.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-06/5.876, allocations: 0 / 2.841 GB, free: 125.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/5.877, allocations: 19.98 kB / 2.841 GB, free: 125.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.825e-06/5.877, allocations: 0 / 2.841 GB, free: 125.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/5.877, allocations: 0 / 2.841 GB, free: 125.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.159e-06/5.877, allocations: 0 / 2.841 GB, free: 125.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.34e-06/5.877, allocations: 4 kB / 2.841 GB, free: 125.6 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/5.877, allocations: 183.3 kB / 2.841 GB, free: 125.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/5.877, allocations: 92.95 kB / 2.841 GB, free: 125.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/5.877, allocations: 0 / 2.841 GB, free: 125.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/5.877, allocations: 11.98 kB / 2.841 GB, free: 125.3 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/5.877, allocations: 3.984 kB / 2.841 GB, free: 125.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/5.877, allocations: 11.98 kB / 2.841 GB, free: 125.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.706e-05/5.877, allocations: 107.8 kB / 2.841 GB, free: 125.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.13e-07/5.877, allocations: 0 / 2.841 GB, free: 125.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004151/5.878, allocations: 47.91 kB / 2.841 GB, free: 125.1 MB / 0.8073 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 () * 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.0006992/5.878, allocations: 0.6382 MB / 2.842 GB, free: 124.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001608/5.879, allocations: 44.31 kB / 2.842 GB, free: 124.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/5.879, allocations: 3.938 kB / 2.842 GB, free: 124.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/5.879, allocations: 28 kB / 2.842 GB, free: 124.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/5.879, allocations: 42.67 kB / 2.842 GB, free: 124.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/5.879, allocations: 159 kB / 2.842 GB, free: 124.2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/5.88, allocations: 0.7119 MB / 2.843 GB, free: 123.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.481e-05/5.88, allocations: 12.41 kB / 2.843 GB, free: 123.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/5.88, allocations: 11.44 kB / 2.843 GB, free: 123.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.469e-06/5.88, allocations: 4 kB / 2.843 GB, free: 123.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.009975/5.89, allocations: 4.368 MB / 2.847 GB, free: 119.1 MB / 0.8073 GB