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.01063/0.01064, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001119/0.001119, allocations: 176 kB / 16.06 MB, free: 5.832 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.504/3.504, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.065/4.065, allocations: 472.3 MB / 0.9018 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004979, allocations: 12 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5577/0.5582, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1498/0.7081, allocations: 135 MB / 1.236 GB, free: 103.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.7092, allocations: 0.9385 MB / 1.237 GB, free: 102.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.703e-05/0.7093, allocations: 0 / 1.237 GB, free: 102.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.7096, allocations: 47.67 kB / 1.237 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.71, allocations: 123.3 kB / 1.237 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.7102, allocations: 99.62 kB / 1.237 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.7108, allocations: 263 kB / 1.237 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.7109, allocations: 44.88 kB / 1.237 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.711, allocations: 47.77 kB / 1.237 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.7111, allocations: 43.78 kB / 1.237 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.7111, allocations: 4 kB / 1.237 GB, free: 101.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.7114, allocations: 179.5 kB / 1.238 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.7115, allocations: 19.91 kB / 1.238 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.7115, allocations: 45.64 kB / 1.238 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.7118, allocations: 164.9 kB / 1.238 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7118, allocations: 0 / 1.238 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.871e-06/0.7118, allocations: 0 / 1.238 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.7118, allocations: 3.562 kB / 1.238 GB, free: 101.4 MB / 0.7292 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.0005005/0.7123, allocations: 438.8 kB / 1.238 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.7124, allocations: 12.03 kB / 1.238 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003146/0.7127, allocations: 39.78 kB / 1.238 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.7129, allocations: 210.4 kB / 1.238 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.7129, allocations: 8 kB / 1.238 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.713, allocations: 15.95 kB / 1.238 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.7132, allocations: 117.6 kB / 1.239 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.657e-06/0.7133, allocations: 4 kB / 1.239 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.7133, allocations: 4 kB / 1.239 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.7133, allocations: 4 kB / 1.239 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.7136, allocations: 99.94 kB / 1.239 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.7143, allocations: 456.2 kB / 1.239 GB, free: 99.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.7146, allocations: 94.55 kB / 1.239 GB, free: 99.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.7148, allocations: 48.94 kB / 1.239 GB, free: 99.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.7148, allocations: 3.953 kB / 1.239 GB, free: 99.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.7148, allocations: 30.56 kB / 1.239 GB, free: 99.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.693e-06/0.7148, allocations: 3.094 kB / 1.239 GB, free: 99.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0005018/0.7153, allocations: 161.4 kB / 1.239 GB, free: 99.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.7154, allocations: 55.39 kB / 1.24 GB, free: 99.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.7156, allocations: 178.6 kB / 1.24 GB, free: 99.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.7156, allocations: 33.7 kB / 1.24 GB, free: 99.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.7157, allocations: 120 kB / 1.24 GB, free: 99.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.7157, allocations: 19.7 kB / 1.24 GB, free: 99.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-06/0.7157, allocations: 4 kB / 1.24 GB, free: 99.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.7158, allocations: 322.8 kB / 1.24 GB, free: 98.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.7159, allocations: 35.97 kB / 1.24 GB, free: 98.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.716, allocations: 39.98 kB / 1.24 GB, free: 98.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.7162, allocations: 35.98 kB / 1.24 GB, free: 98.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-06/0.7162, allocations: 0 / 1.24 GB, free: 98.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003236/0.7165, allocations: 137.9 kB / 1.24 GB, free: 98.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7166, allocations: 7.953 kB / 1.24 GB, free: 98.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-06/0.7166, allocations: 3.938 kB / 1.24 GB, free: 98.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7166, allocations: 0 / 1.24 GB, free: 98.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.7168, allocations: 19.98 kB / 1.24 GB, free: 98.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.07e-06/0.7168, allocations: 7.359 kB / 1.24 GB, free: 98.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.717, allocations: 19.94 kB / 1.24 GB, free: 98.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.717, allocations: 0 / 1.24 GB, free: 98.45 MB / 0.7292 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.0001293/0.7172, allocations: 125.3 kB / 1.241 GB, free: 98.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.184e-05/0.7173, allocations: 19.38 kB / 1.241 GB, free: 98.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.7179, allocations: 138.9 kB / 1.241 GB, free: 98.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.752e-06/0.718, allocations: 0 / 1.241 GB, free: 98.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.718, allocations: 3.984 kB / 1.241 GB, free: 98.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.869e-06/0.718, allocations: 0 / 1.241 GB, free: 98.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.7184, allocations: 221.6 kB / 1.241 GB, free: 97.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-06/0.7184, allocations: 0 / 1.241 GB, free: 97.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.7187, allocations: 19.98 kB / 1.241 GB, free: 97.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.803e-06/0.7187, allocations: 0 / 1.241 GB, free: 97.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.7187, allocations: 0 / 1.241 GB, free: 97.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.7187, allocations: 7.953 kB / 1.241 GB, free: 97.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.843e-06/0.7188, allocations: 0 / 1.241 GB, free: 97.87 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.7193, allocations: 215.3 kB / 1.241 GB, free: 97.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.7194, allocations: 100.9 kB / 1.241 GB, free: 97.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.7195, allocations: 0 / 1.241 GB, free: 97.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.7198, allocations: 11.98 kB / 1.241 GB, free: 97.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.7198, allocations: 11.95 kB / 1.241 GB, free: 97.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.7199, allocations: 0 / 1.241 GB, free: 97.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000141/0.72, allocations: 134.7 kB / 1.241 GB, free: 97.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.45e-07/0.72, allocations: 0 / 1.241 GB, free: 97.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000334/0.7204, allocations: 27.91 kB / 1.241 GB, free: 97.35 MB / 0.7292 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.0001297/0.7205, allocations: 113.6 kB / 1.242 GB, free: 97.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.7208, allocations: 83.89 kB / 1.242 GB, free: 97.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.458e-06/0.7209, allocations: 4 kB / 1.242 GB, free: 97.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.721, allocations: 47.97 kB / 1.242 GB, free: 97.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.7215, allocations: 31.95 kB / 1.242 GB, free: 97.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.7221, allocations: 321.1 kB / 1.242 GB, free: 96.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.7223, allocations: 0.7082 MB / 1.243 GB, free: 96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.743e-05/0.7224, allocations: 20.34 kB / 1.243 GB, free: 95.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.7224, allocations: 11.44 kB / 1.243 GB, free: 95.97 MB / 0.7292 GB Notification: Performance of SimCode: time 1.319e-06/0.7224, allocations: 0 / 1.243 GB, free: 95.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.005009/0.7275, allocations: 1.42 MB / 1.244 GB, free: 94.63 MB / 0.7292 GB