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.2201/0.2223, allocations: 80.83 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00236/0.2247, allocations: 0.5656 MB / 0.6712 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002992/0.225, allocations: 108.1 kB / 0.6713 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.2251, allocations: 0 / 0.6713 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.2252, allocations: 8 kB / 0.6713 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.2253, allocations: 0 / 0.6713 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.2255, allocations: 35.89 kB / 0.6713 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.2256, allocations: 31.91 kB / 0.6714 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.2257, allocations: 4 kB / 0.6714 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.615e-05/0.2257, allocations: 15.98 kB / 0.6714 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.2258, allocations: 19.97 kB / 0.6714 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.2258, allocations: 0 / 0.6714 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.872e-05/0.2259, allocations: 12 kB / 0.6714 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.2259, allocations: 0 / 0.6714 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.2259, allocations: 11.94 kB / 0.6714 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.2261, allocations: 31.89 kB / 0.6715 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2261, allocations: 0 / 0.6715 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2261, allocations: 0 / 0.6715 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2261, allocations: 0 / 0.6715 GB, free: 1.172 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.0004538/0.2266, allocations: 365.2 kB / 0.6718 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.2267, allocations: 8.031 kB / 0.6718 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.2267, allocations: 4.938 kB / 0.6718 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.2269, allocations: 172.4 kB / 0.672 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.2269, allocations: 4.375 kB / 0.672 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.227, allocations: 4.375 kB / 0.672 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.2271, allocations: 57.55 kB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2271, allocations: 0 / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.2272, allocations: 8 kB / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2272, allocations: 0 / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.2272, allocations: 11.98 kB / 0.6721 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.2274, allocations: 157.5 kB / 0.6722 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.83e-05/0.2275, allocations: 34.59 kB / 0.6723 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.2275, allocations: 12.92 kB / 0.6723 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.2275, allocations: 3.938 kB / 0.6723 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.2276, allocations: 34.56 kB / 0.6723 GB, free: 148 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2276, allocations: 0 / 0.6723 GB, free: 148 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0003031/0.2279, allocations: 115.3 kB / 0.6724 GB, free: 20 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.228, allocations: 77.11 kB / 0.6725 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/0.2281, allocations: 93.86 kB / 0.6726 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.2281, allocations: 29.7 kB / 0.6726 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.2282, allocations: 84.14 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.2282, allocations: 4.156 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.2283, allocations: 25.7 kB / 0.6727 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2284, allocations: 314.8 kB / 0.673 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.2284, allocations: 8 kB / 0.673 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.2285, allocations: 15.98 kB / 0.673 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.574e-05/0.2286, allocations: 84.25 kB / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2286, allocations: 0 / 0.6731 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001391/0.2287, allocations: 99.27 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.2288, allocations: 41.78 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2288, allocations: 0 / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2288, allocations: 4 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.2288, allocations: 0 / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2288, allocations: 0 / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.229, allocations: 4 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.229, allocations: 7.984 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.0001064/0.2291, allocations: 135.5 kB / 0.6734 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.2291, allocations: 7.938 kB / 0.6734 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.2291, allocations: 7.125 kB / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2291, allocations: 0 / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2292, allocations: 0 / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2292, allocations: 0 / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.2293, allocations: 157.7 kB / 0.6736 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.2293, allocations: 3.938 kB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-06/0.2293, allocations: 4 kB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2293, allocations: 0 / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2293, allocations: 3.938 kB / 0.6736 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2293, allocations: 3.938 kB / 0.6736 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2293, allocations: 4 kB / 0.6736 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.2295, allocations: 126.8 kB / 0.6737 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.2296, allocations: 84.95 kB / 0.6738 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2296, allocations: 4 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.2297, allocations: 7.984 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.2297, allocations: 4 kB / 0.6738 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2297, allocations: 4 kB / 0.6738 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.2298, allocations: 83.31 kB / 0.6739 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2298, allocations: 0 / 0.6739 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002038/0.23, allocations: 12 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.0002964/0.2303, allocations: 126.2 kB / 0.674 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.2305, allocations: 83.48 kB / 0.6741 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2305, allocations: 0 / 0.6741 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.2305, allocations: 75.33 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.0001555/0.2307, allocations: 11.38 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.000246/0.231, allocations: 100.9 kB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.2312, allocations: 0.6768 MB / 0.6749 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.971e-05/0.2313, allocations: 4 kB / 0.6749 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.2313, allocations: 7.438 kB / 0.6749 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.2313, allocations: 4.125 kB / 0.6749 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.003728/0.2351, allocations: 1.094 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)