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.1549/0.1567, allocations: 80.83 MB / 0.5897 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002698/0.1594, allocations: 1.368 MB / 0.591 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003978/0.1635, allocations: 3.741 MB / 0.5947 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.1636, allocations: 7.938 kB / 0.5947 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.1636, allocations: 3.938 kB / 0.5947 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.164, allocations: 87.61 kB / 0.5948 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1642, allocations: 91.27 kB / 0.5949 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.19e-05/0.1643, allocations: 31.86 kB / 0.5949 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.449e-05/0.1643, allocations: 7.984 kB / 0.5949 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1645, allocations: 19.92 kB / 0.5949 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.1646, allocations: 39.89 kB / 0.595 GB, free: 1.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1646, allocations: 4 kB / 0.595 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004272/0.165, allocations: 303.6 kB / 0.5953 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-06/0.165, allocations: 0 / 0.5953 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.1651, allocations: 7.938 kB / 0.5953 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1652, allocations: 120 kB / 0.5954 GB, free: 1.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1653, allocations: 0 / 0.5954 GB, free: 1.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1653, allocations: 8 kB / 0.5954 GB, free: 1.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.1653, allocations: 0 / 0.5954 GB, free: 1.219 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003451/0.1656, allocations: 385.1 kB / 0.5958 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1657, allocations: 12.03 kB / 0.5958 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.1657, allocations: 0.9375 kB / 0.5958 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1658, allocations: 172 kB / 0.5959 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1658, allocations: 0 / 0.5959 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1658, allocations: 0 / 0.5959 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.1659, allocations: 33.69 kB / 0.596 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.1659, allocations: 4 kB / 0.596 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.166, allocations: 0 / 0.596 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.166, allocations: 0 / 0.596 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.166, allocations: 7.938 kB / 0.596 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.1661, allocations: 157.6 kB / 0.5961 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.765e-05/0.1662, allocations: 18.58 kB / 0.5961 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.1662, allocations: 8.859 kB / 0.5961 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.1662, allocations: 4 kB / 0.5962 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1662, allocations: 30.62 kB / 0.5962 GB, free: 240 kB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1662, allocations: 4 kB / 0.5962 GB, free: 236 kB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001714/0.1664, allocations: 71.33 kB / 0.5963 GB, free: 152 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1665, allocations: 85.05 kB / 0.5963 GB, free: 48 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.1666, allocations: 101.9 kB / 0.5964 GB, free: 15.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1666, allocations: 25.7 kB / 0.5965 GB, free: 15.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.1666, allocations: 88.25 kB / 0.5965 GB, free: 15.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.1666, allocations: 11.84 kB / 0.5966 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.1667, allocations: 13.72 kB / 0.5966 GB, free: 15.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.1668, allocations: 314.8 kB / 0.5969 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.1668, allocations: 8 kB / 0.5969 GB, free: 15.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-06/0.1668, allocations: 0 / 0.5969 GB, free: 15.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/0.1669, allocations: 68.25 kB / 0.5969 GB, free: 15.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1669, allocations: 0 / 0.5969 GB, free: 15.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.266e-05/0.1669, allocations: 75.41 kB / 0.597 GB, free: 15.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.167, allocations: 37.69 kB / 0.597 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.167, allocations: 0 / 0.597 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.167, allocations: 0 / 0.597 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.167, allocations: 0 / 0.597 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.167, allocations: 0 / 0.597 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.1671, allocations: 3.938 kB / 0.597 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1671, allocations: 4 kB / 0.5971 GB, free: 15.24 MB / 462.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 7.773e-05/0.1672, allocations: 136.4 kB / 0.5972 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.1672, allocations: 15.94 kB / 0.5972 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.1672, allocations: 3.125 kB / 0.5972 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1672, allocations: 3.984 kB / 0.5972 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1672, allocations: 0 / 0.5972 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1672, allocations: 0 / 0.5972 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.052e-05/0.1673, allocations: 153.6 kB / 0.5974 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1673, allocations: 0 / 0.5974 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1673, allocations: 0 / 0.5974 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.1673, allocations: 4 kB / 0.5974 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1674, allocations: 0 / 0.5974 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1674, allocations: 0 / 0.5974 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1674, allocations: 7.984 kB / 0.5974 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.1675, allocations: 106.7 kB / 0.5975 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.1676, allocations: 77.11 kB / 0.5975 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1676, allocations: 4 kB / 0.5975 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.1676, allocations: 7.922 kB / 0.5975 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.1676, allocations: 0 / 0.5975 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1676, allocations: 4 kB / 0.5976 GB, free: 14.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.018e-05/0.1677, allocations: 91.56 kB / 0.5976 GB, free: 14.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1677, allocations: 0 / 0.5976 GB, free: 14.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.1679, allocations: 20 kB / 0.5977 GB, free: 14.51 MB / 462.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.0001805/0.1681, allocations: 131.2 kB / 0.5978 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.597e-05/0.1682, allocations: 71.34 kB / 0.5979 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1682, allocations: 0 / 0.5979 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.556e-05/0.1682, allocations: 63.39 kB / 0.5979 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1685, allocations: 15.94 kB / 0.5979 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.1688, allocations: 133.5 kB / 0.5981 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.169, allocations: 0.677 MB / 0.5987 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.178e-05/0.169, allocations: 0 / 0.5987 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.506e-06/0.1691, allocations: 7.438 kB / 0.5987 GB, free: 13.33 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1691, allocations: 0 / 0.5987 GB, free: 13.33 MB / 462.1 MB Notification: Performance of Templates: time 0.002767/0.1718, allocations: 0.7982 MB / 0.5995 GB, free: 12.57 MB / 462.1 MB 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)