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.004293/0.004293, allocations: 238 kB / 15.8 MB, free: 6.316 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.001168/0.001168, allocations: 180 kB / 16.68 MB, free: 5.469 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 4.194/4.194, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.19/4.19, allocations: 472.3 MB / 0.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005073/0.0005076, allocations: 22.5 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1778, allocations: 98.72 MB / 1.105 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7587/0.9366, allocations: 135 MB / 1.236 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.9381, allocations: 0.9491 MB / 1.237 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.9382, allocations: 0.8438 kB / 1.237 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.9385, allocations: 28.52 kB / 1.237 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.939, allocations: 141.5 kB / 1.238 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.9393, allocations: 88.88 kB / 1.238 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006507/0.94, allocations: 274 kB / 1.238 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.9402, allocations: 50.08 kB / 1.238 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.9402, allocations: 42.06 kB / 1.238 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.9403, allocations: 43.41 kB / 1.238 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.9404, allocations: 4.719 kB / 1.238 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004696/0.9409, allocations: 182.3 kB / 1.238 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.9409, allocations: 16.89 kB / 1.238 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.941, allocations: 46.67 kB / 1.238 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.9413, allocations: 157.1 kB / 1.238 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9413, allocations: 0 / 1.238 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9413, allocations: 3.094 kB / 1.238 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.9413, allocations: 0 / 1.238 GB, free: 8.172 MB / 0.6198 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.0006994/0.9421, allocations: 441.8 kB / 1.239 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9421, allocations: 9.875 kB / 1.239 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003842/0.9425, allocations: 41.59 kB / 1.239 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.9428, allocations: 204 kB / 1.239 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.9428, allocations: 11.28 kB / 1.239 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.9428, allocations: 10.75 kB / 1.239 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.9432, allocations: 128 kB / 1.239 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.9432, allocations: 3.062 kB / 1.239 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.9433, allocations: 7.938 kB / 1.239 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.9433, allocations: 6.875 kB / 1.239 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.9437, allocations: 103 kB / 1.239 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008234/0.9445, allocations: 456.4 kB / 1.24 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.9448, allocations: 95 kB / 1.24 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.945, allocations: 42.31 kB / 1.24 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.9451, allocations: 7.406 kB / 1.24 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.9451, allocations: 37.62 kB / 1.24 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.9451, allocations: 0 / 1.24 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006637/0.9458, allocations: 159.5 kB / 1.24 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.9458, allocations: 54.25 kB / 1.24 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.9461, allocations: 182.2 kB / 1.24 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.9461, allocations: 28.58 kB / 1.24 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.9462, allocations: 113 kB / 1.24 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.9462, allocations: 21.67 kB / 1.24 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.9463, allocations: 0 / 1.24 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9464, allocations: 324.5 kB / 1.241 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.9466, allocations: 38.47 kB / 1.241 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.9468, allocations: 42.12 kB / 1.241 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.947, allocations: 44.27 kB / 1.241 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.947, allocations: 3.031 kB / 1.241 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005934/0.9476, allocations: 125.4 kB / 1.241 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.9477, allocations: 6.938 kB / 1.241 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9477, allocations: 1.5 kB / 1.241 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.9477, allocations: 7.953 kB / 1.241 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.948, allocations: 22.67 kB / 1.241 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.948, allocations: 0 / 1.241 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.9483, allocations: 14.12 kB / 1.241 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.9483, allocations: 0 / 1.241 GB, free: 6.102 MB / 0.6198 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 0.0001588/0.9485, allocations: 127.2 kB / 1.241 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.9486, allocations: 17.72 kB / 1.241 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.9492, allocations: 131 kB / 1.241 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9493, allocations: 0 / 1.241 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.9493, allocations: 3.953 kB / 1.241 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.9494, allocations: 92.36 kB / 1.241 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.9494, allocations: 4 kB / 1.241 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.9497, allocations: 13.73 kB / 1.241 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.9497, allocations: 6.766 kB / 1.241 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006566/0.9504, allocations: 204.3 kB / 1.242 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006203/0.951, allocations: 299.6 kB / 1.242 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002348/0.9513, allocations: 44.94 kB / 1.242 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001941/0.9515, allocations: 130.7 kB / 1.242 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of Backend: time 1.212e-06/0.9515, allocations: 0 / 1.242 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.9526, allocations: 182.8 kB / 1.242 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001241/0.9539, allocations: 0.752 MB / 1.243 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.009704/0.9636, allocations: 2.063 MB / 1.245 GB, free: 20.38 MB / 0.6355 GB