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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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/Buildings 3.0.0/package.mo): time 0.7227/0.7227, allocations: 132.3 MB / 144.9 MB, free: 10.56 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009807/0.0009807, allocations: 171.4 kB / 176.9 MB, free: 2.301 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.226/1.226, allocations: 170.5 MB / 379.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001508/0.001508, allocations: 115.3 kB / 450 MB, free: 5.844 MB / 346.7 MB [/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.4455/0.4456, allocations: 73.39 MB / 0.6736 GB, free: 47.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.633/5.078, allocations: 2.118 GB / 2.792 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/5.078, allocations: 85.23 kB / 2.792 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.4264/5.505, allocations: 40.16 MB / 2.831 GB, free: 201.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/5.505, allocations: 0 / 2.831 GB, free: 201.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.135e-05/5.505, allocations: 2.719 kB / 2.831 GB, free: 201.8 MB / 0.6198 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.0005468/5.505, allocations: 455.1 kB / 2.832 GB, free: 201.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/5.505, allocations: 8.312 kB / 2.832 GB, free: 201.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/5.506, allocations: 35.06 kB / 2.832 GB, free: 201.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/5.506, allocations: 204.8 kB / 2.832 GB, free: 201.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/5.506, allocations: 10.34 kB / 2.832 GB, free: 201.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/5.506, allocations: 9.719 kB / 2.832 GB, free: 201.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/5.506, allocations: 101.8 kB / 2.832 GB, free: 201.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/5.506, allocations: 0 / 2.832 GB, free: 201.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/5.506, allocations: 4.562 kB / 2.832 GB, free: 201.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/5.506, allocations: 2.844 kB / 2.832 GB, free: 201.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/5.506, allocations: 76.22 kB / 2.832 GB, free: 201.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/5.507, allocations: 470.7 kB / 2.832 GB, free: 200.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/5.507, allocations: 71.75 kB / 2.833 GB, free: 200.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/5.507, allocations: 30.27 kB / 2.833 GB, free: 200.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/5.507, allocations: 0.7188 kB / 2.833 GB, free: 200.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/5.507, allocations: 49.45 kB / 2.833 GB, free: 200.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/5.507, allocations: 0 / 2.833 GB, free: 200.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001951/5.507, allocations: 85.2 kB / 2.833 GB, free: 200.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/5.507, allocations: 52.11 kB / 2.833 GB, free: 200.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/5.508, allocations: 161.2 kB / 2.833 GB, free: 200.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/5.508, allocations: 25.7 kB / 2.833 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/5.508, allocations: 118.5 kB / 2.833 GB, free: 200.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/5.508, allocations: 24.64 kB / 2.833 GB, free: 200.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/5.508, allocations: 2.812 kB / 2.833 GB, free: 200.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.74e-05/5.508, allocations: 326.5 kB / 2.833 GB, free: 199.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/5.508, allocations: 23.56 kB / 2.833 GB, free: 199.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/5.508, allocations: 19.89 kB / 2.833 GB, free: 199.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/5.508, allocations: 24.62 kB / 2.833 GB, free: 199.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/5.508, allocations: 4.656 kB / 2.833 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001211/5.508, allocations: 98.75 kB / 2.834 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/5.508, allocations: 5.125 kB / 2.834 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/5.508, allocations: 0 / 2.834 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/5.508, allocations: 0.75 kB / 2.834 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/5.508, allocations: 23.88 kB / 2.834 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/5.508, allocations: 0 / 2.834 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.292e-05/5.508, allocations: 14.03 kB / 2.834 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/5.508, allocations: 3.062 kB / 2.834 GB, free: 199.8 MB / 0.6198 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 () * 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 4.38e-05/5.508, allocations: 103.4 kB / 2.834 GB, free: 199.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/5.508, allocations: 21.41 kB / 2.834 GB, free: 199.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/5.509, allocations: 108.6 kB / 2.834 GB, free: 199.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/5.509, allocations: 4 kB / 2.834 GB, free: 199.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/5.509, allocations: 5.25 kB / 2.834 GB, free: 199.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/5.509, allocations: 0.6562 kB / 2.834 GB, free: 199.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/5.509, allocations: 214.7 kB / 2.834 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/5.509, allocations: 0.6562 kB / 2.834 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/5.509, allocations: 23.86 kB / 2.834 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/5.509, allocations: 0.6562 kB / 2.834 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/5.509, allocations: 0 / 2.834 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/5.509, allocations: 0.75 kB / 2.834 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/5.509, allocations: 6.312 kB / 2.834 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/5.509, allocations: 190.7 kB / 2.834 GB, free: 199.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/5.509, allocations: 89.45 kB / 2.834 GB, free: 199.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/5.509, allocations: 7.891 kB / 2.834 GB, free: 199.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/5.509, allocations: 11.2 kB / 2.834 GB, free: 199.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/5.509, allocations: 4.859 kB / 2.834 GB, free: 199.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/5.509, allocations: 4 kB / 2.834 GB, free: 199.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.969e-05/5.509, allocations: 139.9 kB / 2.834 GB, free: 199 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/5.509, allocations: 0 / 2.834 GB, free: 199 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003641/5.51, allocations: 56.95 kB / 2.835 GB, free: 199 MB / 0.6198 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 () * 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.0006446/5.511, allocations: 0.5455 MB / 2.835 GB, free: 198.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001286/5.511, allocations: 56.81 kB / 2.835 GB, free: 198.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/5.511, allocations: 4 kB / 2.835 GB, free: 198.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/5.511, allocations: 26.34 kB / 2.835 GB, free: 198.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/5.511, allocations: 32.5 kB / 2.835 GB, free: 198.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/5.511, allocations: 165 kB / 2.835 GB, free: 198.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/5.512, allocations: 0.7133 MB / 2.836 GB, free: 197.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.454e-05/5.512, allocations: 12.42 kB / 2.836 GB, free: 197.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/5.512, allocations: 17.19 kB / 2.836 GB, free: 197.8 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/5.512, allocations: 0 / 2.836 GB, free: 197.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.01321/5.525, allocations: 10.19 MB / 2.846 GB, free: 196.9 MB / 0.6198 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)