Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.38/2.38, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.001599, allocations: 174.7 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.676/2.676, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001153, allocations: 103.8 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004789, allocations: 18.89 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.2154/0.4315, allocations: 125.9 MB / 1.022 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.434, allocations: 0.8575 MB / 1.023 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.4342, allocations: 0 / 1.023 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.4345, allocations: 35.81 kB / 1.023 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0009487/0.4355, allocations: 143.5 kB / 1.023 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.436, allocations: 87.88 kB / 1.023 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.4371, allocations: 231.4 kB / 1.023 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.4374, allocations: 45.27 kB / 1.023 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.4375, allocations: 35.8 kB / 1.023 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.4377, allocations: 39.78 kB / 1.023 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.4377, allocations: 4 kB / 1.023 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008348/0.4386, allocations: 199.7 kB / 1.023 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.4387, allocations: 23.91 kB / 1.023 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.4387, allocations: 45.64 kB / 1.024 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0005945/0.4394, allocations: 167.9 kB / 1.024 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4394, allocations: 4 kB / 1.024 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4394, allocations: 0 / 1.024 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.4394, allocations: 3.938 kB / 1.024 GB, free: 1.293 MB / 0.6667 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.001046/0.4405, allocations: 430.8 kB / 1.024 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4406, allocations: 8.031 kB / 1.024 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.4412, allocations: 39.78 kB / 1.024 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.4416, allocations: 216.4 kB / 1.024 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.4417, allocations: 8 kB / 1.024 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.4417, allocations: 8 kB / 1.024 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.4423, allocations: 125.5 kB / 1.024 GB, free: 392 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4423, allocations: 0 / 1.024 GB, free: 392 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.4424, allocations: 8 kB / 1.025 GB, free: 384 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.4424, allocations: 4 kB / 1.025 GB, free: 380 kB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006566/0.4431, allocations: 104.5 kB / 1.025 GB, free: 276 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.4445, allocations: 448.2 kB / 1.025 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.4451, allocations: 98.53 kB / 1.025 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.4451, allocations: 12.14 kB / 1.025 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.4452, allocations: 34.62 kB / 1.025 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 4.268e-06/0.4452, allocations: 0 / 1.025 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001024/0.4463, allocations: 161.4 kB / 1.025 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.4463, allocations: 55.39 kB / 1.025 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.4467, allocations: 179.5 kB / 1.026 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.4468, allocations: 25.7 kB / 1.026 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.4469, allocations: 116 kB / 1.026 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.447, allocations: 27.64 kB / 1.026 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.447, allocations: 0 / 1.026 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4472, allocations: 330.8 kB / 1.026 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.4475, allocations: 31.98 kB / 1.026 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.4478, allocations: 35.97 kB / 1.026 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.4481, allocations: 43.98 kB / 1.026 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4481, allocations: 0 / 1.026 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007108/0.4489, allocations: 133.4 kB / 1.026 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.4489, allocations: 7.984 kB / 1.026 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4489, allocations: 0 / 1.026 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.449, allocations: 4 kB / 1.026 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.4493, allocations: 23.94 kB / 1.026 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.4493, allocations: 0 / 1.026 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.4496, allocations: 11.94 kB / 1.026 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.4496, allocations: 4 kB / 1.026 GB, free: 14.4 MB / 0.6823 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.0001862/0.4498, allocations: 121.8 kB / 1.026 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.4499, allocations: 19.81 kB / 1.026 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007482/0.4507, allocations: 131.5 kB / 1.027 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.4507, allocations: 0 / 1.027 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.4508, allocations: 3.953 kB / 1.027 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4508, allocations: 7.922 kB / 1.027 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.4513, allocations: 225.6 kB / 1.027 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4513, allocations: 0 / 1.027 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.4516, allocations: 15.98 kB / 1.027 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.4517, allocations: 4 kB / 1.027 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.4517, allocations: 4 kB / 1.027 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.4517, allocations: 0 / 1.027 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4517, allocations: 0 / 1.027 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007285/0.4525, allocations: 227.3 kB / 1.027 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.4526, allocations: 92.94 kB / 1.027 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.4527, allocations: 4 kB / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.453, allocations: 12 kB / 1.027 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.4531, allocations: 7.984 kB / 1.027 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.4531, allocations: 7.984 kB / 1.027 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002562/0.4534, allocations: 139.5 kB / 1.027 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/0.4534, allocations: 3.938 kB / 1.027 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005788/0.454, allocations: 23.95 kB / 1.027 GB, free: 13.27 MB / 0.6823 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.0002429/0.4543, allocations: 103.2 kB / 1.027 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007259/0.455, allocations: 87.89 kB / 1.027 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.455, allocations: 0 / 1.027 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.4553, allocations: 43.97 kB / 1.028 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.4561, allocations: 35.88 kB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.4572, allocations: 309.4 kB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.4577, allocations: 0.716 MB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002026/0.4579, allocations: 8.891 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.458, allocations: 15.42 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/0.4581, allocations: 0 / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.008832/0.4669, allocations: 1.418 MB / 1.03 GB, free: 10.51 MB / 0.6823 GB