Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.568/1.568, allocations: 287.4 MB / 303.2 MB, free: 8.285 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.0009508/0.0009507, allocations: 189.5 kB / 371.8 MB, free: 10.82 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.441/1.441, allocations: 205.4 MB / 0.6304 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008322/0.0008322, allocations: 95.06 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006233/0.0006233, allocations: 17.89 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2777, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5849/0.8626, allocations: 135.1 MB / 1.111 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.8641, allocations: 1.051 MB / 1.112 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.8642, allocations: 2.125 kB / 1.112 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.8645, allocations: 28.69 kB / 1.112 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0006804/0.8652, allocations: 199 kB / 1.112 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.8655, allocations: 139.3 kB / 1.113 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.866, allocations: 219.2 kB / 1.113 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.8661, allocations: 59.12 kB / 1.113 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.8662, allocations: 33.31 kB / 1.113 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.8663, allocations: 51.17 kB / 1.113 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.8663, allocations: 4.469 kB / 1.113 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005145/0.8668, allocations: 280.1 kB / 1.113 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.8669, allocations: 24.19 kB / 1.113 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.867, allocations: 47.64 kB / 1.113 GB, free: 17.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.8674, allocations: 199.8 kB / 1.113 GB, free: 17.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8674, allocations: 3.312 kB / 1.113 GB, free: 17.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8674, allocations: 0.7031 kB / 1.113 GB, free: 17.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.8674, allocations: 0 / 1.113 GB, free: 17.76 MB / 0.698 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.000684/0.8681, allocations: 448.7 kB / 1.114 GB, free: 17.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.8681, allocations: 13.36 kB / 1.114 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.8684, allocations: 40.23 kB / 1.114 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.8687, allocations: 222.7 kB / 1.114 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.8687, allocations: 6.594 kB / 1.114 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.8688, allocations: 10.56 kB / 1.114 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.8691, allocations: 128.2 kB / 1.114 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8691, allocations: 1.312 kB / 1.114 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.8691, allocations: 3.844 kB / 1.114 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.8691, allocations: 2.469 kB / 1.114 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.8694, allocations: 97.89 kB / 1.114 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007464/0.8702, allocations: 464 kB / 1.115 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.8704, allocations: 95.77 kB / 1.115 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.8705, allocations: 46.88 kB / 1.115 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.8706, allocations: 1 kB / 1.115 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.8706, allocations: 36.5 kB / 1.115 GB, free: 16.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.8706, allocations: 1.125 kB / 1.115 GB, free: 16.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004774/0.8711, allocations: 158.8 kB / 1.115 GB, free: 16.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.8711, allocations: 52.41 kB / 1.115 GB, free: 16.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.8713, allocations: 183.1 kB / 1.115 GB, free: 16.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.8714, allocations: 26.45 kB / 1.115 GB, free: 16.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.8714, allocations: 119.2 kB / 1.116 GB, free: 16.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.8715, allocations: 20.48 kB / 1.116 GB, free: 16.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.8715, allocations: 0 / 1.116 GB, free: 16.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8716, allocations: 328.9 kB / 1.116 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.8717, allocations: 37.62 kB / 1.116 GB, free: 16.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.8719, allocations: 40.95 kB / 1.116 GB, free: 16.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.8721, allocations: 87.41 kB / 1.116 GB, free: 16.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8721, allocations: 5.031 kB / 1.116 GB, free: 16.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003263/0.8724, allocations: 127 kB / 1.116 GB, free: 15.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.8725, allocations: 6 kB / 1.116 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.8725, allocations: 0 / 1.116 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8725, allocations: 3.547 kB / 1.116 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.8727, allocations: 28.09 kB / 1.116 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.8727, allocations: 0 / 1.116 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.8728, allocations: 17.11 kB / 1.116 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.8728, allocations: 2.766 kB / 1.116 GB, free: 15.96 MB / 0.698 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 0.0001063/0.8729, allocations: 124.9 kB / 1.116 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.873, allocations: 13.38 kB / 1.116 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.8733, allocations: 137.4 kB / 1.116 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8733, allocations: 1.703 kB / 1.116 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8733, allocations: 0 / 1.116 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.8734, allocations: 86.39 kB / 1.117 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.8734, allocations: 0.9688 kB / 1.117 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.8736, allocations: 24.55 kB / 1.117 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.8736, allocations: 9.297 kB / 1.117 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003692/0.874, allocations: 201.3 kB / 1.117 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003603/0.8744, allocations: 293.9 kB / 1.117 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001258/0.8745, allocations: 49.2 kB / 1.117 GB, free: 15.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001285/0.8747, allocations: 132.3 kB / 1.117 GB, free: 15.28 MB / 0.698 GB Notification: Performance of Backend: time 2.91e-07/0.8747, allocations: 1.859 kB / 1.117 GB, free: 15.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007655/0.8754, allocations: 209.2 kB / 1.117 GB, free: 15.19 MB / 0.698 GB Notification: Performance of SimCode: time 0.0008058/0.8762, allocations: 0.7506 MB / 1.118 GB, free: 14.53 MB / 0.698 GB Notification: Performance of Templates: time 0.00615/0.8824, allocations: 2.33 MB / 1.12 GB, free: 14.33 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)