Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5829/0.5829, allocations: 94.69 MB / 107.2 MB, free: 5.184 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001376/0.001376, allocations: 171.7 kB / 130.7 MB, free: 7.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.743/1.743, allocations: 170.5 MB / 324.5 MB, free: 4.062 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001626/0.001626, allocations: 112.2 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.904e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4429, allocations: 61.52 MB / 0.5054 GB, free: 49.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.39/12.84, allocations: 4.466 GB / 4.972 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/12.84, allocations: 87.02 kB / 4.972 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.161/13, allocations: 76.37 MB / 5.046 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.092e-06/13, allocations: 0 / 5.046 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.37e-05/13, allocations: 4 kB / 5.046 GB, free: 87.94 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.00122/13, allocations: 0.6266 MB / 5.047 GB, free: 87.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/13, allocations: 8.031 kB / 5.047 GB, free: 87.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/13, allocations: 27.8 kB / 5.047 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/13, allocations: 219.8 kB / 5.047 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/13, allocations: 8 kB / 5.047 GB, free: 86.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/13, allocations: 12 kB / 5.047 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/13, allocations: 106 kB / 5.047 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/13, allocations: 3.984 kB / 5.047 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/13, allocations: 4 kB / 5.047 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/13, allocations: 4 kB / 5.047 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/13, allocations: 67.98 kB / 5.047 GB, free: 86.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/13, allocations: 468.2 kB / 5.048 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/13, allocations: 78.41 kB / 5.048 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/13, allocations: 28.92 kB / 5.048 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/13, allocations: 4 kB / 5.048 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/13, allocations: 30.56 kB / 5.048 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/13, allocations: 0 / 5.048 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002212/13, allocations: 93.48 kB / 5.048 GB, free: 86.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/13, allocations: 51.41 kB / 5.048 GB, free: 85.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/13, allocations: 171.5 kB / 5.048 GB, free: 85.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/13, allocations: 29.7 kB / 5.048 GB, free: 85.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/13, allocations: 119.9 kB / 5.048 GB, free: 85.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/13, allocations: 31.78 kB / 5.048 GB, free: 85.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/13, allocations: 0 / 5.048 GB, free: 85.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/13, allocations: 330.8 kB / 5.049 GB, free: 85.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/13, allocations: 20 kB / 5.049 GB, free: 85.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/13, allocations: 23.94 kB / 5.049 GB, free: 85.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/13, allocations: 21 kB / 5.049 GB, free: 85.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/13, allocations: 4 kB / 5.049 GB, free: 85.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001172/13, allocations: 89.55 kB / 5.049 GB, free: 85.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/13, allocations: 7.984 kB / 5.049 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/13, allocations: 4 kB / 5.049 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/13, allocations: 0 / 5.049 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/13, allocations: 19.98 kB / 5.049 GB, free: 85.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/13, allocations: 1.875 kB / 5.049 GB, free: 85.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/13, allocations: 11.91 kB / 5.049 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/13, allocations: 4 kB / 5.049 GB, free: 85.05 MB / 0.5261 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 5.469e-05/13, allocations: 120.7 kB / 5.049 GB, free: 84.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/13, allocations: 11.91 kB / 5.049 GB, free: 84.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/13, allocations: 99.08 kB / 5.049 GB, free: 84.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/13, allocations: 4 kB / 5.049 GB, free: 84.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/13, allocations: 0 / 5.049 GB, free: 84.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/13, allocations: 0 / 5.049 GB, free: 84.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/13, allocations: 225.4 kB / 5.049 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/13, allocations: 4 kB / 5.049 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/13, allocations: 15.98 kB / 5.049 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/13, allocations: 4 kB / 5.049 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/13, allocations: 4 kB / 5.049 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/13, allocations: 0 / 5.049 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/13, allocations: 3.984 kB / 5.049 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/13, allocations: 183.4 kB / 5.049 GB, free: 84.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/13, allocations: 92.88 kB / 5.05 GB, free: 84.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/13, allocations: 8 kB / 5.05 GB, free: 84.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/13, allocations: 12.64 kB / 5.05 GB, free: 84.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/13, allocations: 7.984 kB / 5.05 GB, free: 84.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/13, allocations: 4 kB / 5.05 GB, free: 84.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.599e-05/13, allocations: 135.3 kB / 5.05 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/13, allocations: 0 / 5.05 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004201/13, allocations: 67.92 kB / 5.05 GB, free: 83.97 MB / 0.5261 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.000736/13.01, allocations: 0.6331 MB / 5.05 GB, free: 83.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001345/13.01, allocations: 55.88 kB / 5.05 GB, free: 83.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/13.01, allocations: 0 / 5.05 GB, free: 83.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.638e-05/13.01, allocations: 28 kB / 5.05 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/13.01, allocations: 36.42 kB / 5.051 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/13.01, allocations: 159.9 kB / 5.051 GB, free: 83.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/13.01, allocations: 0.716 MB / 5.051 GB, free: 82.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.241e-05/13.01, allocations: 20.86 kB / 5.051 GB, free: 82.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/13.01, allocations: 11.44 kB / 5.051 GB, free: 82.27 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/13.01, allocations: 0 / 5.051 GB, free: 82.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.01283/13.02, allocations: 10.95 MB / 5.062 GB, free: 71.36 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)