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.2295/0.2331, allocations: 80.84 MB / 0.6707 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002279/0.2354, allocations: 0.5509 MB / 0.6712 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003052/0.2357, allocations: 112 kB / 0.6713 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.2358, allocations: 4 kB / 0.6713 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.2359, allocations: 7.922 kB / 0.6713 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.236, allocations: 0 / 0.6713 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.2362, allocations: 35.97 kB / 0.6713 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2363, allocations: 31.86 kB / 0.6714 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.2363, allocations: 4 kB / 0.6714 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.152e-05/0.2364, allocations: 15.97 kB / 0.6714 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.2364, allocations: 15.98 kB / 0.6714 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.2365, allocations: 4 kB / 0.6714 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.637e-05/0.2365, allocations: 4 kB / 0.6714 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.2365, allocations: 7.984 kB / 0.6714 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.2366, allocations: 11.94 kB / 0.6714 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2367, allocations: 27.89 kB / 0.6715 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2367, allocations: 4 kB / 0.6715 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2367, allocations: 0 / 0.6715 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2367, allocations: 0 / 0.6715 GB, free: 1.168 MB / 0.4981 GB 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.0004159/0.2372, allocations: 369.2 kB / 0.6718 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2372, allocations: 12.03 kB / 0.6718 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.2373, allocations: 4.938 kB / 0.6718 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.2374, allocations: 160.4 kB / 0.672 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.2374, allocations: 384 / 0.672 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.2375, allocations: 4.375 kB / 0.672 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.2376, allocations: 61.55 kB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2376, allocations: 3.984 kB / 0.6721 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2376, allocations: 3.938 kB / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2376, allocations: 0 / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.977e-05/0.2377, allocations: 12 kB / 0.6721 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.2379, allocations: 157.6 kB / 0.6722 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.204e-05/0.2379, allocations: 30.59 kB / 0.6723 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.238, allocations: 16.91 kB / 0.6723 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.238, allocations: 7.938 kB / 0.6723 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.238, allocations: 34.5 kB / 0.6723 GB, free: 144 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.238, allocations: 0 / 0.6723 GB, free: 144 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002822/0.2383, allocations: 107.4 kB / 0.6724 GB, free: 24 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.2384, allocations: 81.11 kB / 0.6725 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.2385, allocations: 97.86 kB / 0.6726 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2385, allocations: 25.7 kB / 0.6726 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.2386, allocations: 84.12 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.2386, allocations: 7.953 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.2387, allocations: 21.72 kB / 0.6727 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2388, allocations: 315.1 kB / 0.673 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.2389, allocations: 11.98 kB / 0.673 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.2389, allocations: 16 kB / 0.673 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.504e-05/0.239, allocations: 80.19 kB / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.239, allocations: 0 / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001414/0.2392, allocations: 103.3 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.2392, allocations: 34.48 kB / 0.6732 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2392, allocations: 0 / 0.6732 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2392, allocations: 4.094 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.2392, allocations: 0 / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2393, allocations: 0 / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2394, allocations: 7.984 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.2394, allocations: 4 kB / 0.6733 GB, free: 15.06 MB / 0.5137 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001047/0.2395, allocations: 139.5 kB / 0.6734 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.2396, allocations: 11.94 kB / 0.6734 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.437e-05/0.2396, allocations: 3.125 kB / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2396, allocations: 0 / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2396, allocations: 7.984 kB / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2396, allocations: 0 / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.2397, allocations: 149.7 kB / 0.6736 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2397, allocations: 3.938 kB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.2398, allocations: 3.938 kB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2398, allocations: 0 / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2398, allocations: 7.938 kB / 0.6736 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2398, allocations: 0 / 0.6736 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2398, allocations: 0 / 0.6736 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.24, allocations: 130.8 kB / 0.6737 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.24, allocations: 81.05 kB / 0.6738 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.24, allocations: 7.984 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.2401, allocations: 4 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.2402, allocations: 3.984 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.2402, allocations: 8 kB / 0.6738 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.2402, allocations: 79.27 kB / 0.6739 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2402, allocations: 4.125 kB / 0.6739 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002024/0.2404, allocations: 19.94 kB / 0.6739 GB, free: 14.3 MB / 0.5137 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000271/0.2407, allocations: 111.2 kB / 0.674 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.2409, allocations: 91.31 kB / 0.6741 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2409, allocations: 0 / 0.6741 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.241, allocations: 71.47 kB / 0.6742 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.2411, allocations: 17.55 kB / 0.6742 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.2414, allocations: 96.91 kB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.2417, allocations: 0.6729 MB / 0.6749 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.2418, allocations: 7.984 kB / 0.6749 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.418e-05/0.2418, allocations: 7.438 kB / 0.6749 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2419, allocations: 0 / 0.6749 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.00368/0.2455, allocations: 1.109 MB / 0.676 GB, free: 12.05 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (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)