Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 288.3 MB / 303.2 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 180.9 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 0.6306 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000892/0.000892, allocations: 98.84 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004347, allocations: 12.91 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.252, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.013/5.265, allocations: 2.057 GB / 3.036 GB, free: 261.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/5.265, allocations: 83.95 kB / 3.036 GB, free: 261.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0767/5.342, allocations: 41.39 MB / 3.077 GB, free: 219.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.242e-06/5.342, allocations: 0 / 3.077 GB, free: 219.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.102e-05/5.342, allocations: 4 kB / 3.077 GB, free: 219.8 MB / 0.948 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.00056/5.343, allocations: 471.5 kB / 3.077 GB, free: 219.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/5.343, allocations: 12.03 kB / 3.077 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/5.343, allocations: 31.84 kB / 3.077 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/5.343, allocations: 204 kB / 3.077 GB, free: 219.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/5.343, allocations: 16.42 kB / 3.077 GB, free: 219 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/5.343, allocations: 8 kB / 3.077 GB, free: 219 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/5.343, allocations: 127 kB / 3.078 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/5.343, allocations: 0 / 3.078 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/5.343, allocations: 4 kB / 3.078 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/5.343, allocations: 11.95 kB / 3.078 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/5.344, allocations: 99.94 kB / 3.078 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/5.344, allocations: 468 kB / 3.078 GB, free: 218.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/5.344, allocations: 90.55 kB / 3.078 GB, free: 218.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/5.344, allocations: 4 kB / 3.078 GB, free: 218.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/5.344, allocations: 42.66 kB / 3.078 GB, free: 218.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/5.344, allocations: 0 / 3.078 GB, free: 218.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0004025/5.345, allocations: 153.6 kB / 3.078 GB, free: 218 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/5.345, allocations: 51.41 kB / 3.078 GB, free: 217.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/5.345, allocations: 166 kB / 3.079 GB, free: 217.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/5.345, allocations: 25.7 kB / 3.079 GB, free: 217.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/5.345, allocations: 123.9 kB / 3.079 GB, free: 217.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/5.345, allocations: 19.7 kB / 3.079 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/5.345, allocations: 0 / 3.079 GB, free: 217.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.626e-05/5.345, allocations: 326.8 kB / 3.079 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/5.345, allocations: 43.98 kB / 3.079 GB, free: 217.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/5.345, allocations: 35.97 kB / 3.079 GB, free: 217.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.83e-05/5.346, allocations: 39.98 kB / 3.079 GB, free: 217.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/5.346, allocations: 0 / 3.079 GB, free: 217.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000232/5.346, allocations: 125.5 kB / 3.079 GB, free: 217 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/5.346, allocations: 7.984 kB / 3.079 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/5.346, allocations: 4 kB / 3.079 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/5.346, allocations: 0 / 3.079 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/5.346, allocations: 23.98 kB / 3.079 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/5.346, allocations: 0 / 3.079 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.669e-05/5.346, allocations: 15.84 kB / 3.079 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/5.346, allocations: 0 / 3.079 GB, free: 216.9 MB / 0.948 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 6.921e-05/5.346, allocations: 129.8 kB / 3.079 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/5.346, allocations: 11.84 kB / 3.079 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/5.346, allocations: 142.9 kB / 3.08 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/5.347, allocations: 4 kB / 3.08 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/5.347, allocations: 3.938 kB / 3.08 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/5.347, allocations: 3.984 kB / 3.08 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/5.347, allocations: 217.5 kB / 3.08 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/5.347, allocations: 4 kB / 3.08 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/5.347, allocations: 19.98 kB / 3.08 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/5.347, allocations: 0 / 3.08 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/5.347, allocations: 0 / 3.08 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/5.347, allocations: 4 kB / 3.08 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/5.347, allocations: 0 / 3.08 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/5.347, allocations: 223.9 kB / 3.08 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/5.347, allocations: 96.84 kB / 3.08 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/5.347, allocations: 3.984 kB / 3.08 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/5.347, allocations: 8 kB / 3.08 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/5.347, allocations: 7.984 kB / 3.08 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/5.347, allocations: 4 kB / 3.08 GB, free: 216 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.785e-05/5.347, allocations: 139.2 kB / 3.08 GB, free: 215.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/5.347, allocations: 0 / 3.08 GB, free: 215.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003505/5.348, allocations: 48 kB / 3.08 GB, free: 215.8 MB / 0.948 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.0006373/5.348, allocations: 0.5453 MB / 3.081 GB, free: 215.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002611/5.349, allocations: 91.89 kB / 3.081 GB, free: 215.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/5.349, allocations: 0 / 3.081 GB, free: 215.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/5.349, allocations: 43.97 kB / 3.081 GB, free: 215.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/5.349, allocations: 49.34 kB / 3.081 GB, free: 215.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/5.35, allocations: 313.8 kB / 3.081 GB, free: 214.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/5.35, allocations: 0.7121 MB / 3.082 GB, free: 214 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.256e-05/5.35, allocations: 12.88 kB / 3.082 GB, free: 214 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/5.35, allocations: 15.44 kB / 3.082 GB, free: 214 MB / 0.948 GB Notification: Performance of SimCode: time 2.2e-07/5.35, allocations: 0 / 3.082 GB, free: 214 MB / 0.948 GB Notification: Performance of Templates: time 0.01045/5.36, allocations: 8.526 MB / 3.09 GB, free: 205.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)