Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [/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.1897/0.1905, allocations: 82.22 MB / 0.5941 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001746/0.1923, allocations: 1.211 MB / 0.5953 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1938, allocations: 0.9436 MB / 0.5962 GB, free: 3.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.116e-05/0.1939, allocations: 4 kB / 0.5962 GB, free: 3.336 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.1941, allocations: 35.83 kB / 0.5963 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.1941, allocations: 15.86 kB / 0.5963 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.1946, allocations: 174.5 kB / 0.5965 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.674e-05/0.1947, allocations: 51.67 kB / 0.5965 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.1947, allocations: 0 / 0.5965 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.1948, allocations: 23.81 kB / 0.5965 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.1949, allocations: 11.94 kB / 0.5965 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1949, allocations: 0 / 0.5965 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.1952, allocations: 155.8 kB / 0.5967 GB, free: 2.883 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.1952, allocations: 3.938 kB / 0.5967 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.1953, allocations: 49.56 kB / 0.5967 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.1954, allocations: 116 kB / 0.5968 GB, free: 2.711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1955, allocations: 0 / 0.5968 GB, free: 2.711 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1955, allocations: 4 kB / 0.5969 GB, free: 2.707 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1955, allocations: 0 / 0.5969 GB, free: 2.707 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003454/0.1958, allocations: 367.2 kB / 0.5972 GB, free: 2.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1959, allocations: 8.031 kB / 0.5972 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.273e-05/0.196, allocations: 84.12 kB / 0.5973 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1962, allocations: 267.5 kB / 0.5975 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.1962, allocations: 150.9 kB / 0.5977 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.1963, allocations: 158.6 kB / 0.5978 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.457e-05/0.1964, allocations: 101 kB / 0.5979 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1964, allocations: 75.28 kB / 0.598 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.1965, allocations: 154.6 kB / 0.5982 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/0.1965, allocations: 154.5 kB / 0.5983 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.978e-05/0.1966, allocations: 154.6 kB / 0.5984 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.1969, allocations: 457.9 kB / 0.5989 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.1969, allocations: 181.1 kB / 0.5991 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.197, allocations: 84.08 kB / 0.5991 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.197, allocations: 75.28 kB / 0.5992 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.1971, allocations: 105.8 kB / 0.5993 GB, free: 12 kB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1971, allocations: 0 / 0.5993 GB, free: 12 kB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.435e-05/0.1972, allocations: 37.59 kB / 0.5993 GB, free: 15.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.1972, allocations: 134.7 kB / 0.5995 GB, free: 15.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1974, allocations: 139.8 kB / 0.5996 GB, free: 15.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1974, allocations: 29.7 kB / 0.5996 GB, free: 15.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.1975, allocations: 92.05 kB / 0.5997 GB, free: 15.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.1975, allocations: 0 / 0.5997 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.1975, allocations: 13.72 kB / 0.5997 GB, free: 15.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1977, allocations: 318.8 kB / 0.6 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.1977, allocations: 4 kB / 0.6 GB, free: 15.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.1977, allocations: 0 / 0.6 GB, free: 15.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.1978, allocations: 20.89 kB / 0.6001 GB, free: 15.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1978, allocations: 0 / 0.6001 GB, free: 15.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.1979, allocations: 53.56 kB / 0.6001 GB, free: 15.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.198, allocations: 4 kB / 0.6001 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.198, allocations: 4 kB / 0.6001 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.198, allocations: 3.938 kB / 0.6001 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/0.198, allocations: 0 / 0.6001 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.198, allocations: 0 / 0.6001 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.1981, allocations: 7.844 kB / 0.6001 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.1981, allocations: 0 / 0.6001 GB, free: 15.11 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: 0 * Record equations: 1 * 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 0.0001335/0.1982, allocations: 194 kB / 0.6003 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.1983, allocations: 109 kB / 0.6004 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.933e-05/0.1984, allocations: 112.8 kB / 0.6005 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-05/0.1984, allocations: 180.3 kB / 0.6007 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.139e-05/0.1985, allocations: 184.3 kB / 0.6009 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-05/0.1986, allocations: 188.2 kB / 0.6011 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1988, allocations: 417.2 kB / 0.6015 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/0.1988, allocations: 104.9 kB / 0.6016 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.1989, allocations: 101 kB / 0.6017 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.257e-05/0.1989, allocations: 176.3 kB / 0.6018 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.199, allocations: 188.2 kB / 0.602 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.978e-05/0.1991, allocations: 180.3 kB / 0.6022 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.286e-05/0.1991, allocations: 184.2 kB / 0.6023 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1993, allocations: 311.6 kB / 0.6026 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.1993, allocations: 190 kB / 0.6028 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.15e-05/0.1994, allocations: 184.3 kB / 0.603 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.1995, allocations: 108.9 kB / 0.6031 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.1996, allocations: 176.3 kB / 0.6033 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.1996, allocations: 108.9 kB / 0.6034 GB, free: 11.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.881e-05/0.1997, allocations: 101.1 kB / 0.6035 GB, free: 11.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1997, allocations: 0 / 0.6035 GB, free: 11.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1999, allocations: 32 kB / 0.6035 GB, free: 11.43 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.000276/0.2002, allocations: 226.4 kB / 0.6037 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.412e-05/0.2003, allocations: 33.7 kB / 0.6038 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2003, allocations: 0 / 0.6038 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.2003, allocations: 0 / 0.6038 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.2008, allocations: 0.5347 MB / 0.6043 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.2012, allocations: 247.7 kB / 0.6045 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.2014, allocations: 0.6848 MB / 0.6052 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.471e-05/0.2015, allocations: 0 / 0.6052 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.38e-05/0.2015, allocations: 11.44 kB / 0.6052 GB, free: 9.629 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2015, allocations: 0 / 0.6052 GB, free: 9.629 MB / 462.1 MB Notification: Performance of Templates: time 0.004533/0.206, allocations: 1.512 MB / 0.6067 GB, free: 8.164 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) Environment - environmentSimulation: