Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001086/0.001086, allocations: 175.8 kB / 377.1 MB, free: 1.539 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.691/1.691, allocations: 205.4 MB / 0.6367 GB, free: 8.598 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.000949/0.000949, allocations: 94.28 kB / 0.751 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 12 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2927, allocations: 116.3 MB / 0.9884 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.244/5.537, allocations: 2.058 GB / 3.046 GB, free: 163.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/5.537, allocations: 92.8 kB / 3.046 GB, free: 163.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07637/5.614, allocations: 41.4 MB / 3.087 GB, free: 121.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.423e-06/5.614, allocations: 0 / 3.087 GB, free: 121.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.116e-05/5.614, allocations: 4 kB / 3.087 GB, free: 121.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.0005467/5.614, allocations: 463.5 kB / 3.087 GB, free: 121.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/5.614, allocations: 9.156 kB / 3.087 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/5.615, allocations: 39.84 kB / 3.087 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/5.615, allocations: 198.8 kB / 3.087 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/5.615, allocations: 11.94 kB / 3.087 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/5.615, allocations: 12 kB / 3.087 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/5.615, allocations: 117.6 kB / 3.087 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/5.615, allocations: 4 kB / 3.087 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/5.615, allocations: 11.94 kB / 3.087 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/5.615, allocations: 11.88 kB / 3.087 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/5.615, allocations: 99.94 kB / 3.088 GB, free: 120.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/5.616, allocations: 464.1 kB / 3.088 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/5.616, allocations: 94.55 kB / 3.088 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/5.616, allocations: 4.969 kB / 3.088 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/5.616, allocations: 34.59 kB / 3.088 GB, free: 120.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/5.616, allocations: 0 / 3.088 GB, free: 120.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.000384/5.617, allocations: 158 kB / 3.088 GB, free: 120 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/5.617, allocations: 51.41 kB / 3.088 GB, free: 119.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/5.617, allocations: 159.5 kB / 3.088 GB, free: 119.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/5.617, allocations: 25.7 kB / 3.088 GB, free: 119.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/5.617, allocations: 127.9 kB / 3.089 GB, free: 119.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/5.617, allocations: 19.7 kB / 3.089 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/5.617, allocations: 4 kB / 3.089 GB, free: 119.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.114e-05/5.617, allocations: 326.8 kB / 3.089 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/5.617, allocations: 33.02 kB / 3.089 GB, free: 119.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/5.617, allocations: 47.97 kB / 3.089 GB, free: 119.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.575e-05/5.617, allocations: 39.98 kB / 3.089 GB, free: 119.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/5.617, allocations: 0 / 3.089 GB, free: 119.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000228/5.618, allocations: 129.5 kB / 3.089 GB, free: 119 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/5.618, allocations: 10.48 kB / 3.089 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/5.618, allocations: 0 / 3.089 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/5.618, allocations: 0 / 3.089 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/5.618, allocations: 19.98 kB / 3.089 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/5.618, allocations: 0 / 3.089 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.435e-05/5.618, allocations: 19.84 kB / 3.089 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/5.618, allocations: 4.75 kB / 3.089 GB, free: 118.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.671e-05/5.618, allocations: 133.7 kB / 3.089 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/5.618, allocations: 11.91 kB / 3.089 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/5.618, allocations: 127 kB / 3.089 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/5.618, allocations: 4 kB / 3.089 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/5.618, allocations: 4 kB / 3.089 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/5.618, allocations: 3.984 kB / 3.089 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/5.618, allocations: 229.5 kB / 3.09 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/5.619, allocations: 1.031 kB / 3.09 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/5.619, allocations: 19.92 kB / 3.09 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/5.619, allocations: 4 kB / 3.09 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/5.619, allocations: 0 / 3.09 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/5.619, allocations: 0 / 3.09 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/5.619, allocations: 0 / 3.09 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/5.619, allocations: 219.4 kB / 3.09 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/5.619, allocations: 100.8 kB / 3.09 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/5.619, allocations: 0 / 3.09 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/5.619, allocations: 12 kB / 3.09 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/5.619, allocations: 7.984 kB / 3.09 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/5.619, allocations: 4.844 kB / 3.09 GB, free: 118 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.055e-05/5.619, allocations: 140 kB / 3.09 GB, free: 117.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/5.619, allocations: 0 / 3.09 GB, free: 117.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003661/5.62, allocations: 52 kB / 3.09 GB, free: 117.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.0005826/5.62, allocations: 0.5607 MB / 3.091 GB, free: 117.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002509/5.62, allocations: 83.94 kB / 3.091 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/5.62, allocations: 0 / 3.091 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/5.621, allocations: 56.75 kB / 3.091 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/5.621, allocations: 27.92 kB / 3.091 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/5.621, allocations: 302.3 kB / 3.091 GB, free: 116.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/5.621, allocations: 0.7121 MB / 3.092 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.26e-05/5.622, allocations: 16.86 kB / 3.092 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/5.622, allocations: 19.38 kB / 3.092 GB, free: 116 MB / 0.948 GB Notification: Performance of SimCode: time 3.5e-07/5.622, allocations: 4.844 kB / 3.092 GB, free: 116 MB / 0.948 GB Notification: Performance of Templates: time 0.0107/5.632, allocations: 8.516 MB / 3.1 GB, free: 107.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)