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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001651/0.001651, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001967/0.001967, allocations: 189.6 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 68.31 kB / 0.9115 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.366, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1801/0.5462, allocations: 146.9 MB / 1.211 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.5481, allocations: 1.133 MB / 1.212 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.5483, allocations: 0 / 1.212 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.5489, allocations: 47.78 kB / 1.212 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.55, allocations: 278.9 kB / 1.213 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.5506, allocations: 151.5 kB / 1.213 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006018/0.5512, allocations: 223.3 kB / 1.213 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.5514, allocations: 57.36 kB / 1.213 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.5515, allocations: 43.8 kB / 1.213 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.5516, allocations: 67.75 kB / 1.213 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.5517, allocations: 12 kB / 1.213 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007328/0.5524, allocations: 387.2 kB / 1.213 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.5525, allocations: 31.84 kB / 1.213 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.5526, allocations: 67.67 kB / 1.214 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.5533, allocations: 303.1 kB / 1.214 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.5533, allocations: 0 / 1.214 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5533, allocations: 0 / 1.214 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.5533, allocations: 0 / 1.214 GB, free: 4.551 MB / 0.9669 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.0009015/0.5542, allocations: 466.9 kB / 1.214 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5543, allocations: 8.031 kB / 1.214 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.5546, allocations: 36.72 kB / 1.214 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.5549, allocations: 220 kB / 1.215 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5549, allocations: 11.94 kB / 1.215 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.555, allocations: 12 kB / 1.215 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.5553, allocations: 115.6 kB / 1.215 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5553, allocations: 7.938 kB / 1.215 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.5553, allocations: 4 kB / 1.215 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5553, allocations: 0 / 1.215 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.5556, allocations: 95.94 kB / 1.215 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.5564, allocations: 460.1 kB / 1.215 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.5566, allocations: 86.55 kB / 1.215 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.5568, allocations: 40.94 kB / 1.215 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.5568, allocations: 7.938 kB / 1.215 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.5568, allocations: 34.56 kB / 1.215 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.5568, allocations: 0 / 1.215 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004669/0.5573, allocations: 137.5 kB / 1.216 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.5574, allocations: 55.39 kB / 1.216 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.5576, allocations: 184.1 kB / 1.216 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.5576, allocations: 25.7 kB / 1.216 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.5577, allocations: 116 kB / 1.216 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.5577, allocations: 23.64 kB / 1.216 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.115e-05/0.5578, allocations: 25.72 kB / 1.216 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.558, allocations: 322.8 kB / 1.216 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.5582, allocations: 35.97 kB / 1.216 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.5583, allocations: 39.91 kB / 1.216 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.5585, allocations: 76.81 kB / 1.216 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5585, allocations: 0 / 1.216 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002826/0.5588, allocations: 113.5 kB / 1.216 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5588, allocations: 4 kB / 1.216 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5588, allocations: 0 / 1.216 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5588, allocations: 4 kB / 1.216 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.559, allocations: 23.92 kB / 1.217 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.559, allocations: 0 / 1.217 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.5591, allocations: 15.92 kB / 1.217 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.5591, allocations: 0 / 1.217 GB, free: 1.578 MB / 0.9669 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.0001107/0.5593, allocations: 121.8 kB / 1.217 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.5593, allocations: 19.75 kB / 1.217 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.5597, allocations: 127.6 kB / 1.217 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5597, allocations: 0 / 1.217 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5597, allocations: 0 / 1.217 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5597, allocations: 0 / 1.217 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.5599, allocations: 225.5 kB / 1.217 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.56, allocations: 0 / 1.217 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5601, allocations: 19.92 kB / 1.217 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.5601, allocations: 0 / 1.217 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.5601, allocations: 4 kB / 1.217 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5601, allocations: 7.984 kB / 1.217 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5601, allocations: 0 / 1.217 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.5604, allocations: 215.3 kB / 1.217 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.5605, allocations: 85.02 kB / 1.217 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.5606, allocations: 7.984 kB / 1.217 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5607, allocations: 4 kB / 1.217 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.5608, allocations: 11.92 kB / 1.217 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.5608, allocations: 4 kB / 1.217 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001724/0.561, allocations: 144.2 kB / 1.217 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.561, allocations: 0 / 1.217 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004067/0.5614, allocations: 20 kB / 1.217 GB, free: 492 kB / 0.9669 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.0002679/0.5617, allocations: 107.2 kB / 1.218 GB, free: 372 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.5621, allocations: 87.88 kB / 1.218 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5621, allocations: 0 / 1.218 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.5623, allocations: 39.91 kB / 1.218 GB, free: 244 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.563, allocations: 49.92 kB / 1.218 GB, free: 196 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/0.5637, allocations: 280.9 kB / 1.218 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.5641, allocations: 0.7117 MB / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.5642, allocations: 12.88 kB / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.5643, allocations: 19.44 kB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.5643, allocations: 3.938 kB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of Templates: time 0.005557/0.5699, allocations: 1.514 MB / 1.22 GB, free: 13.62 MB / 0.9825 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)