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.009191/0.009195, allocations: 108.2 kB / 15.06 MB, free: 5.562 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.001152/0.001152, allocations: 184.4 kB / 15.95 MB, free: 5.523 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 2.007/2.007, allocations: 194.6 MB / 211.3 MB, free: 11.3 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.187/2.187, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004657, allocations: 19.98 kB / 0.587 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/0.5317, allocations: 98.7 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1831/0.7149, allocations: 125.9 MB / 0.8062 GB, free: 284 kB / 0.6199 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.7165, allocations: 0.8458 MB / 0.8071 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.7167, allocations: 11.94 kB / 0.8071 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.7169, allocations: 39.78 kB / 0.8071 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.7174, allocations: 135.7 kB / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.7177, allocations: 95.75 kB / 0.8073 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006888/0.7184, allocations: 223.5 kB / 0.8076 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.7186, allocations: 41.28 kB / 0.8076 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.7187, allocations: 39.78 kB / 0.8076 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.7188, allocations: 47.72 kB / 0.8077 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.7188, allocations: 4 kB / 0.8077 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.7193, allocations: 203.7 kB / 0.8079 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.7194, allocations: 15.92 kB / 0.8079 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.7194, allocations: 45.64 kB / 0.8079 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.7198, allocations: 164.9 kB / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.7198, allocations: 0 / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7198, allocations: 4 kB / 0.8081 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.718e-06/0.7198, allocations: 0 / 0.8081 GB, free: 14.37 MB / 0.6355 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.0007152/0.7205, allocations: 446.8 kB / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7206, allocations: 12.03 kB / 0.8085 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.721, allocations: 43.78 kB / 0.8086 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.7213, allocations: 206.8 kB / 0.8088 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.7213, allocations: 8 kB / 0.8088 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.7214, allocations: 11.95 kB / 0.8088 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.7217, allocations: 121.1 kB / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.725e-06/0.7217, allocations: 0 / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.7218, allocations: 4 kB / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.718e-06/0.7218, allocations: 8 kB / 0.8089 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.7222, allocations: 99.92 kB / 0.809 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009049/0.7231, allocations: 460.2 kB / 0.8095 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.7234, allocations: 94.55 kB / 0.8095 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.7234, allocations: 8.031 kB / 0.8095 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.7235, allocations: 38.58 kB / 0.8096 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.02e-06/0.7235, allocations: 0 / 0.8096 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005934/0.7241, allocations: 165.5 kB / 0.8097 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.7242, allocations: 51.41 kB / 0.8098 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.7244, allocations: 189.1 kB / 0.81 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.7245, allocations: 25.7 kB / 0.81 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.7246, allocations: 112 kB / 0.8101 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.7246, allocations: 23.7 kB / 0.8101 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-06/0.7246, allocations: 0 / 0.8101 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.7248, allocations: 322.8 kB / 0.8104 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.725, allocations: 39.98 kB / 0.8105 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.7252, allocations: 39.97 kB / 0.8105 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.7253, allocations: 35.98 kB / 0.8105 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-06/0.7254, allocations: 4 kB / 0.8105 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004082/0.7258, allocations: 129.4 kB / 0.8107 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.7258, allocations: 7.953 kB / 0.8107 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.653e-06/0.7258, allocations: 0 / 0.8107 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.7258, allocations: 0 / 0.8107 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.726, allocations: 27.98 kB / 0.8107 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.7261, allocations: 3.984 kB / 0.8107 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.7262, allocations: 19.78 kB / 0.8107 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.7262, allocations: 0 / 0.8107 GB, free: 11.46 MB / 0.6355 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.0001414/0.7264, allocations: 121.8 kB / 0.8108 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.7265, allocations: 11.89 kB / 0.8109 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.7269, allocations: 146.9 kB / 0.811 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.077e-06/0.727, allocations: 0 / 0.811 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.477e-06/0.727, allocations: 0 / 0.811 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.921e-06/0.727, allocations: 4 kB / 0.811 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.7273, allocations: 217.6 kB / 0.8112 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.7273, allocations: 4 kB / 0.8112 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.7275, allocations: 16 kB / 0.8112 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.7275, allocations: 3.984 kB / 0.8112 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.7275, allocations: 4 kB / 0.8112 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.708e-06/0.7276, allocations: 3.953 kB / 0.8112 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.95e-06/0.7276, allocations: 0 / 0.8112 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.728, allocations: 223.2 kB / 0.8115 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.612e-05/0.7281, allocations: 92.94 kB / 0.8115 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.7282, allocations: 8 kB / 0.8115 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.7284, allocations: 8 kB / 0.8116 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.7284, allocations: 11.94 kB / 0.8116 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.7284, allocations: 4 kB / 0.8116 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001748/0.7286, allocations: 138.5 kB / 0.8117 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.51e-07/0.7286, allocations: 0 / 0.8117 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003468/0.729, allocations: 19.91 kB / 0.8117 GB, free: 10.35 MB / 0.6355 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.0001822/0.7292, allocations: 107.2 kB / 0.8118 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.7296, allocations: 91.89 kB / 0.8119 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7296, allocations: 0 / 0.8119 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.7298, allocations: 44.83 kB / 0.812 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.7302, allocations: 40.64 kB / 0.812 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.7309, allocations: 309.4 kB / 0.8123 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.7313, allocations: 0.716 MB / 0.813 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.7315, allocations: 12.89 kB / 0.813 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.7315, allocations: 11.44 kB / 0.813 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of SimCode: time 1.456e-06/0.7315, allocations: 0 / 0.813 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of Templates: time 0.005523/0.7371, allocations: 1.414 MB / 0.8144 GB, free: 7.578 MB / 0.6355 GB