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.1868/0.189, allocations: 80.83 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002522/0.1915, allocations: 1.304 MB / 0.6719 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004312/0.1959, allocations: 3.717 MB / 0.6756 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.1959, allocations: 0 / 0.6756 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.1959, allocations: 7.938 kB / 0.6756 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.1964, allocations: 99.48 kB / 0.6757 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.1968, allocations: 135.3 kB / 0.6758 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.283e-05/0.1968, allocations: 39.84 kB / 0.6758 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.1969, allocations: 4 kB / 0.6758 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.197, allocations: 23.92 kB / 0.6758 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.587e-05/0.1971, allocations: 43.83 kB / 0.6759 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.196e-06/0.1971, allocations: 3.938 kB / 0.6759 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.1976, allocations: 299.6 kB / 0.6762 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.1976, allocations: 0 / 0.6762 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.1976, allocations: 11.94 kB / 0.6762 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1978, allocations: 119.8 kB / 0.6763 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1978, allocations: 0 / 0.6763 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1978, allocations: 0 / 0.6763 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1979, allocations: 0 / 0.6763 GB, free: 12.18 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.0003856/0.1983, allocations: 385.1 kB / 0.6767 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1983, allocations: 12.03 kB / 0.6767 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.1983, allocations: 0.9375 kB / 0.6767 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1985, allocations: 167.9 kB / 0.6768 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1985, allocations: 0 / 0.6768 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1985, allocations: 4 kB / 0.6768 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.1986, allocations: 37.64 kB / 0.6769 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.1986, allocations: 0 / 0.6769 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1986, allocations: 4 kB / 0.6769 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1986, allocations: 0 / 0.6769 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.304e-05/0.1987, allocations: 4 kB / 0.6769 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.1988, allocations: 157.5 kB / 0.677 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.1989, allocations: 22.61 kB / 0.6771 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.1989, allocations: 12.86 kB / 0.6771 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.1989, allocations: 0 / 0.6771 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1989, allocations: 38.55 kB / 0.6771 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 3.186e-06/0.199, allocations: 3.984 kB / 0.6771 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001959/0.1992, allocations: 71.41 kB / 0.6772 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1992, allocations: 77.11 kB / 0.6773 GB, free: 11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.1993, allocations: 101.8 kB / 0.6774 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1993, allocations: 25.7 kB / 0.6774 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.1994, allocations: 84.14 kB / 0.6775 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1994, allocations: 3.906 kB / 0.6775 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.1994, allocations: 25.78 kB / 0.6775 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1996, allocations: 318.8 kB / 0.6778 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.1996, allocations: 7.938 kB / 0.6778 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.1996, allocations: 0 / 0.6778 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/0.1997, allocations: 68.52 kB / 0.6779 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1997, allocations: 0 / 0.6779 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.043e-05/0.1997, allocations: 71.39 kB / 0.6779 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.1998, allocations: 29.8 kB / 0.678 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1998, allocations: 4 kB / 0.678 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1998, allocations: 4 kB / 0.678 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1998, allocations: 0 / 0.678 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1998, allocations: 3.938 kB / 0.678 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.1999, allocations: 0 / 0.678 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1999, allocations: 4 kB / 0.678 GB, free: 10.2 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.482e-05/0.2, allocations: 147.4 kB / 0.6781 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.2, allocations: 4 kB / 0.6781 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.116e-05/0.2, allocations: 7.125 kB / 0.6781 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2, allocations: 0 / 0.6781 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2, allocations: 0 / 0.6781 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.2, allocations: 0 / 0.6781 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.856e-05/0.2002, allocations: 161.6 kB / 0.6783 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2002, allocations: 0 / 0.6783 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.2002, allocations: 0 / 0.6783 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.2002, allocations: 0 / 0.6783 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2002, allocations: 4 kB / 0.6783 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2002, allocations: 3.984 kB / 0.6783 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2002, allocations: 0 / 0.6783 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2003, allocations: 102.7 kB / 0.6784 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.2004, allocations: 81.09 kB / 0.6785 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.2004, allocations: 4 kB / 0.6785 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.2004, allocations: 0 / 0.6785 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.2004, allocations: 4 kB / 0.6785 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.2005, allocations: 0 / 0.6785 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.2005, allocations: 87.2 kB / 0.6786 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2005, allocations: 4.031 kB / 0.6786 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002313/0.2007, allocations: 24 kB / 0.6786 GB, free: 9.469 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.0001989/0.2009, allocations: 135.1 kB / 0.6787 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.2011, allocations: 75.33 kB / 0.6788 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2011, allocations: 0 / 0.6788 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.2011, allocations: 59.41 kB / 0.6788 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.2014, allocations: 7.984 kB / 0.6788 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.2017, allocations: 131.8 kB / 0.679 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2019, allocations: 0.6729 MB / 0.6796 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.234e-05/0.2019, allocations: 0 / 0.6796 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.202, allocations: 11.44 kB / 0.6796 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.202, allocations: 0 / 0.6796 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of Templates: time 0.003197/0.2052, allocations: 0.8306 MB / 0.6805 GB, free: 7.512 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)