Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.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.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") [/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.1865/0.1887, allocations: 80.84 MB / 0.6707 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002818/0.1916, allocations: 1.293 MB / 0.6719 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004873/0.1965, allocations: 3.725 MB / 0.6756 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.1966, allocations: 0 / 0.6756 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.1966, allocations: 3.938 kB / 0.6756 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005259/0.1972, allocations: 99.48 kB / 0.6757 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1976, allocations: 147.4 kB / 0.6758 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.1977, allocations: 35.8 kB / 0.6758 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.1977, allocations: 4 kB / 0.6758 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1979, allocations: 23.92 kB / 0.6759 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.198, allocations: 35.91 kB / 0.6759 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.345e-06/0.198, allocations: 0 / 0.6759 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.1985, allocations: 307.6 kB / 0.6762 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.1985, allocations: 7.984 kB / 0.6762 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.1985, allocations: 7.922 kB / 0.6762 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1988, allocations: 115.8 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1988, allocations: 0 / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1988, allocations: 0 / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.1988, allocations: 0 / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004778/0.1993, allocations: 385.1 kB / 0.6767 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1993, allocations: 12.03 kB / 0.6767 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.1994, allocations: 0.9375 kB / 0.6767 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.1995, allocations: 171.9 kB / 0.6769 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1995, allocations: 4 kB / 0.6769 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.1995, allocations: 0 / 0.6769 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.937e-05/0.1997, allocations: 33.64 kB / 0.6769 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1997, allocations: 0 / 0.6769 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1997, allocations: 0 / 0.6769 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1997, allocations: 3.984 kB / 0.6769 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.1997, allocations: 8 kB / 0.6769 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.1999, allocations: 161.5 kB / 0.6771 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.2, allocations: 26.56 kB / 0.6771 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.2, allocations: 8.922 kB / 0.6771 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.2, allocations: 0 / 0.6771 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.2, allocations: 30.56 kB / 0.6771 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.2, allocations: 3.938 kB / 0.6771 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000187/0.2002, allocations: 75.39 kB / 0.6772 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.2003, allocations: 81.23 kB / 0.6773 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/0.2004, allocations: 97.86 kB / 0.6774 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.2004, allocations: 29.7 kB / 0.6774 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.2004, allocations: 84.08 kB / 0.6775 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.2005, allocations: 11.83 kB / 0.6775 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.2005, allocations: 13.72 kB / 0.6775 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2006, allocations: 318.8 kB / 0.6778 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.2006, allocations: 4 kB / 0.6778 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-06/0.2006, allocations: 4 kB / 0.6778 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.088e-05/0.2007, allocations: 76.19 kB / 0.6779 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2007, allocations: 0 / 0.6779 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.649e-05/0.2008, allocations: 63.41 kB / 0.6779 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.2008, allocations: 29.7 kB / 0.678 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2008, allocations: 0 / 0.678 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2009, allocations: 7.984 kB / 0.678 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.2009, allocations: 256 / 0.678 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2009, allocations: 0 / 0.678 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.2009, allocations: 8.094 kB / 0.678 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.2009, allocations: 3.984 kB / 0.678 GB, free: 10.18 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 8.807e-05/0.201, allocations: 143.5 kB / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.201, allocations: 4 kB / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.858e-06/0.2011, allocations: 3.125 kB / 0.6781 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.2011, allocations: 0 / 0.6781 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2011, allocations: 0 / 0.6781 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2011, allocations: 3.984 kB / 0.6781 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.2012, allocations: 157.6 kB / 0.6783 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2012, allocations: 4 kB / 0.6783 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.2012, allocations: 3.938 kB / 0.6783 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2012, allocations: 0 / 0.6783 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2012, allocations: 4 kB / 0.6783 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2012, allocations: 0 / 0.6783 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2012, allocations: 0 / 0.6783 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.2014, allocations: 102.7 kB / 0.6784 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.2014, allocations: 77.11 kB / 0.6785 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.2015, allocations: 8.031 kB / 0.6785 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.2015, allocations: 0 / 0.6785 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.2015, allocations: 3.984 kB / 0.6785 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.2015, allocations: 0 / 0.6785 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.2015, allocations: 83.28 kB / 0.6786 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.366e-06/0.2015, allocations: 0 / 0.6786 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00022/0.2018, allocations: 27.94 kB / 0.6786 GB, free: 9.453 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.000239/0.202, allocations: 135.1 kB / 0.6787 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.2021, allocations: 79.28 kB / 0.6788 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2022, allocations: 0 / 0.6788 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.2022, allocations: 63.39 kB / 0.6788 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.2025, allocations: 7.938 kB / 0.6789 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.2028, allocations: 131.6 kB / 0.679 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.2031, allocations: 0.6769 MB / 0.6796 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.436e-05/0.2031, allocations: 4 kB / 0.6796 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.2031, allocations: 11.44 kB / 0.6797 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.2031, allocations: 0 / 0.6797 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.003433/0.2065, allocations: 0.8173 MB / 0.6805 GB, free: 7.492 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)