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.179/0.1811, allocations: 80.83 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002174/0.1833, allocations: 0.5626 MB / 0.6712 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002914/0.1836, allocations: 112 kB / 0.6713 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.1837, allocations: 4 kB / 0.6713 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.782e-05/0.1838, allocations: 7.938 kB / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.965e-05/0.1839, allocations: 0 / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.1841, allocations: 27.97 kB / 0.6713 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1842, allocations: 39.84 kB / 0.6714 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.1842, allocations: 3.984 kB / 0.6714 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.135e-05/0.1843, allocations: 12 kB / 0.6714 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.1844, allocations: 15.98 kB / 0.6714 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1844, allocations: 0 / 0.6714 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.827e-05/0.1844, allocations: 19.98 kB / 0.6714 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.1845, allocations: 0 / 0.6714 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.1845, allocations: 11.92 kB / 0.6714 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1846, allocations: 31.89 kB / 0.6715 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1846, allocations: 0 / 0.6715 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1846, allocations: 0 / 0.6715 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.1847, allocations: 0 / 0.6715 GB, free: 1.184 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.0003944/0.1851, allocations: 369.2 kB / 0.6718 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1851, allocations: 8.031 kB / 0.6718 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.1852, allocations: 4.938 kB / 0.6718 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1853, allocations: 160.4 kB / 0.672 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1853, allocations: 4.375 kB / 0.672 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1854, allocations: 4.375 kB / 0.672 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1855, allocations: 57.59 kB / 0.672 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1855, allocations: 3.938 kB / 0.6721 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1855, allocations: 4 kB / 0.6721 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1856, allocations: 4 kB / 0.6721 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.164e-05/0.1856, allocations: 12 kB / 0.6721 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1858, allocations: 153.6 kB / 0.6722 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.52e-05/0.1858, allocations: 30.56 kB / 0.6722 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.1859, allocations: 16.91 kB / 0.6723 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.1859, allocations: 3.938 kB / 0.6723 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1859, allocations: 34.56 kB / 0.6723 GB, free: 168 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.645e-06/0.1859, allocations: 8 kB / 0.6723 GB, free: 160 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002605/0.1862, allocations: 107.3 kB / 0.6724 GB, free: 40 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.1863, allocations: 81.11 kB / 0.6725 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/0.1864, allocations: 97.84 kB / 0.6726 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1864, allocations: 29.7 kB / 0.6726 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.1864, allocations: 80.14 kB / 0.6727 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.1865, allocations: 3.906 kB / 0.6727 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.1865, allocations: 25.97 kB / 0.6727 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1866, allocations: 314.8 kB / 0.673 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.1867, allocations: 7.984 kB / 0.673 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.1867, allocations: 15.98 kB / 0.673 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.1868, allocations: 84.2 kB / 0.6731 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1868, allocations: 0 / 0.6731 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001508/0.187, allocations: 99.31 kB / 0.6732 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.187, allocations: 29.7 kB / 0.6732 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.187, allocations: 8.094 kB / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1871, allocations: 0 / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.1871, allocations: 0 / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1871, allocations: 0 / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1872, allocations: 7.984 kB / 0.6733 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1873, allocations: 4 kB / 0.6733 GB, free: 15.08 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.0001069/0.1874, allocations: 139.5 kB / 0.6734 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.1874, allocations: 11.88 kB / 0.6734 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.1874, allocations: 11.11 kB / 0.6734 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1874, allocations: 0 / 0.6734 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1874, allocations: 0 / 0.6734 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1875, allocations: 4 kB / 0.6734 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.1876, allocations: 145.7 kB / 0.6736 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1876, allocations: 7.938 kB / 0.6736 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-06/0.1876, allocations: 0 / 0.6736 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1876, allocations: 3.938 kB / 0.6736 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1876, allocations: 7.938 kB / 0.6736 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.1876, allocations: 4 kB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1876, allocations: 3.984 kB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.1878, allocations: 118.8 kB / 0.6737 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.1878, allocations: 92.94 kB / 0.6738 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1879, allocations: 0 / 0.6738 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.188, allocations: 4 kB / 0.6738 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.188, allocations: 8 kB / 0.6738 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.188, allocations: 3.984 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.1881, allocations: 83.31 kB / 0.6739 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1881, allocations: 0 / 0.6739 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002036/0.1883, allocations: 12 kB / 0.6739 GB, free: 14.32 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.0002788/0.1886, allocations: 118.3 kB / 0.674 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001732/0.1888, allocations: 91.31 kB / 0.6741 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1888, allocations: 4.156 kB / 0.6741 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.1888, allocations: 67.39 kB / 0.6742 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.189, allocations: 11.38 kB / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.1893, allocations: 108.9 kB / 0.6743 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1896, allocations: 0.6728 MB / 0.6749 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.584e-05/0.1897, allocations: 7.984 kB / 0.6749 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.1897, allocations: 7.438 kB / 0.6749 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1897, allocations: 0 / 0.6749 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.004012/0.1937, allocations: 1.107 MB / 0.676 GB, free: 12.07 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)