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.085/2.085, 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.001547/0.001547, allocations: 184.1 kB / 325.6 MB, free: 2.824 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.353/2.353, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001208/0.001208, allocations: 103.8 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.0006418, allocations: 13.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2284, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.377/6.605, allocations: 2.175 GB / 3.074 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/6.606, allocations: 84.77 kB / 3.074 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.761/7.367, allocations: 40.65 MB / 3.113 GB, free: 328.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.194e-06/7.367, allocations: 3.938 kB / 3.113 GB, free: 328.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.395e-05/7.367, allocations: 2.75 kB / 3.113 GB, free: 328.6 MB / 0.8855 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.0008221/7.368, allocations: 469.1 kB / 3.114 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/7.368, allocations: 9.469 kB / 3.114 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/7.368, allocations: 34.14 kB / 3.114 GB, free: 328.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/7.368, allocations: 209.1 kB / 3.114 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/7.368, allocations: 15.16 kB / 3.114 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/7.368, allocations: 10.09 kB / 3.114 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/7.369, allocations: 121 kB / 3.114 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/7.369, allocations: 0 / 3.114 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/7.369, allocations: 6.156 kB / 3.114 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/7.369, allocations: 6.016 kB / 3.114 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004336/7.369, allocations: 99.25 kB / 3.114 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009304/7.37, allocations: 468.5 kB / 3.115 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/7.371, allocations: 90.5 kB / 3.115 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/7.371, allocations: 0 / 3.115 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/7.371, allocations: 40.55 kB / 3.115 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/7.371, allocations: 0 / 3.115 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0006863/7.371, allocations: 163.8 kB / 3.115 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/7.371, allocations: 51.41 kB / 3.115 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/7.372, allocations: 163.5 kB / 3.115 GB, free: 327.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/7.372, allocations: 33.58 kB / 3.115 GB, free: 327.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/7.372, allocations: 112.4 kB / 3.115 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/7.372, allocations: 23.28 kB / 3.115 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/7.372, allocations: 0 / 3.115 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.093e-05/7.372, allocations: 325.6 kB / 3.116 GB, free: 326.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/7.372, allocations: 36.66 kB / 3.116 GB, free: 326.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/7.372, allocations: 34.5 kB / 3.116 GB, free: 326.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/7.373, allocations: 41.7 kB / 3.116 GB, free: 326.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/7.373, allocations: 3.219 kB / 3.116 GB, free: 326.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004571/7.373, allocations: 135.2 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/7.373, allocations: 5.031 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/7.373, allocations: 2.281 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/7.373, allocations: 0 / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/7.373, allocations: 20.58 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/7.373, allocations: 0 / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/7.374, allocations: 21.05 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/7.374, allocations: 3.625 kB / 3.116 GB, free: 326.8 MB / 0.8855 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.0001101/7.374, allocations: 118.3 kB / 3.116 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/7.374, allocations: 21.11 kB / 3.116 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/7.374, allocations: 143 kB / 3.116 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/7.374, allocations: 0 / 3.116 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/7.374, allocations: 3.938 kB / 3.116 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/7.374, allocations: 0 / 3.116 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/7.375, allocations: 220.9 kB / 3.116 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/7.375, allocations: 0 / 3.116 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/7.375, allocations: 22.56 kB / 3.116 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/7.375, allocations: 3.953 kB / 3.116 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/7.375, allocations: 3.094 kB / 3.116 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/7.375, allocations: 7.797 kB / 3.116 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/7.375, allocations: 0 / 3.116 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/7.375, allocations: 215.8 kB / 3.117 GB, free: 326.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/7.375, allocations: 95.03 kB / 3.117 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/7.375, allocations: 10.27 kB / 3.117 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/7.376, allocations: 4.75 kB / 3.117 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/7.376, allocations: 7.453 kB / 3.117 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/7.376, allocations: 3.969 kB / 3.117 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001372/7.376, allocations: 136.9 kB / 3.117 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.61e-07/7.376, allocations: 0 / 3.117 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004915/7.376, allocations: 57.17 kB / 3.117 GB, free: 326.1 MB / 0.8855 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.0008207/7.377, allocations: 0.5503 MB / 3.118 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004523/7.378, allocations: 85.27 kB / 3.118 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/7.378, allocations: 4 kB / 3.118 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/7.378, allocations: 47.91 kB / 3.118 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/7.378, allocations: 27.53 kB / 3.118 GB, free: 325.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/7.379, allocations: 316.8 kB / 3.118 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/7.379, allocations: 0.7186 MB / 3.119 GB, free: 325 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000131/7.379, allocations: 17.22 kB / 3.119 GB, free: 325 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/7.38, allocations: 13.81 kB / 3.119 GB, free: 325 MB / 0.8855 GB Notification: Performance of SimCode: time 9.12e-07/7.38, allocations: 0 / 3.119 GB, free: 325 MB / 0.8855 GB Notification: Performance of Templates: time 0.02505/7.405, allocations: 8.527 MB / 3.127 GB, free: 323 MB / 0.8855 GB