Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json 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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008858/0.008858, allocations: 103.7 kB / 15.74 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 190.1 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6454/0.6454, allocations: 95.49 MB / 365.4 MB, free: 9.754 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 71.91 kB / 0.5036 GB, free: 13.56 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1849, allocations: 69.09 MB / 0.5711 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002526/0.1875, allocations: 0.558 MB / 0.5717 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003751/0.1879, allocations: 112 kB / 0.5718 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.188, allocations: 0 / 0.5718 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1881, allocations: 4 kB / 0.5718 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.1882, allocations: 3.938 kB / 0.5718 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.1884, allocations: 31.95 kB / 0.5718 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1886, allocations: 31.98 kB / 0.5718 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.1887, allocations: 0 / 0.5718 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.1887, allocations: 19.97 kB / 0.5719 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.527e-05/0.1888, allocations: 19.92 kB / 0.5719 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1888, allocations: 0 / 0.5719 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.1889, allocations: 11.94 kB / 0.5719 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.1889, allocations: 3.984 kB / 0.5719 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.189, allocations: 8 kB / 0.5719 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1891, allocations: 27.95 kB / 0.5719 GB, free: 7.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1891, allocations: 3.938 kB / 0.5719 GB, free: 7.586 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1891, allocations: 0 / 0.5719 GB, free: 7.586 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1891, allocations: 4 kB / 0.5719 GB, free: 7.582 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.0004936/0.1896, allocations: 357.3 kB / 0.5723 GB, free: 7.176 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1897, allocations: 11.98 kB / 0.5723 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.1898, allocations: 4.938 kB / 0.5723 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1899, allocations: 168.4 kB / 0.5724 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.19, allocations: 4.375 kB / 0.5724 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.19, allocations: 4.375 kB / 0.5725 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1901, allocations: 50.23 kB / 0.5725 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1902, allocations: 4.188 kB / 0.5725 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.1902, allocations: 11.92 kB / 0.5725 GB, free: 6.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1902, allocations: 3.938 kB / 0.5725 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.1903, allocations: 15.92 kB / 0.5725 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.1904, allocations: 153.6 kB / 0.5727 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.641e-05/0.1905, allocations: 30.59 kB / 0.5727 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.1906, allocations: 16.92 kB / 0.5727 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1906, allocations: 0 / 0.5727 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.1906, allocations: 34.56 kB / 0.5728 GB, free: 6.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1906, allocations: 0 / 0.5728 GB, free: 6.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003192/0.191, allocations: 119.2 kB / 0.5729 GB, free: 6.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.1911, allocations: 77.11 kB / 0.5729 GB, free: 6.336 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1912, allocations: 93.86 kB / 0.573 GB, free: 6.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.1912, allocations: 29.7 kB / 0.5731 GB, free: 6.199 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.1913, allocations: 84.39 kB / 0.5731 GB, free: 6.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1913, allocations: 7.906 kB / 0.5732 GB, free: 6.105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.1914, allocations: 21.7 kB / 0.5732 GB, free: 6.078 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1916, allocations: 318.8 kB / 0.5735 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.1916, allocations: 7.984 kB / 0.5735 GB, free: 5.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.1916, allocations: 12 kB / 0.5735 GB, free: 5.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.409e-05/0.1917, allocations: 80.25 kB / 0.5736 GB, free: 5.645 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1917, allocations: 0 / 0.5736 GB, free: 5.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001661/0.1919, allocations: 99.39 kB / 0.5737 GB, free: 5.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.192, allocations: 41.62 kB / 0.5737 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.192, allocations: 3.938 kB / 0.5737 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.192, allocations: 4 kB / 0.5737 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.192, allocations: 0 / 0.5737 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.192, allocations: 0 / 0.5737 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.1922, allocations: 4 kB / 0.5737 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.1922, allocations: 7.984 kB / 0.5737 GB, free: 5.469 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.0001201/0.1923, allocations: 139.6 kB / 0.5739 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.1924, allocations: 4 kB / 0.5739 GB, free: 5.312 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.1924, allocations: 11.02 kB / 0.5739 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1924, allocations: 0 / 0.5739 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1924, allocations: 0 / 0.5739 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1924, allocations: 4 kB / 0.5739 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.1925, allocations: 153.7 kB / 0.574 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1925, allocations: 0 / 0.574 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-06/0.1926, allocations: 8 kB / 0.574 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1926, allocations: 0 / 0.574 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1926, allocations: 3.938 kB / 0.574 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1926, allocations: 8 kB / 0.574 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1926, allocations: 0 / 0.574 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.1928, allocations: 122.8 kB / 0.5742 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.1929, allocations: 84.95 kB / 0.5742 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1929, allocations: 7.938 kB / 0.5742 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.193, allocations: 7.984 kB / 0.5743 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.193, allocations: 4 kB / 0.5743 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.193, allocations: 4.031 kB / 0.5743 GB, free: 4.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.846e-05/0.1931, allocations: 83.28 kB / 0.5743 GB, free: 4.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1931, allocations: 0 / 0.5743 GB, free: 4.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.1933, allocations: 12 kB / 0.5744 GB, free: 4.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 (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.0003327/0.1936, allocations: 118.3 kB / 0.5745 GB, free: 4.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1938, allocations: 79.39 kB / 0.5745 GB, free: 4.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1939, allocations: 0 / 0.5745 GB, free: 4.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.1939, allocations: 75.33 kB / 0.5746 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.1941, allocations: 7.938 kB / 0.5746 GB, free: 4.402 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.1944, allocations: 97.06 kB / 0.5747 GB, free: 4.281 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1947, allocations: 0.6729 MB / 0.5754 GB, free: 3.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.464e-05/0.1948, allocations: 4 kB / 0.5754 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.1949, allocations: 11.56 kB / 0.5754 GB, free: 3.566 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1949, allocations: 0 / 0.5754 GB, free: 3.566 MB / 446.1 MB Notification: Performance of Templates: time 0.004107/0.199, allocations: 1.109 MB / 0.5765 GB, free: 2.48 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)