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.823/1.823, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001496/0.001496, allocations: 180.8 kB / 361.4 MB, free: 6.816 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.794/1.794, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009437/0.0009438, allocations: 92.06 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.232e-05, allocations: 4 kB / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6539/0.6539, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.792/5.446, allocations: 2.056 GB / 3.02 GB, free: 105.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/5.446, allocations: 88.7 kB / 3.02 GB, free: 105.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0745/5.521, allocations: 40.67 MB / 3.06 GB, free: 64.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/5.521, allocations: 0 / 3.06 GB, free: 64.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.254e-05/5.521, allocations: 9.594 kB / 3.06 GB, free: 64.59 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.0005175/5.521, allocations: 446.3 kB / 3.061 GB, free: 64.11 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/5.521, allocations: 12.03 kB / 3.061 GB, free: 64.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/5.522, allocations: 31.75 kB / 3.061 GB, free: 64.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/5.522, allocations: 211.6 kB / 3.061 GB, free: 63.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/5.522, allocations: 4 kB / 3.061 GB, free: 63.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/5.522, allocations: 8 kB / 3.061 GB, free: 63.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001533/5.522, allocations: 60.44 kB / 3.061 GB, free: 63.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/5.522, allocations: 89.59 kB / 3.061 GB, free: 63.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/5.522, allocations: 0 / 3.061 GB, free: 63.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/5.522, allocations: 3.953 kB / 3.061 GB, free: 63.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/5.522, allocations: 4 kB / 3.061 GB, free: 63.65 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/5.523, allocations: 424.8 kB / 3.061 GB, free: 63.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/5.523, allocations: 68.08 kB / 3.061 GB, free: 63.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/5.523, allocations: 28.95 kB / 3.062 GB, free: 63.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/5.523, allocations: 8 kB / 3.062 GB, free: 63.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/5.523, allocations: 30.56 kB / 3.062 GB, free: 63.04 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/5.523, allocations: 3 kB / 3.062 GB, free: 63.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0001879/5.523, allocations: 77.59 kB / 3.062 GB, free: 62.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/5.523, allocations: 55.34 kB / 3.062 GB, free: 62.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/5.523, allocations: 132.4 kB / 3.062 GB, free: 62.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/5.523, allocations: 25.7 kB / 3.062 GB, free: 62.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/5.523, allocations: 115.9 kB / 3.062 GB, free: 62.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/5.523, allocations: 27.64 kB / 3.062 GB, free: 62.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/5.523, allocations: 0 / 3.062 GB, free: 62.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/5.524, allocations: 326.8 kB / 3.062 GB, free: 62.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/5.524, allocations: 16.16 kB / 3.062 GB, free: 62.24 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/5.524, allocations: 23.98 kB / 3.062 GB, free: 62.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.716e-05/5.524, allocations: 20 kB / 3.062 GB, free: 62.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/5.524, allocations: 0 / 3.062 GB, free: 62.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001069/5.524, allocations: 85.53 kB / 3.062 GB, free: 62.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/5.524, allocations: 5.25 kB / 3.062 GB, free: 62.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/5.524, allocations: 4 kB / 3.062 GB, free: 62.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/5.524, allocations: 0 / 3.062 GB, free: 62.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/5.524, allocations: 23.92 kB / 3.062 GB, free: 62.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/5.524, allocations: 0 / 3.062 GB, free: 62.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.842e-05/5.524, allocations: 19.89 kB / 3.062 GB, free: 62.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/5.524, allocations: 4 kB / 3.062 GB, free: 62.05 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 () * 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.456e-05/5.524, allocations: 104.9 kB / 3.063 GB, free: 61.94 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/5.524, allocations: 11.91 kB / 3.063 GB, free: 61.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/5.524, allocations: 88.56 kB / 3.063 GB, free: 61.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/5.524, allocations: 3.984 kB / 3.063 GB, free: 61.83 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/5.524, allocations: 0 / 3.063 GB, free: 61.83 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/5.524, allocations: 6.938 kB / 3.063 GB, free: 61.83 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/5.525, allocations: 194 kB / 3.063 GB, free: 61.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/5.525, allocations: 0 / 3.063 GB, free: 61.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/5.525, allocations: 23.92 kB / 3.063 GB, free: 61.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/5.525, allocations: 4 kB / 3.063 GB, free: 61.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/5.525, allocations: 0 / 3.063 GB, free: 61.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/5.525, allocations: 0.6562 kB / 3.063 GB, free: 61.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/5.525, allocations: 0 / 3.063 GB, free: 61.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/5.525, allocations: 175.5 kB / 3.063 GB, free: 61.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/5.525, allocations: 92.88 kB / 3.063 GB, free: 61.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/5.525, allocations: 3.984 kB / 3.063 GB, free: 61.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/5.525, allocations: 12 kB / 3.063 GB, free: 61.26 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/5.525, allocations: 3.984 kB / 3.063 GB, free: 61.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/5.525, allocations: 5.031 kB / 3.063 GB, free: 61.25 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.615e-05/5.525, allocations: 107.8 kB / 3.063 GB, free: 61.15 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/5.525, allocations: 4 kB / 3.063 GB, free: 61.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003059/5.525, allocations: 47.92 kB / 3.063 GB, free: 61.1 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 () * 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.0007429/5.526, allocations: 0.6464 MB / 3.064 GB, free: 60.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001294/5.526, allocations: 52.31 kB / 3.064 GB, free: 60.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/5.526, allocations: 0 / 3.064 GB, free: 60.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/5.526, allocations: 31.92 kB / 3.064 GB, free: 60.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/5.527, allocations: 30.67 kB / 3.064 GB, free: 60.35 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/5.527, allocations: 149.7 kB / 3.064 GB, free: 60.18 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/5.527, allocations: 0.7158 MB / 3.065 GB, free: 59.44 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.803e-05/5.527, allocations: 12.44 kB / 3.065 GB, free: 59.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/5.527, allocations: 11.44 kB / 3.065 GB, free: 59.41 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/5.527, allocations: 0 / 3.065 GB, free: 59.41 MB / 0.948 GB Notification: Performance of Templates: time 0.006805/5.534, allocations: 4.378 MB / 3.069 GB, free: 55.09 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)