Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.416/2.416, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 178.7 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.337/2.337, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008731/0.0008731, allocations: 95.61 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.000482, allocations: 14.66 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1971, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.09983/0.297, allocations: 79.34 MB / 0.977 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.05027/0.3473, allocations: 23.47 MB / 0.9999 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005/0.3524, allocations: 99.38 kB / 1 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006903/0.3593, allocations: 1.32 MB / 1.001 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01442/0.3738, allocations: 3.271 MB / 1.005 GB, free: 5.734 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01406/0.3879, allocations: 3.051 MB / 1.007 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01738/0.4053, allocations: 9.268 MB / 1.017 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005813/0.4112, allocations: 2.209 MB / 1.019 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007543/0.4188, allocations: 2.357 MB / 1.021 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005834/0.4247, allocations: 2.166 MB / 1.023 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.4259, allocations: 144 kB / 1.023 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009748/0.4356, allocations: 2.438 MB / 1.026 GB, free: 48 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001718/0.4374, allocations: 0.599 MB / 1.026 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.4396, allocations: 0.6992 MB / 1.027 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.4512, allocations: 5.408 MB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4512, allocations: 0 / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.866e-06/0.4513, allocations: 0 / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000175/0.4514, allocations: 0 / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01015/0.4616, allocations: 3.311 MB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.4617, allocations: 11.97 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.4634, allocations: 375.9 kB / 1.036 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007563/0.471, allocations: 2.466 MB / 1.038 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.4713, allocations: 160.1 kB / 1.038 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006196/0.4719, allocations: 223.9 kB / 1.039 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006309/0.4783, allocations: 2.172 MB / 1.041 GB, free: 356 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.681e-05/0.4784, allocations: 7.984 kB / 1.041 GB, free: 348 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003243/0.4787, allocations: 91.94 kB / 1.041 GB, free: 256 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/0.4788, allocations: 48 kB / 1.041 GB, free: 208 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005475/0.4843, allocations: 1.663 MB / 1.042 GB, free: 14.52 MB / 0.698 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.02214/0.5065, allocations: 9.315 MB / 1.052 GB, free: 4.777 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/0.5096, allocations: 1.169 MB / 1.053 GB, free: 3.598 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.5118, allocations: 0.8452 MB / 1.054 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6027/1.114, allocations: 2.918 MB / 1.056 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/1.115, allocations: 53.02 kB / 1.056 GB, free: 144.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 7.685e-06/1.115, allocations: 1 kB / 1.056 GB, free: 144.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.01432/1.129, allocations: 2.718 MB / 1.059 GB, free: 143.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/1.129, allocations: 95.64 kB / 1.059 GB, free: 143.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007953/1.137, allocations: 2.22 MB / 1.061 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004821/1.138, allocations: 55.64 kB / 1.061 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0022/1.14, allocations: 1.186 MB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.141, allocations: 0.5195 MB / 1.063 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/1.142, allocations: 38.12 kB / 1.063 GB, free: 142.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002273/1.142, allocations: 378.2 kB / 1.063 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002731/1.145, allocations: 0.5615 MB / 1.064 GB, free: 142.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/1.148, allocations: 0.9267 MB / 1.065 GB, free: 142 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/1.151, allocations: 0.7127 MB / 1.066 GB, free: 142 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/1.151, allocations: 1.719 kB / 1.066 GB, free: 142 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.009811/1.161, allocations: 2.095 MB / 1.068 GB, free: 141.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/1.161, allocations: 298.6 kB / 1.068 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.151e-05/1.161, allocations: 9.844 kB / 1.068 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/1.163, allocations: 267.8 kB / 1.068 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002958/1.166, allocations: 390.3 kB / 1.069 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/1.173, allocations: 7.052 MB / 1.075 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004021/1.177, allocations: 305.3 kB / 1.076 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004932/1.177, allocations: 75.25 kB / 1.076 GB, free: 134.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.177, allocations: 4.312 kB / 1.076 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006127/1.184, allocations: 1.799 MB / 1.078 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-05/1.184, allocations: 13.64 kB / 1.078 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000944/1.185, allocations: 212.4 kB / 1.078 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/1.188, allocations: 384.7 kB / 1.078 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008447/1.196, allocations: 9.105 MB / 1.087 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/1.2, allocations: 281.9 kB / 1.087 GB, free: 125.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/1.2, allocations: 75.56 kB / 1.087 GB, free: 125.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001909/1.202, allocations: 0.6548 MB / 1.088 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008576/1.203, allocations: 260.5 kB / 1.088 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005771/1.209, allocations: 2.014 MB / 1.09 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003999/1.213, allocations: 1.645 MB / 1.092 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.213, allocations: 0 / 1.092 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/1.215, allocations: 0.5954 MB / 1.092 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007055/1.216, allocations: 26.95 kB / 1.092 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/1.218, allocations: 123.6 kB / 1.093 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/1.218, allocations: 120 kB / 1.093 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006541/1.225, allocations: 1.937 MB / 1.095 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0059/1.231, allocations: 2.592 MB / 1.097 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001617/1.233, allocations: 0.6682 MB / 1.098 GB, free: 120.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004033/1.237, allocations: 1.491 MB / 1.099 GB, free: 119.7 MB / 0.698 GB Notification: Performance of Backend: time 8.11e-07/1.237, allocations: 0 / 1.099 GB, free: 119.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.248, allocations: 4.434 MB / 1.104 GB, free: 117.6 MB / 0.698 GB Notification: Performance of SimCode: time 0.01836/1.267, allocations: 7.313 MB / 1.111 GB, free: 113.1 MB / 0.698 GB Notification: Performance of Templates: time 0.1478/1.415, allocations: 65.3 MB / 1.174 GB, free: 48.55 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)