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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 293 MB / 309 MB, free: 4.785 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.001137/0.001137, allocations: 168.2 kB / 378.7 MB, free: 1.008 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.556/1.556, allocations: 205.4 MB / 0.6383 GB, free: 8.223 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.0008345/0.0008346, allocations: 92.48 kB / 0.7527 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005092/0.0005094, allocations: 16 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2863, allocations: 116.4 MB / 0.9904 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.895/5.182, allocations: 2.058 GB / 3.048 GB, free: 159.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/5.182, allocations: 88.47 kB / 3.048 GB, free: 159.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07256/5.255, allocations: 41.34 MB / 3.089 GB, free: 118.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.402e-06/5.255, allocations: 4.875 kB / 3.089 GB, free: 118.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.976e-06/5.255, allocations: 4 kB / 3.089 GB, free: 118.1 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.0005052/5.255, allocations: 463.7 kB / 3.089 GB, free: 117.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/5.255, allocations: 12.03 kB / 3.089 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/5.255, allocations: 36.81 kB / 3.089 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/5.256, allocations: 209 kB / 3.089 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/5.256, allocations: 16.31 kB / 3.089 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/5.256, allocations: 12.38 kB / 3.089 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/5.256, allocations: 122.1 kB / 3.09 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/5.256, allocations: 192 / 3.09 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/5.256, allocations: 4.875 kB / 3.09 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/5.256, allocations: 4 kB / 3.09 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/5.256, allocations: 107.9 kB / 3.09 GB, free: 117 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/5.257, allocations: 464.1 kB / 3.09 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/5.257, allocations: 98.47 kB / 3.09 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/5.257, allocations: 48.94 kB / 3.09 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/5.257, allocations: 0 / 3.09 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/5.257, allocations: 38.5 kB / 3.09 GB, free: 116.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/5.257, allocations: 0 / 3.09 GB, free: 116.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003769/5.257, allocations: 149.5 kB / 3.09 GB, free: 116.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/5.257, allocations: 60.19 kB / 3.091 GB, free: 116.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/5.258, allocations: 179.1 kB / 3.091 GB, free: 115.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/5.258, allocations: 25.7 kB / 3.091 GB, free: 115.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/5.258, allocations: 120 kB / 3.091 GB, free: 115.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/5.258, allocations: 27.59 kB / 3.091 GB, free: 115.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/5.258, allocations: 0 / 3.091 GB, free: 115.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.07e-05/5.258, allocations: 322.8 kB / 3.091 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/5.258, allocations: 35.98 kB / 3.091 GB, free: 115.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.54e-05/5.258, allocations: 39.97 kB / 3.091 GB, free: 115.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/5.258, allocations: 86.62 kB / 3.091 GB, free: 115.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/5.258, allocations: 4 kB / 3.091 GB, free: 115.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002204/5.258, allocations: 122.2 kB / 3.091 GB, free: 115.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/5.258, allocations: 7.938 kB / 3.091 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/5.258, allocations: 3.938 kB / 3.091 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/5.258, allocations: 4 kB / 3.091 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/5.259, allocations: 19.98 kB / 3.091 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/5.259, allocations: 0.5469 kB / 3.091 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.125e-05/5.259, allocations: 27.83 kB / 3.091 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/5.259, allocations: 0 / 3.091 GB, free: 115.1 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.623e-05/5.259, allocations: 121.8 kB / 3.092 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/5.259, allocations: 12.78 kB / 3.092 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/5.259, allocations: 142.9 kB / 3.092 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/5.259, allocations: 0 / 3.092 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/5.259, allocations: 4 kB / 3.092 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/5.259, allocations: 0 / 3.092 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/5.259, allocations: 225.4 kB / 3.092 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/5.259, allocations: 0 / 3.092 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.76e-05/5.259, allocations: 19.98 kB / 3.092 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/5.259, allocations: 3.938 kB / 3.092 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/5.259, allocations: 4 kB / 3.092 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/5.259, allocations: 0.8438 kB / 3.092 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/5.259, allocations: 0 / 3.092 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/5.26, allocations: 219.3 kB / 3.092 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/5.26, allocations: 100.8 kB / 3.092 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/5.26, allocations: 4 kB / 3.092 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/5.26, allocations: 11.98 kB / 3.092 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/5.26, allocations: 4 kB / 3.092 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/5.26, allocations: 4 kB / 3.092 GB, free: 114.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.065e-05/5.26, allocations: 141.7 kB / 3.092 GB, free: 114 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.26, allocations: 0.75 kB / 3.092 GB, free: 114 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003343/5.26, allocations: 55.98 kB / 3.093 GB, free: 113.9 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.0006011/5.261, allocations: 0.5442 MB / 3.093 GB, free: 113.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002481/5.261, allocations: 91.88 kB / 3.093 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/5.261, allocations: 0 / 3.093 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.561e-05/5.261, allocations: 40.64 kB / 3.093 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/5.262, allocations: 33.23 kB / 3.093 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/5.262, allocations: 317.1 kB / 3.094 GB, free: 112.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/5.262, allocations: 0.7043 MB / 3.094 GB, free: 112.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.476e-05/5.262, allocations: 21.98 kB / 3.094 GB, free: 112.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/5.262, allocations: 11.44 kB / 3.094 GB, free: 112.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/5.262, allocations: 3.938 kB / 3.094 GB, free: 112.1 MB / 0.948 GB Notification: Performance of Templates: time 0.01017/5.273, allocations: 8.566 MB / 3.103 GB, free: 103.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)