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.001252/0.001252, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001298/0.001298, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.6792/0.6792, allocations: 95.63 MB / 366 MB, free: 10.36 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.0005887/0.0005888, allocations: 12 kB / 446.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4433, allocations: 70.34 MB / 0.5051 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6535/1.097, allocations: 142 MB / 0.6438 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/1.098, allocations: 0.7265 MB / 0.6445 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/1.098, allocations: 7 kB / 0.6445 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/1.099, allocations: 35.61 kB / 0.6445 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/1.101, allocations: 466.1 kB / 0.645 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/1.102, allocations: 134.6 kB / 0.6451 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/1.103, allocations: 422.5 kB / 0.6455 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/1.104, allocations: 48.81 kB / 0.6456 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/1.104, allocations: 33.31 kB / 0.6456 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/1.104, allocations: 51.48 kB / 0.6456 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/1.104, allocations: 3.562 kB / 0.6456 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/1.104, allocations: 247.4 kB / 0.6459 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/1.104, allocations: 27.97 kB / 0.6459 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/1.105, allocations: 44.17 kB / 0.646 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000367/1.105, allocations: 190 kB / 0.6461 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.105, allocations: 3.781 kB / 0.6461 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.745e-06/1.105, allocations: 0 / 0.6461 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.105, allocations: 3.484 kB / 0.6461 GB, free: 17.07 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.0007186/1.106, allocations: 451.3 kB / 0.6466 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/1.106, allocations: 12.8 kB / 0.6466 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/1.106, allocations: 32.94 kB / 0.6466 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/1.106, allocations: 217.5 kB / 0.6468 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/1.106, allocations: 8 kB / 0.6468 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/1.106, allocations: 10.34 kB / 0.6468 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/1.107, allocations: 130.3 kB / 0.647 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.107, allocations: 0 / 0.647 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/1.107, allocations: 4.562 kB / 0.647 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/1.107, allocations: 2.531 kB / 0.647 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/1.107, allocations: 104.4 kB / 0.6471 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/1.108, allocations: 462.6 kB / 0.6475 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/1.108, allocations: 96.62 kB / 0.6476 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/1.109, allocations: 44.88 kB / 0.6476 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/1.109, allocations: 6.797 kB / 0.6477 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/1.109, allocations: 31.81 kB / 0.6477 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/1.109, allocations: 6.625 kB / 0.6477 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005018/1.109, allocations: 162.3 kB / 0.6478 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/1.109, allocations: 53.25 kB / 0.6479 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/1.11, allocations: 186.4 kB / 0.6481 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/1.11, allocations: 27.95 kB / 0.6481 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.11, allocations: 116.2 kB / 0.6482 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/1.11, allocations: 23.88 kB / 0.6482 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/1.11, allocations: 3.562 kB / 0.6482 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.11, allocations: 324.9 kB / 0.6485 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/1.11, allocations: 42.41 kB / 0.6486 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/1.11, allocations: 37.66 kB / 0.6486 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/1.11, allocations: 41.61 kB / 0.6487 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.11, allocations: 0 / 0.6487 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003111/1.111, allocations: 130.9 kB / 0.6488 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/1.111, allocations: 5.094 kB / 0.6488 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.111, allocations: 3 kB / 0.6488 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.111, allocations: 4.625 kB / 0.6488 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/1.111, allocations: 20.28 kB / 0.6488 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.111, allocations: 0.75 kB / 0.6488 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-05/1.111, allocations: 21.17 kB / 0.6488 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/1.111, allocations: 0 / 0.6488 GB, free: 15.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.111, allocations: 128.9 kB / 0.649 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/1.111, allocations: 9.688 kB / 0.649 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/1.112, allocations: 142.6 kB / 0.6491 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/1.112, allocations: 3.641 kB / 0.6491 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.112, allocations: 1.781 kB / 0.6491 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/1.112, allocations: 0.7188 kB / 0.6491 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/1.112, allocations: 230.2 kB / 0.6493 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.112, allocations: 0.9688 kB / 0.6493 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/1.112, allocations: 17.22 kB / 0.6494 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.112, allocations: 8.875 kB / 0.6494 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/1.112, allocations: 0 / 0.6494 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.112, allocations: 1.938 kB / 0.6494 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.112, allocations: 0 / 0.6494 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/1.112, allocations: 223.3 kB / 0.6496 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/1.112, allocations: 91.09 kB / 0.6497 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/1.112, allocations: 6.062 kB / 0.6497 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/1.113, allocations: 8.859 kB / 0.6497 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/1.113, allocations: 5.828 kB / 0.6497 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/1.113, allocations: 2.438 kB / 0.6497 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001354/1.113, allocations: 142.6 kB / 0.6498 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.113, allocations: 4 kB / 0.6498 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002775/1.113, allocations: 24.28 kB / 0.6498 GB, free: 14.61 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 (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.0002235/1.113, allocations: 109 kB / 0.65 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000296/1.114, allocations: 91.42 kB / 0.65 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.114, allocations: 0.9688 kB / 0.65 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/1.114, allocations: 41.89 kB / 0.6501 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/1.114, allocations: 48.81 kB / 0.6501 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/1.115, allocations: 318.1 kB / 0.6504 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/1.115, allocations: 0.7029 MB / 0.6511 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.27e-05/1.115, allocations: 14.75 kB / 0.6511 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/1.115, allocations: 15.66 kB / 0.6511 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/1.115, allocations: 0.5 kB / 0.6511 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.005505/1.121, allocations: 1.544 MB / 0.6527 GB, free: 13.46 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: