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.8407/0.8407, allocations: 133.7 MB / 148.6 MB, free: 13.65 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.001212/0.001212, allocations: 174.7 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.564/1.564, allocations: 170.7 MB / 383.7 MB, free: 16.16 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.001678/0.001678, allocations: 118.9 kB / 454.6 MB, free: 9.738 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.1876/0.1881, allocations: 73.41 MB / 0.6812 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.631/5.819, allocations: 2.118 GB / 2.799 GB, free: 89.01 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/5.819, allocations: 93.98 kB / 2.8 GB, free: 88.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.07731/5.897, allocations: 40.23 MB / 2.839 GB, free: 48.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/5.897, allocations: 0 / 2.839 GB, free: 48.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.713e-05/5.897, allocations: 4 kB / 2.839 GB, free: 48.25 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.000894/5.898, allocations: 468.8 kB / 2.839 GB, free: 47.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/5.898, allocations: 16.03 kB / 2.839 GB, free: 47.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/5.898, allocations: 35.78 kB / 2.839 GB, free: 47.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/5.898, allocations: 207.3 kB / 2.84 GB, free: 47.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/5.898, allocations: 8 kB / 2.84 GB, free: 47.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/5.898, allocations: 12 kB / 2.84 GB, free: 47.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/5.899, allocations: 125.8 kB / 2.84 GB, free: 47.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/5.899, allocations: 3.984 kB / 2.84 GB, free: 47.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/5.899, allocations: 8 kB / 2.84 GB, free: 47.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/5.899, allocations: 3.938 kB / 2.84 GB, free: 47.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/5.899, allocations: 103.9 kB / 2.84 GB, free: 47.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/5.899, allocations: 472.1 kB / 2.84 GB, free: 46.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/5.9, allocations: 98.48 kB / 2.84 GB, free: 46.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/5.9, allocations: 8.031 kB / 2.84 GB, free: 46.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/5.9, allocations: 34.62 kB / 2.84 GB, free: 46.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/5.9, allocations: 0 / 2.84 GB, free: 46.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004306/5.9, allocations: 153.7 kB / 2.841 GB, free: 46.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/5.9, allocations: 55.39 kB / 2.841 GB, free: 46.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/5.9, allocations: 161.5 kB / 2.841 GB, free: 46.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/5.9, allocations: 29.7 kB / 2.841 GB, free: 46.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/5.9, allocations: 123.9 kB / 2.841 GB, free: 45.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/5.9, allocations: 19.72 kB / 2.841 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/5.901, allocations: 0 / 2.841 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.323e-05/5.901, allocations: 322.8 kB / 2.841 GB, free: 45.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.754e-05/5.901, allocations: 43.91 kB / 2.841 GB, free: 45.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/5.901, allocations: 35.98 kB / 2.841 GB, free: 45.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/5.901, allocations: 39.98 kB / 2.841 GB, free: 45.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/5.901, allocations: 0 / 2.841 GB, free: 45.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002434/5.901, allocations: 129.5 kB / 2.841 GB, free: 45.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/5.901, allocations: 8 kB / 2.841 GB, free: 45.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/5.901, allocations: 3.938 kB / 2.841 GB, free: 45.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/5.901, allocations: 0 / 2.841 GB, free: 45.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/5.901, allocations: 23.92 kB / 2.842 GB, free: 45.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/5.901, allocations: 0 / 2.842 GB, free: 45.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/5.901, allocations: 23.83 kB / 2.842 GB, free: 45.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/5.901, allocations: 7.938 kB / 2.842 GB, free: 45.32 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 () * 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 8.755e-05/5.902, allocations: 120.6 kB / 2.842 GB, free: 45.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/5.902, allocations: 11.86 kB / 2.842 GB, free: 45.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/5.902, allocations: 146.9 kB / 2.842 GB, free: 45.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/5.902, allocations: 0 / 2.842 GB, free: 45.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/5.902, allocations: 0 / 2.842 GB, free: 45.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/5.902, allocations: 0 / 2.842 GB, free: 45.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/5.902, allocations: 217.6 kB / 2.842 GB, free: 44.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/5.902, allocations: 0 / 2.842 GB, free: 44.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/5.902, allocations: 23.92 kB / 2.842 GB, free: 44.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/5.902, allocations: 7.953 kB / 2.842 GB, free: 44.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/5.902, allocations: 0 / 2.842 GB, free: 44.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/5.902, allocations: 0 / 2.842 GB, free: 44.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/5.902, allocations: 4 kB / 2.842 GB, free: 44.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/5.903, allocations: 211.4 kB / 2.842 GB, free: 44.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/5.903, allocations: 96.86 kB / 2.842 GB, free: 44.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/5.903, allocations: 7.953 kB / 2.842 GB, free: 44.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/5.903, allocations: 11.98 kB / 2.842 GB, free: 44.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/5.903, allocations: 3.984 kB / 2.842 GB, free: 44.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/5.903, allocations: 4 kB / 2.842 GB, free: 44.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.675e-05/5.903, allocations: 136.7 kB / 2.842 GB, free: 44.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/5.903, allocations: 0 / 2.842 GB, free: 44.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003795/5.903, allocations: 55.98 kB / 2.843 GB, free: 44.19 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 () * 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.000764/5.904, allocations: 0.5498 MB / 2.843 GB, free: 43.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002716/5.904, allocations: 83.94 kB / 2.843 GB, free: 43.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/5.904, allocations: 7.938 kB / 2.843 GB, free: 43.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/5.905, allocations: 43.92 kB / 2.843 GB, free: 43.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/5.905, allocations: 35.91 kB / 2.843 GB, free: 43.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/5.905, allocations: 319.4 kB / 2.844 GB, free: 43.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/5.906, allocations: 0.7121 MB / 2.844 GB, free: 42.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.189e-05/5.906, allocations: 20.86 kB / 2.844 GB, free: 42.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/5.906, allocations: 11.44 kB / 2.844 GB, free: 42.37 MB / 0.6198 GB Notification: Performance of SimCode: time 4.2e-07/5.906, allocations: 0 / 2.844 GB, free: 42.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.0109/5.917, allocations: 8.516 MB / 2.853 GB, free: 33.85 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)