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.2173/0.2192, allocations: 80.84 MB / 0.5897 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002322/0.2216, allocations: 0.6296 MB / 0.5903 GB, free: 6.477 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004066/0.2221, allocations: 123.7 kB / 0.5904 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.832e-05/0.2221, allocations: 0 / 0.5904 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.2222, allocations: 0 / 0.5904 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.611e-05/0.2223, allocations: 0 / 0.5904 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.2225, allocations: 39.95 kB / 0.5905 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.2226, allocations: 19.98 kB / 0.5905 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.2226, allocations: 0 / 0.5905 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.2227, allocations: 23.92 kB / 0.5905 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.2227, allocations: 11.98 kB / 0.5905 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.2227, allocations: 3.938 kB / 0.5905 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.042e-05/0.2228, allocations: 11.98 kB / 0.5905 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.2228, allocations: 0 / 0.5905 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.2229, allocations: 8 kB / 0.5905 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.223, allocations: 35.89 kB / 0.5906 GB, free: 6.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.223, allocations: 0 / 0.5906 GB, free: 6.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.223, allocations: 0 / 0.5906 GB, free: 6.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.223, allocations: 0 / 0.5906 GB, free: 6.203 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.0005196/0.2236, allocations: 361.3 kB / 0.5909 GB, free: 5.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.2236, allocations: 8.031 kB / 0.5909 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.2237, allocations: 8.844 kB / 0.5909 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.2239, allocations: 164.7 kB / 0.5911 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2239, allocations: 4.375 kB / 0.5911 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.2239, allocations: 4.375 kB / 0.5911 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.2241, allocations: 53.8 kB / 0.5912 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2241, allocations: 0 / 0.5912 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2241, allocations: 0 / 0.5912 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2241, allocations: 8 kB / 0.5912 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.122e-05/0.2242, allocations: 11.92 kB / 0.5912 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.2243, allocations: 157.6 kB / 0.5913 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/0.2244, allocations: 30.67 kB / 0.5914 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.2245, allocations: 16.84 kB / 0.5914 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.2245, allocations: 0 / 0.5914 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.2245, allocations: 34.5 kB / 0.5914 GB, free: 5.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2245, allocations: 4 kB / 0.5914 GB, free: 5.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002663/0.2248, allocations: 111.3 kB / 0.5915 GB, free: 5.066 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.2249, allocations: 85.03 kB / 0.5916 GB, free: 4.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/0.2249, allocations: 97.86 kB / 0.5917 GB, free: 4.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.225, allocations: 25.7 kB / 0.5917 GB, free: 4.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.225, allocations: 80.14 kB / 0.5918 GB, free: 4.746 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.2251, allocations: 7.938 kB / 0.5918 GB, free: 4.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.2251, allocations: 29.95 kB / 0.5918 GB, free: 4.703 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2252, allocations: 310.8 kB / 0.5921 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.2253, allocations: 8 kB / 0.5921 GB, free: 4.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.2253, allocations: 15.98 kB / 0.5921 GB, free: 4.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.2254, allocations: 72.27 kB / 0.5922 GB, free: 4.281 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2254, allocations: 0 / 0.5922 GB, free: 4.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001343/0.2255, allocations: 107.2 kB / 0.5923 GB, free: 4.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.2256, allocations: 33.7 kB / 0.5923 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2256, allocations: 12.08 kB / 0.5924 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2256, allocations: 0 / 0.5924 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.2256, allocations: 0 / 0.5924 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2256, allocations: 0 / 0.5924 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.2258, allocations: 11.91 kB / 0.5924 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.2258, allocations: 0 / 0.5924 GB, free: 4.102 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.2259, allocations: 144.4 kB / 0.5925 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.226, allocations: 7.938 kB / 0.5925 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.421e-05/0.226, allocations: 11.12 kB / 0.5925 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.226, allocations: 0 / 0.5925 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.226, allocations: 0 / 0.5925 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.226, allocations: 0 / 0.5925 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.2261, allocations: 149.7 kB / 0.5927 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2261, allocations: 3.984 kB / 0.5927 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-06/0.2261, allocations: 7.922 kB / 0.5927 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.2261, allocations: 0 / 0.5927 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2261, allocations: 4 kB / 0.5927 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.2261, allocations: 0 / 0.5927 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2262, allocations: 0 / 0.5927 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.2263, allocations: 130.8 kB / 0.5928 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.2264, allocations: 81.05 kB / 0.5929 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.2264, allocations: 4 kB / 0.5929 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2265, allocations: 7.984 kB / 0.5929 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.2265, allocations: 3.938 kB / 0.5929 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.2265, allocations: 8 kB / 0.5929 GB, free: 3.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.417e-05/0.2266, allocations: 83.31 kB / 0.593 GB, free: 3.359 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2266, allocations: 0 / 0.593 GB, free: 3.359 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002003/0.2268, allocations: 12 kB / 0.593 GB, free: 3.348 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 (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.0002533/0.2271, allocations: 117.6 kB / 0.5931 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.2272, allocations: 83.39 kB / 0.5932 GB, free: 3.137 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/0.2273, allocations: 4.156 kB / 0.5932 GB, free: 3.133 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.2273, allocations: 75.33 kB / 0.5933 GB, free: 3.047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.2275, allocations: 7.938 kB / 0.5933 GB, free: 3.039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.2278, allocations: 106.7 kB / 0.5934 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.2281, allocations: 0.6731 MB / 0.594 GB, free: 2.207 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.2283, allocations: 3.984 kB / 0.594 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.2283, allocations: 11.44 kB / 0.594 GB, free: 2.191 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2283, allocations: 64 / 0.594 GB, free: 2.191 MB / 446.1 MB Notification: Performance of Templates: time 0.003471/0.2318, allocations: 1.061 MB / 0.5951 GB, free: 1.18 MB / 446.1 MB 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)