Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.448/2.448, allocations: 287.9 MB / 302.9 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 173.1 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 97.61 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004637, allocations: 12.16 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1504, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7048/0.8552, allocations: 125.9 MB / 1.102 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.8565, allocations: 0.8529 MB / 1.103 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.8567, allocations: 1.094 kB / 1.103 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.8569, allocations: 33.23 kB / 1.103 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.8573, allocations: 142.5 kB / 1.103 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.8576, allocations: 98.89 kB / 1.103 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0005474/0.8581, allocations: 222.8 kB / 1.103 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.8583, allocations: 50.47 kB / 1.103 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.8584, allocations: 31.48 kB / 1.103 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.8584, allocations: 41.66 kB / 1.103 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.8585, allocations: 6.688 kB / 1.103 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.8589, allocations: 209.6 kB / 1.103 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.859, allocations: 16.88 kB / 1.103 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.859, allocations: 47.11 kB / 1.103 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.8593, allocations: 158.3 kB / 1.104 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.978e-06/0.8593, allocations: 0 / 1.104 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.128e-06/0.8593, allocations: 5.062 kB / 1.104 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.015e-06/0.8593, allocations: 0 / 1.104 GB, free: 2.113 MB / 0.6823 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.0007131/0.8601, allocations: 439 kB / 1.104 GB, free: 17.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.8601, allocations: 9.156 kB / 1.104 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.8605, allocations: 48.12 kB / 1.104 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.8608, allocations: 202.5 kB / 1.104 GB, free: 17.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.8608, allocations: 6.812 kB / 1.104 GB, free: 17.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.8608, allocations: 11.8 kB / 1.104 GB, free: 17.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.8612, allocations: 122.3 kB / 1.104 GB, free: 17.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-06/0.8612, allocations: 0 / 1.104 GB, free: 17.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.8612, allocations: 7.703 kB / 1.104 GB, free: 17.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.788e-06/0.8612, allocations: 10.38 kB / 1.104 GB, free: 17.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.8616, allocations: 100.5 kB / 1.104 GB, free: 17.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008248/0.8624, allocations: 458.3 kB / 1.105 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.8627, allocations: 95.94 kB / 1.105 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.8628, allocations: 5.281 kB / 1.105 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.8628, allocations: 35.09 kB / 1.105 GB, free: 17.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.648e-06/0.8628, allocations: 0 / 1.105 GB, free: 17.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005586/0.8634, allocations: 161.1 kB / 1.105 GB, free: 17.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.8634, allocations: 56.23 kB / 1.105 GB, free: 16.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.8637, allocations: 182.8 kB / 1.105 GB, free: 16.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.8637, allocations: 25.7 kB / 1.105 GB, free: 16.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.8638, allocations: 115.2 kB / 1.106 GB, free: 16.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.8638, allocations: 24.34 kB / 1.106 GB, free: 16.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-06/0.8639, allocations: 2.062 kB / 1.106 GB, free: 16.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.864, allocations: 326.5 kB / 1.106 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.8642, allocations: 35.45 kB / 1.106 GB, free: 16.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.8644, allocations: 38.09 kB / 1.106 GB, free: 16.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.8646, allocations: 42.31 kB / 1.106 GB, free: 16.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.63e-06/0.8646, allocations: 1.188 kB / 1.106 GB, free: 16.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000373/0.8649, allocations: 135.2 kB / 1.106 GB, free: 16.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.865, allocations: 5.031 kB / 1.106 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.858e-06/0.865, allocations: 0 / 1.106 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.865, allocations: 5 kB / 1.106 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.8652, allocations: 19.05 kB / 1.106 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.466e-06/0.8652, allocations: 4.734 kB / 1.106 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.8654, allocations: 19.19 kB / 1.106 GB, free: 16.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.8654, allocations: 2.281 kB / 1.106 GB, free: 16.35 MB / 0.698 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.0001283/0.8655, allocations: 121.3 kB / 1.106 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.8656, allocations: 9.75 kB / 1.106 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.866, allocations: 144.8 kB / 1.106 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.362e-06/0.866, allocations: 2.719 kB / 1.106 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.046e-06/0.866, allocations: 0.9375 kB / 1.106 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.787e-06/0.8661, allocations: 3.953 kB / 1.106 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.8664, allocations: 223.3 kB / 1.107 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8664, allocations: 3.75 kB / 1.107 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.8665, allocations: 19.69 kB / 1.107 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.69e-06/0.8666, allocations: 0 / 1.107 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.8666, allocations: 1.094 kB / 1.107 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.02e-06/0.8666, allocations: 2.125 kB / 1.107 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.473e-06/0.8666, allocations: 3.312 kB / 1.107 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.867, allocations: 219.7 kB / 1.107 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.8671, allocations: 94.16 kB / 1.107 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.8672, allocations: 4.75 kB / 1.107 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.8673, allocations: 14.42 kB / 1.107 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.8674, allocations: 11.88 kB / 1.107 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.444e-06/0.8674, allocations: 3.641 kB / 1.107 GB, free: 15.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001534/0.8676, allocations: 130.5 kB / 1.107 GB, free: 15.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.04e-07/0.8676, allocations: 0 / 1.107 GB, free: 15.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003366/0.8679, allocations: 22.09 kB / 1.107 GB, free: 15.66 MB / 0.698 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.0001756/0.8681, allocations: 108.5 kB / 1.107 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.8685, allocations: 90 kB / 1.107 GB, free: 15.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.646e-06/0.8685, allocations: 0 / 1.107 GB, free: 15.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.8687, allocations: 43.28 kB / 1.107 GB, free: 15.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.8691, allocations: 37.67 kB / 1.107 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.8697, allocations: 312.1 kB / 1.108 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.8701, allocations: 0.7098 MB / 1.108 GB, free: 14.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.8702, allocations: 13.88 kB / 1.108 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.8703, allocations: 13.38 kB / 1.108 GB, free: 14.66 MB / 0.698 GB Notification: Performance of SimCode: time 1.363e-06/0.8703, allocations: 0 / 1.108 GB, free: 14.66 MB / 0.698 GB Notification: Performance of Templates: time 0.005396/0.8757, allocations: 1.42 MB / 1.11 GB, free: 14.53 MB / 0.698 GB