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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2312/0.2333, allocations: 80.83 MB / 0.6706 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7206/0.954, allocations: 149 MB / 0.8161 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.9559, allocations: 1.138 MB / 0.8172 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.956, allocations: 2.062 kB / 0.8172 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.9565, allocations: 56.84 kB / 0.8173 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009371/0.9575, allocations: 314.6 kB / 0.8176 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.958, allocations: 156 kB / 0.8177 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006253/0.9586, allocations: 231.7 kB / 0.818 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.9588, allocations: 57.95 kB / 0.818 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.959, allocations: 59.8 kB / 0.8181 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.9591, allocations: 62.55 kB / 0.8181 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.9591, allocations: 11.5 kB / 0.8181 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008158/0.9599, allocations: 369.1 kB / 0.8185 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.944e-05/0.9601, allocations: 34.02 kB / 0.8185 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.9602, allocations: 62.55 kB / 0.8186 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006376/0.9608, allocations: 295.7 kB / 0.8189 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.9608, allocations: 1.375 kB / 0.8189 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9608, allocations: 0 / 0.8189 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.9609, allocations: 1.875 kB / 0.8189 GB, free: 7.363 MB / 0.5919 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.0007649/0.9616, allocations: 474.9 kB / 0.8193 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.9617, allocations: 8.25 kB / 0.8193 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.962, allocations: 35.97 kB / 0.8194 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.9624, allocations: 215.7 kB / 0.8196 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.9624, allocations: 8.812 kB / 0.8196 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.9625, allocations: 14.16 kB / 0.8196 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.9628, allocations: 123.2 kB / 0.8197 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.9628, allocations: 3.938 kB / 0.8197 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.9628, allocations: 1.031 kB / 0.8197 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.9628, allocations: 3.656 kB / 0.8197 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.9632, allocations: 99.84 kB / 0.8198 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.964, allocations: 457.8 kB / 0.8202 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.9643, allocations: 89.27 kB / 0.8203 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.9644, allocations: 40.78 kB / 0.8204 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.9645, allocations: 5.328 kB / 0.8204 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.9645, allocations: 39.81 kB / 0.8204 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.9645, allocations: 0 / 0.8204 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0005072/0.965, allocations: 142.6 kB / 0.8205 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.9651, allocations: 51.41 kB / 0.8206 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.9653, allocations: 176.3 kB / 0.8208 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.9653, allocations: 33 kB / 0.8208 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.9654, allocations: 120 kB / 0.8209 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.9654, allocations: 18.72 kB / 0.8209 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.9655, allocations: 24.98 kB / 0.821 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9656, allocations: 325.9 kB / 0.8213 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.9657, allocations: 30.61 kB / 0.8213 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.9658, allocations: 31.91 kB / 0.8213 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.9661, allocations: 84.91 kB / 0.8214 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.9661, allocations: 0.5 kB / 0.8214 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003064/0.9664, allocations: 121.1 kB / 0.8215 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.9664, allocations: 4.125 kB / 0.8215 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.9665, allocations: 1.375 kB / 0.8215 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.9665, allocations: 0 / 0.8215 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.9666, allocations: 19.17 kB / 0.8215 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.9666, allocations: 1.375 kB / 0.8215 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.78e-05/0.9667, allocations: 12.03 kB / 0.8216 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.9668, allocations: 6.688 kB / 0.8216 GB, free: 5.32 MB / 0.5919 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.0001063/0.9669, allocations: 137.4 kB / 0.8217 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.9669, allocations: 9.406 kB / 0.8217 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.9673, allocations: 122.9 kB / 0.8218 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.9673, allocations: 0 / 0.8218 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9673, allocations: 13.12 kB / 0.8218 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.9673, allocations: 6.766 kB / 0.8218 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.9676, allocations: 223.3 kB / 0.8221 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9676, allocations: 0 / 0.8221 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.9678, allocations: 20.86 kB / 0.8221 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9678, allocations: 0 / 0.8221 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.9678, allocations: 0 / 0.8221 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.9678, allocations: 0 / 0.8221 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9678, allocations: 3.719 kB / 0.8221 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.9681, allocations: 212.9 kB / 0.8223 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.9682, allocations: 87.66 kB / 0.8224 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.9683, allocations: 2.656 kB / 0.8224 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.9684, allocations: 10.36 kB / 0.8224 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.9685, allocations: 2.656 kB / 0.8224 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.9685, allocations: 2.656 kB / 0.8224 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001515/0.9686, allocations: 144.3 kB / 0.8225 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9687, allocations: 4 kB / 0.8225 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002778/0.9689, allocations: 24.47 kB / 0.8225 GB, free: 4.523 MB / 0.5919 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.0002351/0.9692, allocations: 102.9 kB / 0.8226 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.9695, allocations: 79.53 kB / 0.8227 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9695, allocations: 4 kB / 0.8227 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.9696, allocations: 41.64 kB / 0.8228 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.9701, allocations: 42.08 kB / 0.8228 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.9707, allocations: 257 kB / 0.823 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.9711, allocations: 0.7073 MB / 0.8237 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.054e-05/0.9711, allocations: 14.5 kB / 0.8238 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.9712, allocations: 12.72 kB / 0.8238 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.9712, allocations: 0 / 0.8238 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.004946/0.9762, allocations: 1.628 MB / 0.8254 GB, free: 2.668 MB / 0.5919 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)