Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.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.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues") [/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.1956/0.1963, allocations: 82.22 MB / 0.5934 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001078/0.1975, allocations: 293.8 kB / 0.5937 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002799/0.1978, allocations: 103.8 kB / 0.5938 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.1978, allocations: 0 / 0.5938 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.198, allocations: 7.938 kB / 0.5938 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.198, allocations: 3.938 kB / 0.5938 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.1982, allocations: 35.95 kB / 0.5938 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.1983, allocations: 15.98 kB / 0.5938 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.1983, allocations: 0 / 0.5938 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.1984, allocations: 11.98 kB / 0.5938 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.1984, allocations: 11.92 kB / 0.5938 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1984, allocations: 0 / 0.5938 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.573e-05/0.1985, allocations: 15.94 kB / 0.5939 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.1985, allocations: 0 / 0.5939 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.1986, allocations: 29.7 kB / 0.5939 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.903e-05/0.1987, allocations: 15.97 kB / 0.5939 GB, free: 5.465 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1987, allocations: 0 / 0.5939 GB, free: 5.465 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1987, allocations: 4 kB / 0.5939 GB, free: 5.461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1987, allocations: 0 / 0.5939 GB, free: 5.461 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004331/0.1991, allocations: 345.1 kB / 0.5942 GB, free: 5.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1992, allocations: 8.031 kB / 0.5942 GB, free: 5.062 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.1992, allocations: 7.906 kB / 0.5943 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.1994, allocations: 163.3 kB / 0.5944 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1994, allocations: 4 kB / 0.5944 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1994, allocations: 4 kB / 0.5944 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1996, allocations: 61.56 kB / 0.5945 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1996, allocations: 0 / 0.5945 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1996, allocations: 0 / 0.5945 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1996, allocations: 0 / 0.5945 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.038e-05/0.1997, allocations: 15.98 kB / 0.5945 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.1999, allocations: 153.6 kB / 0.5946 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.158e-05/0.1999, allocations: 30.59 kB / 0.5947 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-06/0.1999, allocations: 64 / 0.5947 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2, allocations: 38.56 kB / 0.5947 GB, free: 4.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.2, allocations: 0 / 0.5947 GB, free: 4.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000258/0.2002, allocations: 111.3 kB / 0.5948 GB, free: 4.359 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.2003, allocations: 81.11 kB / 0.5949 GB, free: 4.262 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.2004, allocations: 101.8 kB / 0.595 GB, free: 4.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2004, allocations: 25.7 kB / 0.595 GB, free: 4.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.2005, allocations: 88.12 kB / 0.5951 GB, free: 4.031 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.2005, allocations: 8.25 kB / 0.5951 GB, free: 4.023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.2005, allocations: 0 / 0.5951 GB, free: 4.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2006, allocations: 314.8 kB / 0.5954 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.2007, allocations: 11.98 kB / 0.5954 GB, free: 3.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.2007, allocations: 12 kB / 0.5954 GB, free: 3.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.2008, allocations: 37.7 kB / 0.5955 GB, free: 3.641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2008, allocations: 0 / 0.5955 GB, free: 3.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001222/0.2009, allocations: 103.2 kB / 0.5956 GB, free: 3.527 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.2009, allocations: 29.8 kB / 0.5956 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.201, allocations: 7.984 kB / 0.5956 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.201, allocations: 11.95 kB / 0.5956 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.201, allocations: 0 / 0.5956 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.201, allocations: 0 / 0.5956 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2011, allocations: 4 kB / 0.5956 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2012, allocations: 4 kB / 0.5956 GB, free: 3.465 MB / 446.1 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001032/0.2013, allocations: 143.5 kB / 0.5957 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.2013, allocations: 7.906 kB / 0.5958 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.248e-05/0.2013, allocations: 7.125 kB / 0.5958 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.2013, allocations: 0 / 0.5958 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2013, allocations: 3.953 kB / 0.5958 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2013, allocations: 0 / 0.5958 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.466e-05/0.2014, allocations: 153.7 kB / 0.5959 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2014, allocations: 0 / 0.5959 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-06/0.2015, allocations: 7.984 kB / 0.5959 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2015, allocations: 0 / 0.5959 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2015, allocations: 4 kB / 0.5959 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2015, allocations: 4 kB / 0.5959 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2015, allocations: 0 / 0.5959 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2017, allocations: 126.7 kB / 0.596 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.2017, allocations: 77.11 kB / 0.5961 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.2017, allocations: 8 kB / 0.5961 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.2018, allocations: 7.984 kB / 0.5961 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.2019, allocations: 4 kB / 0.5961 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.2019, allocations: 3.938 kB / 0.5961 GB, free: 2.809 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.502e-05/0.2019, allocations: 87.27 kB / 0.5962 GB, free: 2.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2019, allocations: 0 / 0.5962 GB, free: 2.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001855/0.2021, allocations: 12 kB / 0.5962 GB, free: 2.711 MB / 446.1 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002488/0.2024, allocations: 120.7 kB / 0.5964 GB, free: 2.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.2025, allocations: 87.48 kB / 0.5964 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2026, allocations: 3.938 kB / 0.5964 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.859e-05/0.2026, allocations: 67.39 kB / 0.5965 GB, free: 2.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.2027, allocations: 0 / 0.5965 GB, free: 2.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.203, allocations: 94.75 kB / 0.5966 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.2034, allocations: 0.677 MB / 0.5973 GB, free: 1.586 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.936e-05/0.2034, allocations: 4 kB / 0.5973 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.2035, allocations: 11.42 kB / 0.5973 GB, free: 1.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2035, allocations: 4.125 kB / 0.5973 GB, free: 1.566 MB / 446.1 MB Notification: Performance of Templates: time 0.003423/0.2069, allocations: 1.008 MB / 0.5983 GB, free: 0.6055 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) Environment - environmentSimulation: