Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.Examples.UTube.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.Examples.UTube,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.Examples.UTube") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.Examples.UTube,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.Examples.UTube") [/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.1649/0.1657, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.Examples.UTube): time 0.04423/0.2099, allocations: 44.05 MB / 0.6364 GB, free: 9.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.2257, allocations: 11.52 MB / 0.6476 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.2277, allocations: 59.62 kB / 0.6477 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.2301, allocations: 0.8085 MB / 0.6485 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006287/0.2364, allocations: 2.169 MB / 0.6506 GB, free: 11.25 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/HeatExchangers/Boreholes/BaseClasses/SingleUTubeBoundaryCondition.mo:48:3-57:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘initial() or sample(borHol.borHol.TBouCon.startTime, borHol.borHol.TBouCon.samplePeriod)‘. Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.2403, allocations: 1.324 MB / 0.6519 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.04004/0.2803, allocations: 26.83 MB / 0.6781 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02169/0.3021, allocations: 14.65 MB / 0.6924 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6362/0.9383, allocations: 10.5 MB / 0.7027 GB, free: 16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02373/0.9621, allocations: 9.877 MB / 0.7123 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.01013/0.9723, allocations: 0.9082 MB / 0.7132 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.9885, allocations: 2.047 MB / 0.7152 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0115/1, allocations: 4.261 MB / 0.7193 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01144/1.012, allocations: 4.306 MB / 0.7235 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.04304/1.055, allocations: 37.69 MB / 0.7604 GB, free: 0 / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.055, allocations: 96 / 0.7604 GB, free: 0 / 0.5294 GB Notification: Performance of FrontEnd: time 2.875e-06/1.055, allocations: 0.5312 kB / 0.7604 GB, free: 0 / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001131/1.056, allocations: 0.5156 kB / 0.7604 GB, free: 0 / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2693 * Number of variables: 2693 Notification: Performance of Generate backend data structure: time 0.07094/1.127, allocations: 21.83 MB / 0.7817 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.127, allocations: 10.66 kB / 0.7817 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01809/1.145, allocations: 2.026 MB / 0.7837 GB, free: 13.49 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05902/1.204, allocations: 22.09 MB / 0.8052 GB, free: 15.14 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002192/1.206, allocations: 1.508 MB / 0.8067 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00995/1.216, allocations: 1.362 MB / 0.808 GB, free: 12.14 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05208/1.268, allocations: 17.6 MB / 0.8252 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007077/1.269, allocations: 47.61 kB / 0.8253 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004826/1.274, allocations: 432.3 kB / 0.8257 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003781/1.274, allocations: 303.9 kB / 0.826 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0424/1.317, allocations: 16.03 MB / 0.8416 GB, free: 9.352 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2035/1.52, allocations: 97.23 MB / 0.9366 GB, free: 3.637 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03449/1.555, allocations: 14.67 MB / 0.9509 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/1.556, allocations: 0.5069 MB / 0.9514 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3734/1.93, allocations: 7.866 MB / 0.9591 GB, free: 215.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=866): time 1.434e-05/1.93, allocations: 0 / 0.9591 GB, free: 215.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=888): time 0.1442/2.074, allocations: 46.7 MB / 1.005 GB, free: 202.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004559/2.075, allocations: 0.8543 MB / 1.006 GB, free: 201.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03322/2.108, allocations: 15.43 MB / 1.021 GB, free: 196.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.006061/2.114, allocations: 337.3 kB / 1.021 GB, free: 196.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.01633/2.13, allocations: 6.594 MB / 1.027 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.007602/2.138, allocations: 3.202 MB / 1.03 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004462/2.142, allocations: 287 kB / 1.031 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.001967/2.144, allocations: 0.9162 MB / 1.032 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02469/2.169, allocations: 10.84 MB / 1.042 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02901/2.198, allocations: 13.77 MB / 1.056 GB, free: 167 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02774/2.226, allocations: 13 MB / 1.068 GB, free: 154 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/2.226, allocations: 12 kB / 1.068 GB, free: 154 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.07358/2.3, allocations: 28.63 MB / 1.096 GB, free: 125.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.006161/2.306, allocations: 29.47 MB / 1.125 GB, free: 94.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003036/2.306, allocations: 63.98 kB / 1.125 GB, free: 94.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003913/2.31, allocations: 1.819 MB / 1.127 GB, free: 92.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04451/2.355, allocations: 6.846 MB / 1.134 GB, free: 85.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06029/2.415, allocations: 75.25 MB / 1.207 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0384/2.454, allocations: 4.409 MB / 1.211 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006834/2.46, allocations: 0.6756 MB / 1.212 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/2.46, allocations: 7.172 kB / 1.212 GB, free: 15.93 MB / 0.7325 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04072/2.501, allocations: 12.4 MB / 1.224 GB, free: 3.422 MB / 0.7325 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated