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.1828/0.1851, allocations: 80.83 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002671/0.1878, allocations: 1.293 MB / 0.6719 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004823/0.1927, allocations: 3.717 MB / 0.6755 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.1927, allocations: 4 kB / 0.6755 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.1928, allocations: 7.938 kB / 0.6756 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005755/0.1934, allocations: 103.5 kB / 0.6757 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.1939, allocations: 131.3 kB / 0.6758 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.194, allocations: 39.84 kB / 0.6758 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.194, allocations: 8 kB / 0.6758 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1942, allocations: 27.86 kB / 0.6758 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1943, allocations: 35.89 kB / 0.6759 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1943, allocations: 0 / 0.6759 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.1948, allocations: 303.6 kB / 0.6762 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.1949, allocations: 4 kB / 0.6762 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.1949, allocations: 11.92 kB / 0.6762 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1951, allocations: 111.8 kB / 0.6763 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1952, allocations: 0 / 0.6763 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1952, allocations: 0 / 0.6763 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.1952, allocations: 4 kB / 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.0004548/0.1956, allocations: 385.1 kB / 0.6767 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1957, allocations: 12.03 kB / 0.6767 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.1957, allocations: 0.9375 kB / 0.6767 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1959, allocations: 167.9 kB / 0.6768 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1959, allocations: 8 kB / 0.6768 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1959, allocations: 0 / 0.6768 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.196, allocations: 41.62 kB / 0.6769 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.196, allocations: 4 kB / 0.6769 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1961, allocations: 0 / 0.6769 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1961, allocations: 0 / 0.6769 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/0.1961, allocations: 4 kB / 0.6769 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.1963, allocations: 165.5 kB / 0.6771 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.516e-05/0.1963, allocations: 14.58 kB / 0.6771 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.1964, allocations: 8.922 kB / 0.6771 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.1964, allocations: 0 / 0.6771 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1964, allocations: 38.5 kB / 0.6771 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1964, allocations: 0 / 0.6771 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002248/0.1966, allocations: 75.39 kB / 0.6772 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.1967, allocations: 77.11 kB / 0.6773 GB, free: 11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.666e-05/0.1968, allocations: 101.8 kB / 0.6774 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1968, allocations: 33.64 kB / 0.6774 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.1968, allocations: 80.14 kB / 0.6775 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.1969, allocations: 8.016 kB / 0.6775 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.1969, allocations: 21.72 kB / 0.6775 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.197, allocations: 314.8 kB / 0.6778 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.1971, allocations: 4 kB / 0.6778 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.1971, allocations: 3.984 kB / 0.6778 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.485e-05/0.1971, allocations: 72.2 kB / 0.6779 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1972, allocations: 0 / 0.6779 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.924e-05/0.1973, allocations: 63.41 kB / 0.6779 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.1973, allocations: 41.78 kB / 0.678 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1973, allocations: 0 / 0.678 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1973, allocations: 7.938 kB / 0.678 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.1973, allocations: 0 / 0.678 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1974, allocations: 0 / 0.678 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.1974, allocations: 0 / 0.678 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1974, allocations: 0 / 0.678 GB, free: 10.19 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.845e-05/0.1975, allocations: 139.5 kB / 0.6781 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.1975, allocations: 4 kB / 0.6781 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.416e-05/0.1975, allocations: 11.11 kB / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1975, allocations: 0 / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1976, allocations: 0 / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1976, allocations: 0 / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.1977, allocations: 157.6 kB / 0.6783 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1977, allocations: 0 / 0.6783 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1977, allocations: 3.938 kB / 0.6783 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1977, allocations: 0 / 0.6783 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1977, allocations: 4.25 kB / 0.6783 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1977, allocations: 4 kB / 0.6783 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1977, allocations: 0 / 0.6783 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.1979, allocations: 106.7 kB / 0.6784 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.198, allocations: 85.09 kB / 0.6785 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.198, allocations: 4 kB / 0.6785 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.198, allocations: 0 / 0.6785 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.198, allocations: 0 / 0.6785 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.198, allocations: 0 / 0.6785 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.1981, allocations: 83.22 kB / 0.6786 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1981, allocations: 4.031 kB / 0.6786 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002474/0.1983, allocations: 24 kB / 0.6786 GB, free: 9.465 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.0002194/0.1986, allocations: 135.1 kB / 0.6787 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1987, allocations: 79.27 kB / 0.6788 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1987, allocations: 0 / 0.6788 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.1988, allocations: 59.41 kB / 0.6788 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.199, allocations: 7.984 kB / 0.6788 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.1994, allocations: 131.8 kB / 0.679 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1996, allocations: 0.6768 MB / 0.6796 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.551e-05/0.1996, allocations: 0 / 0.6796 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.193e-05/0.1996, allocations: 11.44 kB / 0.6796 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1996, allocations: 0 / 0.6796 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of Templates: time 0.003456/0.2031, allocations: 0.8345 MB / 0.6805 GB, free: 7.496 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)