Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.00142/0.00142, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001485, allocations: 64.27 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3515, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1559/0.5075, allocations: 149 MB / 1.214 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.5095, allocations: 1.137 MB / 1.215 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.5097, allocations: 7.938 kB / 1.215 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.5102, allocations: 55.67 kB / 1.215 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000947/0.5112, allocations: 302.6 kB / 1.215 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.5116, allocations: 171.4 kB / 1.215 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005077/0.5122, allocations: 215.3 kB / 1.215 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.5124, allocations: 57.38 kB / 1.216 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.5125, allocations: 47.78 kB / 1.216 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.5126, allocations: 63.7 kB / 1.216 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.5126, allocations: 12 kB / 1.216 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007348/0.5134, allocations: 363.3 kB / 1.216 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.369e-05/0.5135, allocations: 35.84 kB / 1.216 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.111e-05/0.5136, allocations: 59.67 kB / 1.216 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.5142, allocations: 291.2 kB / 1.216 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5142, allocations: 0 / 1.216 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5142, allocations: 0 / 1.216 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.5142, allocations: 4 kB / 1.216 GB, free: 2 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.0007623/0.515, allocations: 466.9 kB / 1.217 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.515, allocations: 8.031 kB / 1.217 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.5154, allocations: 36.72 kB / 1.217 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.5157, allocations: 218.4 kB / 1.217 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5157, allocations: 19.92 kB / 1.217 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.5157, allocations: 8 kB / 1.217 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.516, allocations: 109.6 kB / 1.217 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.516, allocations: 0 / 1.217 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.516, allocations: 8 kB / 1.217 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5161, allocations: 0 / 1.217 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.5163, allocations: 93.19 kB / 1.217 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.5171, allocations: 464.1 kB / 1.218 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.5173, allocations: 90.55 kB / 1.218 GB, free: 372 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.5175, allocations: 48.88 kB / 1.218 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.5175, allocations: 0 / 1.218 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.5175, allocations: 34.56 kB / 1.218 GB, free: 276 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.5175, allocations: 0 / 1.218 GB, free: 276 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004593/0.518, allocations: 145.4 kB / 1.218 GB, free: 124 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.518, allocations: 55.41 kB / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.5182, allocations: 179.4 kB / 1.218 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.5183, allocations: 29.64 kB / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.5183, allocations: 116 kB / 1.218 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.5184, allocations: 23.66 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.5184, allocations: 17.72 kB / 1.218 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5185, allocations: 330.8 kB / 1.219 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.5187, allocations: 39.95 kB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.5188, allocations: 36.28 kB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.519, allocations: 76.91 kB / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.519, allocations: 0 / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000275/0.5193, allocations: 117.5 kB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5193, allocations: 4 kB / 1.219 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5193, allocations: 7.984 kB / 1.219 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5193, allocations: 4 kB / 1.219 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.5195, allocations: 15.98 kB / 1.219 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5195, allocations: 0 / 1.219 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.665e-05/0.5196, allocations: 7.938 kB / 1.219 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.5196, allocations: 4 kB / 1.219 GB, free: 15.02 MB / 0.9825 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 9.535e-05/0.5197, allocations: 130.2 kB / 1.219 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.5198, allocations: 15.81 kB / 1.219 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.5201, allocations: 127 kB / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5201, allocations: 0 / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5201, allocations: 0 / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5201, allocations: 0 / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.5204, allocations: 221.5 kB / 1.22 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5204, allocations: 4 kB / 1.22 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.5205, allocations: 15.98 kB / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5205, allocations: 0 / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5205, allocations: 4 kB / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5205, allocations: 3.938 kB / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5205, allocations: 0 / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.5208, allocations: 211.3 kB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.5209, allocations: 92.98 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.5209, allocations: 0 / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.5211, allocations: 12 kB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.5211, allocations: 7.984 kB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.5211, allocations: 11.88 kB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001103/0.5213, allocations: 135.2 kB / 1.22 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5213, allocations: 0 / 1.22 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000251/0.5215, allocations: 16 kB / 1.22 GB, free: 13.93 MB / 0.9825 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.0001762/0.5217, allocations: 115.2 kB / 1.22 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.522, allocations: 83.88 kB / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.522, allocations: 0 / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.5221, allocations: 39.91 kB / 1.22 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.5226, allocations: 33.55 kB / 1.22 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.5232, allocations: 256.8 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.5235, allocations: 0.7117 MB / 1.221 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.952e-05/0.5236, allocations: 8.891 kB / 1.221 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.5236, allocations: 15.44 kB / 1.221 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.5236, allocations: 0 / 1.221 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.004521/0.5282, allocations: 1.593 MB / 1.223 GB, free: 11.05 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)