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.0008936/0.0008936, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.009952/0.009952, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.809/1.809, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.6438/0.6438, allocations: 95.63 MB / 366.4 MB, free: 10.25 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.0005885/0.0005888, allocations: 16.56 kB / 447.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4262, allocations: 70.33 MB / 0.5057 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6712/1.098, allocations: 152.4 MB / 0.6545 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001053/1.099, allocations: 0.776 MB / 0.6553 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/1.099, allocations: 3.562 kB / 0.6553 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003287/1.099, allocations: 47.75 kB / 0.6553 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/1.101, allocations: 0.5085 MB / 0.6558 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/1.101, allocations: 153.1 kB / 0.656 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001383/1.103, allocations: 0.5009 MB / 0.6565 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/1.103, allocations: 60.44 kB / 0.6565 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/1.103, allocations: 35.97 kB / 0.6566 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/1.103, allocations: 46.58 kB / 0.6566 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/1.103, allocations: 3.5 kB / 0.6566 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006146/1.104, allocations: 311.1 kB / 0.6569 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/1.104, allocations: 22.75 kB / 0.6569 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/1.104, allocations: 82.53 kB / 0.657 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/1.105, allocations: 279.7 kB / 0.6573 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.105, allocations: 4.531 kB / 0.6573 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.675e-06/1.105, allocations: 0.5938 kB / 0.6573 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.105, allocations: 4 kB / 0.6573 GB, free: 12.59 MB / 0.4981 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.0009448/1.106, allocations: 444.4 kB / 0.6577 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.243e-05/1.106, allocations: 13.39 kB / 0.6577 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/1.106, allocations: 37.67 kB / 0.6578 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/1.106, allocations: 210.2 kB / 0.658 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.106, allocations: 7.25 kB / 0.658 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/1.106, allocations: 10.09 kB / 0.658 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/1.107, allocations: 128.2 kB / 0.6581 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.107, allocations: 1.859 kB / 0.6581 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/1.107, allocations: 3.562 kB / 0.6581 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.107, allocations: 0 / 0.6581 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/1.107, allocations: 114 kB / 0.6582 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/1.108, allocations: 472.6 kB / 0.6587 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/1.108, allocations: 95.84 kB / 0.6588 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/1.108, allocations: 48.52 kB / 0.6588 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/1.108, allocations: 2.531 kB / 0.6588 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.108, allocations: 31.47 kB / 0.6588 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/1.108, allocations: 0 / 0.6588 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004702/1.109, allocations: 167 kB / 0.659 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/1.109, allocations: 62.67 kB / 0.659 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/1.109, allocations: 183.5 kB / 0.6592 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.109, allocations: 27.11 kB / 0.6593 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/1.109, allocations: 110.6 kB / 0.6594 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/1.109, allocations: 30.78 kB / 0.6594 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/1.109, allocations: 16.97 kB / 0.6594 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.109, allocations: 322.2 kB / 0.6597 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/1.109, allocations: 35.45 kB / 0.6597 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/1.11, allocations: 34.81 kB / 0.6598 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/1.11, allocations: 93.06 kB / 0.6599 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.11, allocations: 0 / 0.6599 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000295/1.11, allocations: 131.8 kB / 0.66 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.11, allocations: 5.156 kB / 0.66 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.11, allocations: 0.625 kB / 0.66 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.11, allocations: 4.5 kB / 0.66 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/1.11, allocations: 24.39 kB / 0.66 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.11, allocations: 0.7188 kB / 0.66 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/1.11, allocations: 22.33 kB / 0.66 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/1.11, allocations: 1.844 kB / 0.66 GB, free: 10.77 MB / 0.4981 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.0001001/1.111, allocations: 118.9 kB / 0.6602 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/1.111, allocations: 16.31 kB / 0.6602 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/1.111, allocations: 139.1 kB / 0.6603 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.111, allocations: 1.188 kB / 0.6603 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.111, allocations: 3.031 kB / 0.6603 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.111, allocations: 0.5 kB / 0.6603 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/1.111, allocations: 219.4 kB / 0.6605 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.111, allocations: 4 kB / 0.6605 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/1.111, allocations: 22.94 kB / 0.6605 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.111, allocations: 0.7188 kB / 0.6605 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/1.111, allocations: 8.438 kB / 0.6606 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/1.111, allocations: 0.5625 kB / 0.6606 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.111, allocations: 0.5312 kB / 0.6606 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/1.112, allocations: 223 kB / 0.6608 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/1.112, allocations: 92.64 kB / 0.6609 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/1.112, allocations: 10.42 kB / 0.6609 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/1.112, allocations: 9.125 kB / 0.6609 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/1.112, allocations: 4.781 kB / 0.6609 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/1.112, allocations: 3.438 kB / 0.6609 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000164/1.112, allocations: 146.2 kB / 0.661 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.112, allocations: 0.5312 kB / 0.661 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002848/1.113, allocations: 24.47 kB / 0.661 GB, free: 10.08 MB / 0.4981 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.0002242/1.113, allocations: 113.2 kB / 0.6612 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002919/1.113, allocations: 92.67 kB / 0.6612 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.113, allocations: 0 / 0.6612 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/1.113, allocations: 40.75 kB / 0.6613 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/1.114, allocations: 33.55 kB / 0.6613 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/1.114, allocations: 317.4 kB / 0.6616 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/1.115, allocations: 0.705 MB / 0.6623 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.154e-05/1.115, allocations: 17.81 kB / 0.6623 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/1.115, allocations: 14.95 kB / 0.6623 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/1.115, allocations: 0 / 0.6623 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of Templates: time 0.004613/1.119, allocations: 1.576 MB / 0.6639 GB, free: 8.926 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: