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.1796/0.1817, allocations: 80.84 MB / 0.6706 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001917/0.1836, allocations: 0.5588 MB / 0.6712 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000256/0.1839, allocations: 112 kB / 0.6713 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.1839, allocations: 0 / 0.6713 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.9e-05/0.1841, allocations: 7.938 kB / 0.6713 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/0.1841, allocations: 0 / 0.6713 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1843, allocations: 43.88 kB / 0.6713 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.1844, allocations: 27.92 kB / 0.6714 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.1845, allocations: 0 / 0.6714 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.1845, allocations: 23.97 kB / 0.6714 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.1846, allocations: 8 kB / 0.6714 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.1846, allocations: 0 / 0.6714 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.98e-05/0.1847, allocations: 15.98 kB / 0.6714 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.1847, allocations: 3.984 kB / 0.6714 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.1847, allocations: 11.94 kB / 0.6714 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1849, allocations: 31.95 kB / 0.6715 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1849, allocations: 0 / 0.6715 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1849, allocations: 0 / 0.6715 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1849, allocations: 0 / 0.6715 GB, free: 1.133 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.0004294/0.1853, allocations: 361.2 kB / 0.6718 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1854, allocations: 12.03 kB / 0.6718 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.1854, allocations: 0.9375 kB / 0.6718 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.1856, allocations: 168.4 kB / 0.672 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1856, allocations: 4.375 kB / 0.672 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1856, allocations: 4.375 kB / 0.672 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1858, allocations: 61.55 kB / 0.6721 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1858, allocations: 0 / 0.6721 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1858, allocations: 4 kB / 0.6721 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1858, allocations: 0 / 0.6721 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.8e-05/0.1858, allocations: 11.98 kB / 0.6721 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.186, allocations: 157.6 kB / 0.6722 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.1861, allocations: 26.59 kB / 0.6722 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.1861, allocations: 20.92 kB / 0.6723 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.1861, allocations: 7.875 kB / 0.6723 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1862, allocations: 38.5 kB / 0.6723 GB, free: 108 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.1862, allocations: 0 / 0.6723 GB, free: 108 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002419/0.1864, allocations: 103.5 kB / 0.6724 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.1865, allocations: 85.09 kB / 0.6725 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.255e-05/0.1866, allocations: 89.98 kB / 0.6726 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1866, allocations: 33.83 kB / 0.6726 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.1866, allocations: 80.14 kB / 0.6727 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1867, allocations: 7.906 kB / 0.6727 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.1867, allocations: 21.7 kB / 0.6727 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1869, allocations: 318.8 kB / 0.673 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.1869, allocations: 4 kB / 0.673 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.187, allocations: 19.92 kB / 0.673 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.224e-05/0.1871, allocations: 84.31 kB / 0.6731 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1871, allocations: 0 / 0.6731 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000209/0.1873, allocations: 95.33 kB / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.1873, allocations: 37.69 kB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1873, allocations: 0 / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1874, allocations: 0 / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1874, allocations: 0 / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1874, allocations: 0 / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1875, allocations: 4 kB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1875, allocations: 12 kB / 0.6733 GB, free: 15.03 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 9.639e-05/0.1876, allocations: 143.6 kB / 0.6734 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.1877, allocations: 7.938 kB / 0.6734 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.245e-05/0.1877, allocations: 7.062 kB / 0.6734 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.1877, allocations: 0 / 0.6734 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1877, allocations: 4 kB / 0.6734 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1877, allocations: 0 / 0.6734 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1878, allocations: 157.7 kB / 0.6736 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1878, allocations: 3.938 kB / 0.6736 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1878, allocations: 0 / 0.6736 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1878, allocations: 4 kB / 0.6736 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1878, allocations: 7.938 kB / 0.6736 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1879, allocations: 0 / 0.6736 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1879, allocations: 0 / 0.6736 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.188, allocations: 118.8 kB / 0.6737 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.1881, allocations: 88.95 kB / 0.6738 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1881, allocations: 0 / 0.6738 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1882, allocations: 12.02 kB / 0.6738 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.1882, allocations: 4 kB / 0.6738 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.1882, allocations: 4 kB / 0.6738 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.1883, allocations: 79.28 kB / 0.6739 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.522e-06/0.1883, allocations: 3.938 kB / 0.6739 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001946/0.1885, allocations: 15.94 kB / 0.6739 GB, free: 14.27 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.0002214/0.1887, allocations: 123.2 kB / 0.674 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1889, allocations: 79.39 kB / 0.6741 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1889, allocations: 0 / 0.6741 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.1889, allocations: 71.39 kB / 0.6742 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.1891, allocations: 11.38 kB / 0.6742 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.1893, allocations: 104.9 kB / 0.6743 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1896, allocations: 0.6769 MB / 0.6749 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.671e-05/0.1897, allocations: 4 kB / 0.6749 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.1897, allocations: 7.438 kB / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1897, allocations: 0 / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.00344/0.1931, allocations: 1.111 MB / 0.676 GB, free: 12.02 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)