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.4993/0.5031, allocations: 80.81 MB / 0.5904 GB, free: 22.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002715/0.5058, allocations: 1.293 MB / 0.5917 GB, free: 21.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003734/0.5096, allocations: 3.74 MB / 0.5953 GB, free: 17.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.5097, allocations: 0 / 0.5953 GB, free: 17.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.5097, allocations: 0.6875 kB / 0.5953 GB, free: 17.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.5102, allocations: 104.6 kB / 0.5954 GB, free: 17.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.5105, allocations: 137 kB / 0.5956 GB, free: 17.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.733e-05/0.5106, allocations: 26.23 kB / 0.5956 GB, free: 17.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.5107, allocations: 4 kB / 0.5956 GB, free: 17.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.5108, allocations: 31.78 kB / 0.5956 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.5109, allocations: 31.92 kB / 0.5957 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.5109, allocations: 4 kB / 0.5957 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.5113, allocations: 314.5 kB / 0.596 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.5114, allocations: 0 / 0.596 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.5114, allocations: 7.938 kB / 0.596 GB, free: 17.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.5116, allocations: 114.4 kB / 0.5961 GB, free: 17.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5116, allocations: 0 / 0.5961 GB, free: 17.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5116, allocations: 0 / 0.5961 GB, free: 17.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.5116, allocations: 0 / 0.5961 GB, free: 17.13 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.0003425/0.512, allocations: 393 kB / 0.5965 GB, free: 16.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.512, allocations: 8.031 kB / 0.5965 GB, free: 16.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.512, allocations: 4.938 kB / 0.5965 GB, free: 16.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.5122, allocations: 180 kB / 0.5966 GB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5122, allocations: 0 / 0.5966 GB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.5122, allocations: 0 / 0.5966 GB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.5123, allocations: 29.7 kB / 0.5967 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5123, allocations: 0 / 0.5967 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.5123, allocations: 3.984 kB / 0.5967 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5123, allocations: 4 kB / 0.5967 GB, free: 16.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.5124, allocations: 7.938 kB / 0.5967 GB, free: 16.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.5125, allocations: 157.6 kB / 0.5968 GB, free: 16.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.23e-05/0.5125, allocations: 18.61 kB / 0.5968 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.5126, allocations: 4.859 kB / 0.5969 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.5126, allocations: 4.062 kB / 0.5969 GB, free: 16.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.5126, allocations: 34.56 kB / 0.5969 GB, free: 16.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5126, allocations: 4 kB / 0.5969 GB, free: 16.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001744/0.5128, allocations: 71.33 kB / 0.597 GB, free: 16.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.5128, allocations: 77.11 kB / 0.597 GB, free: 15.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.768e-05/0.5129, allocations: 101.9 kB / 0.5971 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.5129, allocations: 29.64 kB / 0.5972 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.876e-05/0.5129, allocations: 80.14 kB / 0.5972 GB, free: 15.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.513, allocations: 15.89 kB / 0.5973 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.513, allocations: 13.72 kB / 0.5973 GB, free: 15.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.5131, allocations: 322.9 kB / 0.5976 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.5131, allocations: 0 / 0.5976 GB, free: 15.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.337e-06/0.5131, allocations: 4 kB / 0.5976 GB, free: 15.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.5131, allocations: 68.25 kB / 0.5976 GB, free: 15.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5131, allocations: 4 kB / 0.5976 GB, free: 15.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.702e-05/0.5132, allocations: 67.34 kB / 0.5977 GB, free: 15.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.5133, allocations: 33.7 kB / 0.5977 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5133, allocations: 0 / 0.5977 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.5133, allocations: 8.078 kB / 0.5977 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.5133, allocations: 3.938 kB / 0.5978 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5133, allocations: 0 / 0.5978 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.5133, allocations: 4 kB / 0.5978 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5134, allocations: 0 / 0.5978 GB, free: 15.14 MB / 446.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 5.856e-05/0.5134, allocations: 139.5 kB / 0.5979 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.5134, allocations: 3.906 kB / 0.5979 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.044e-05/0.5135, allocations: 3.125 kB / 0.5979 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.5135, allocations: 0 / 0.5979 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5135, allocations: 8 kB / 0.5979 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.5135, allocations: 3.984 kB / 0.5979 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.075e-05/0.5135, allocations: 157.6 kB / 0.5981 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5135, allocations: 256 / 0.5981 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.5136, allocations: 4 kB / 0.5981 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.5136, allocations: 0 / 0.5981 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.5136, allocations: 0 / 0.5981 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.5136, allocations: 0 / 0.5981 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5136, allocations: 3.984 kB / 0.5981 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.401e-05/0.5137, allocations: 110.7 kB / 0.5982 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.5137, allocations: 81.11 kB / 0.5982 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.5137, allocations: 0 / 0.5982 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.779e-05/0.5138, allocations: 0 / 0.5982 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.5138, allocations: 7.984 kB / 0.5983 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.5138, allocations: 0 / 0.5983 GB, free: 14.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.631e-05/0.5138, allocations: 79.28 kB / 0.5983 GB, free: 14.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5138, allocations: 0 / 0.5983 GB, free: 14.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.5141, allocations: 31.94 kB / 0.5984 GB, free: 14.41 MB / 446.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.0001922/0.5143, allocations: 131.2 kB / 0.5985 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.5144, allocations: 63.41 kB / 0.5985 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5144, allocations: 3.938 kB / 0.5986 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.5145, allocations: 67.33 kB / 0.5986 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.5147, allocations: 8.5 kB / 0.5986 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.515, allocations: 135.8 kB / 0.5988 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.5151, allocations: 0.6768 MB / 0.5994 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.206e-05/0.5151, allocations: 0 / 0.5994 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-06/0.5151, allocations: 11.38 kB / 0.5994 GB, free: 13.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5151, allocations: 0 / 0.5994 GB, free: 13.23 MB / 446.1 MB Notification: Performance of Templates: time 0.00299/0.5181, allocations: 0.8232 MB / 0.6002 GB, free: 12.46 MB / 446.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)