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.222/2.222, allocations: 252.6 MB / 265.2 MB, free: 5.652 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 183.8 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 0.5753 GB, free: 10.38 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.001079/0.001078, allocations: 88.44 kB / 0.6797 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.373e-05, allocations: 4 kB / 0.7911 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1986, allocations: 106.2 MB / 0.8949 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.011/7.21, allocations: 2.175 GB / 3.069 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/7.21, allocations: 97.23 kB / 3.07 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.131/7.341, allocations: 40.56 MB / 3.109 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.543e-06/7.341, allocations: 0 / 3.109 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.349e-05/7.341, allocations: 4 kB / 3.109 GB, free: 118.1 MB / 0.8698 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.0006347/7.342, allocations: 458.2 kB / 3.11 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/7.342, allocations: 8.031 kB / 3.11 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/7.342, allocations: 27.89 kB / 3.11 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/7.343, allocations: 218 kB / 3.11 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/7.343, allocations: 8 kB / 3.11 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/7.343, allocations: 7.938 kB / 3.11 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/7.343, allocations: 114 kB / 3.11 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/7.343, allocations: 3.953 kB / 3.11 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/7.343, allocations: 4 kB / 3.11 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/7.343, allocations: 4 kB / 3.11 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/7.343, allocations: 63.98 kB / 3.11 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/7.344, allocations: 460.2 kB / 3.11 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/7.344, allocations: 78.58 kB / 3.111 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/7.344, allocations: 24.86 kB / 3.111 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/7.344, allocations: 8.141 kB / 3.111 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/7.344, allocations: 38.59 kB / 3.111 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/7.344, allocations: 0 / 3.111 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002642/7.345, allocations: 93.42 kB / 3.111 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/7.345, allocations: 51.41 kB / 3.111 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/7.345, allocations: 166.5 kB / 3.111 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/7.345, allocations: 25.7 kB / 3.111 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/7.345, allocations: 119.9 kB / 3.111 GB, free: 116 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/7.345, allocations: 27.64 kB / 3.111 GB, free: 116 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/7.345, allocations: 4 kB / 3.111 GB, free: 116 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/7.345, allocations: 322.8 kB / 3.111 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/7.345, allocations: 20 kB / 3.111 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/7.345, allocations: 20 kB / 3.111 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.025e-05/7.345, allocations: 20 kB / 3.111 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/7.345, allocations: 0 / 3.111 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001987/7.346, allocations: 89.58 kB / 3.112 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/7.346, allocations: 8 kB / 3.112 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/7.346, allocations: 3.984 kB / 3.112 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/7.346, allocations: 3.938 kB / 3.112 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/7.346, allocations: 27.98 kB / 3.112 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/7.346, allocations: 3.953 kB / 3.112 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/7.346, allocations: 11.91 kB / 3.112 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/7.346, allocations: 0 / 3.112 GB, free: 115.4 MB / 0.8698 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 () * 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 6.313e-05/7.346, allocations: 109 kB / 3.112 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/7.346, allocations: 11.89 kB / 3.112 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/7.347, allocations: 111 kB / 3.112 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/7.347, allocations: 0 / 3.112 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/7.347, allocations: 0 / 3.112 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/7.347, allocations: 7.953 kB / 3.112 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/7.347, allocations: 221.5 kB / 3.112 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/7.347, allocations: 0 / 3.112 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/7.347, allocations: 19.98 kB / 3.112 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/7.347, allocations: 0 / 3.112 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/7.347, allocations: 0 / 3.112 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/7.347, allocations: 4 kB / 3.112 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/7.347, allocations: 0 / 3.112 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/7.347, allocations: 191.3 kB / 3.112 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/7.347, allocations: 88.92 kB / 3.112 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/7.347, allocations: 4 kB / 3.112 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/7.348, allocations: 11.98 kB / 3.112 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/7.348, allocations: 0 / 3.112 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/7.348, allocations: 8 kB / 3.112 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000129/7.348, allocations: 140.2 kB / 3.112 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/7.348, allocations: 0 / 3.112 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004295/7.348, allocations: 48 kB / 3.113 GB, free: 114.4 MB / 0.8698 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 () * 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.0007656/7.349, allocations: 0.5746 MB / 3.113 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001857/7.349, allocations: 52 kB / 3.113 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/7.349, allocations: 3.938 kB / 3.113 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/7.349, allocations: 24 kB / 3.113 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/7.35, allocations: 27.97 kB / 3.113 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/7.35, allocations: 162.5 kB / 3.113 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/7.351, allocations: 0.716 MB / 3.114 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001171/7.351, allocations: 12.89 kB / 3.114 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/7.351, allocations: 11.44 kB / 3.114 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of SimCode: time 9.72e-07/7.351, allocations: 0 / 3.114 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.02096/7.372, allocations: 10.18 MB / 3.124 GB, free: 102.6 MB / 0.8698 GB