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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0079/0.007901, allocations: 99.31 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 187.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.613/0.613, allocations: 95.48 MB / 365.4 MB, free: 9.781 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 68.52 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1871, allocations: 69.1 MB / 0.5711 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6522/0.8393, allocations: 156.5 MB / 0.724 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.8405, allocations: 0.7825 MB / 0.7247 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.8407, allocations: 4 kB / 0.7247 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.8411, allocations: 43.67 kB / 0.7248 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.8428, allocations: 0.6068 MB / 0.7254 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.8431, allocations: 163.4 kB / 0.7255 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.8444, allocations: 0.4938 MB / 0.726 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.8446, allocations: 61.45 kB / 0.7261 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.835e-05/0.8447, allocations: 55.67 kB / 0.7261 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.8448, allocations: 63.64 kB / 0.7262 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.8448, allocations: 12 kB / 0.7262 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.8453, allocations: 291.5 kB / 0.7265 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.8453, allocations: 39.84 kB / 0.7265 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.8454, allocations: 59.67 kB / 0.7266 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.8459, allocations: 294.6 kB / 0.7269 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8459, allocations: 0 / 0.7269 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8459, allocations: 0 / 0.7269 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.8459, allocations: 4 kB / 0.7269 GB, free: 15.02 MB / 0.545 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.0007293/0.8466, allocations: 466.9 kB / 0.7273 GB, free: 14.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8467, allocations: 11.98 kB / 0.7273 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.847, allocations: 32.3 kB / 0.7273 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.8474, allocations: 223.2 kB / 0.7276 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.8474, allocations: 16 kB / 0.7276 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.8475, allocations: 4 kB / 0.7276 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.8478, allocations: 117.6 kB / 0.7277 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.8478, allocations: 0 / 0.7277 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.8478, allocations: 4 kB / 0.7277 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.8478, allocations: 4 kB / 0.7277 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.8481, allocations: 99.86 kB / 0.7278 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.8488, allocations: 464.1 kB / 0.7282 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.849, allocations: 86.55 kB / 0.7283 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.8491, allocations: 36.94 kB / 0.7284 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.8492, allocations: 4 kB / 0.7284 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.8492, allocations: 38.56 kB / 0.7284 GB, free: 13.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.8492, allocations: 0 / 0.7284 GB, free: 13.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004726/0.8497, allocations: 145.3 kB / 0.7285 GB, free: 13.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.8498, allocations: 55.39 kB / 0.7286 GB, free: 13.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.85, allocations: 187.3 kB / 0.7288 GB, free: 12.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.85, allocations: 33.7 kB / 0.7288 GB, free: 12.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.8501, allocations: 120 kB / 0.7289 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.8501, allocations: 19.66 kB / 0.7289 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.8502, allocations: 21.72 kB / 0.729 GB, free: 12.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8503, allocations: 322.8 kB / 0.7293 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.8504, allocations: 31.97 kB / 0.7293 GB, free: 12.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.8505, allocations: 33.14 kB / 0.7293 GB, free: 12.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.8508, allocations: 76.83 kB / 0.7294 GB, free: 12.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8508, allocations: 0 / 0.7294 GB, free: 12.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002651/0.8511, allocations: 122.7 kB / 0.7295 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8511, allocations: 8 kB / 0.7295 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8511, allocations: 0 / 0.7295 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.8511, allocations: 7.922 kB / 0.7295 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.8513, allocations: 19.98 kB / 0.7295 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.8513, allocations: 0 / 0.7295 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.8514, allocations: 15.84 kB / 0.7296 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.8514, allocations: 4 kB / 0.7296 GB, free: 12.02 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.8515, allocations: 120.5 kB / 0.7297 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.8515, allocations: 11.89 kB / 0.7297 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.8519, allocations: 130.9 kB / 0.7298 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.8519, allocations: 4 kB / 0.7298 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.852, allocations: 0 / 0.7298 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.852, allocations: 0 / 0.7298 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.8522, allocations: 225.6 kB / 0.73 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.8522, allocations: 3.938 kB / 0.73 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.8523, allocations: 19.98 kB / 0.7301 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.8524, allocations: 3.125 kB / 0.7301 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.8524, allocations: 7.938 kB / 0.7301 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.8524, allocations: 1.641 kB / 0.7301 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8524, allocations: 0 / 0.7301 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.8528, allocations: 207.3 kB / 0.7303 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.646e-05/0.8528, allocations: 93 kB / 0.7304 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.8529, allocations: 3.938 kB / 0.7304 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.853, allocations: 4 kB / 0.7304 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.853, allocations: 7.984 kB / 0.7304 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.8531, allocations: 4 kB / 0.7304 GB, free: 11.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001335/0.8532, allocations: 148.2 kB / 0.7305 GB, free: 10.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8532, allocations: 0 / 0.7305 GB, free: 10.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002554/0.8535, allocations: 27.84 kB / 0.7305 GB, free: 10.92 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/0.8537, allocations: 103.2 kB / 0.7306 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.854, allocations: 83.89 kB / 0.7307 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.854, allocations: 0 / 0.7307 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.8542, allocations: 43.95 kB / 0.7308 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.8545, allocations: 32.92 kB / 0.7308 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.8551, allocations: 257.2 kB / 0.731 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.8555, allocations: 0.708 MB / 0.7317 GB, free: 9.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.838e-05/0.8555, allocations: 16.88 kB / 0.7317 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.8556, allocations: 11.44 kB / 0.7318 GB, free: 9.613 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.8556, allocations: 0 / 0.7318 GB, free: 9.613 MB / 0.545 GB Notification: Performance of Templates: time 0.005184/0.8608, allocations: 1.76 MB / 0.7335 GB, free: 7.875 MB / 0.545 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)