Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.818/2.818, allocations: 287.5 MB / 302.4 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 178.6 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.317/2.317, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009448/0.0009447, allocations: 91.47 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006836/0.0006839, allocations: 13.08 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.266, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.08702/0.353, allocations: 60.3 MB / 1.037 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03316/0.3863, allocations: 15.5 MB / 1.052 GB, free: 352 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.3893, allocations: 59.62 kB / 1.052 GB, free: 292 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004615/0.3939, allocations: 0.8988 MB / 1.053 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008482/0.4024, allocations: 1.906 MB / 1.055 GB, free: 13.47 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.009908/0.4124, allocations: 2.254 MB / 1.057 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00964/0.4221, allocations: 4.874 MB / 1.062 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00284/0.425, allocations: 1.061 MB / 1.063 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/0.4292, allocations: 1.303 MB / 1.064 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.4326, allocations: 1.186 MB / 1.066 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006122/0.4332, allocations: 80 kB / 1.066 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00768/0.4409, allocations: 2.051 MB / 1.068 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009844/0.442, allocations: 354.5 kB / 1.068 GB, free: 300 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.6388/1.081, allocations: 404.1 kB / 1.068 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008392/1.089, allocations: 3.258 MB / 1.072 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.089, allocations: 3.125 kB / 1.072 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.316e-06/1.089, allocations: 0 / 1.072 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001044/1.089, allocations: 1.031 kB / 1.072 GB, free: 29.52 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.007218/1.097, allocations: 2.064 MB / 1.074 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.097, allocations: 9.609 kB / 1.074 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/1.098, allocations: 214.5 kB / 1.074 GB, free: 28.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004868/1.103, allocations: 1.444 MB / 1.075 GB, free: 27.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/1.103, allocations: 83.41 kB / 1.075 GB, free: 27.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/1.103, allocations: 117.1 kB / 1.075 GB, free: 27.92 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/1.107, allocations: 1.099 MB / 1.077 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/1.107, allocations: 4.375 kB / 1.077 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/1.107, allocations: 45.14 kB / 1.077 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/1.107, allocations: 25.31 kB / 1.077 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/1.11, allocations: 0.8211 MB / 1.077 GB, free: 27.75 MB / 0.6823 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.0137/1.123, allocations: 6.814 MB / 1.084 GB, free: 23.72 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/1.125, allocations: 0.7494 MB / 1.085 GB, free: 23.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008565/1.126, allocations: 352.7 kB / 1.085 GB, free: 23.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/1.127, allocations: 1.28 MB / 1.086 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/1.128, allocations: 41.12 kB / 1.086 GB, free: 22.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.386e-06/1.128, allocations: 0 / 1.086 GB, free: 22.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.003829/1.131, allocations: 1.164 MB / 1.088 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/1.131, allocations: 87.86 kB / 1.088 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/1.135, allocations: 1.492 MB / 1.089 GB, free: 21.44 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/1.135, allocations: 41.3 kB / 1.089 GB, free: 21.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008031/1.136, allocations: 0.7021 MB / 1.09 GB, free: 21.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/1.137, allocations: 252 kB / 1.09 GB, free: 21.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/1.137, allocations: 23.23 kB / 1.09 GB, free: 21.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.137, allocations: 344.4 kB / 1.09 GB, free: 20.72 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008666/1.138, allocations: 278.2 kB / 1.091 GB, free: 20.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/1.139, allocations: 0.4899 MB / 1.091 GB, free: 20.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000918/1.14, allocations: 359.3 kB / 1.091 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.14, allocations: 1.375 kB / 1.091 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002995/1.143, allocations: 1.01 MB / 1.092 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.143, allocations: 194.7 kB / 1.093 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/1.143, allocations: 5.625 kB / 1.093 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/1.143, allocations: 73.25 kB / 1.093 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.145, allocations: 195.2 kB / 1.093 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/1.147, allocations: 2.969 MB / 1.096 GB, free: 17.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/1.15, allocations: 153.5 kB / 1.096 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/1.15, allocations: 49.89 kB / 1.096 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/1.15, allocations: 6.375 kB / 1.096 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002355/1.152, allocations: 0.8361 MB / 1.097 GB, free: 17.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/1.152, allocations: 6.156 kB / 1.097 GB, free: 17.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/1.153, allocations: 66.45 kB / 1.097 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.154, allocations: 188.6 kB / 1.097 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/1.156, allocations: 2.962 MB / 1.1 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.159, allocations: 133.8 kB / 1.1 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/1.159, allocations: 42.95 kB / 1.1 GB, free: 14.63 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001309/1.16, allocations: 451.8 kB / 1.101 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005366/1.161, allocations: 161.2 kB / 1.101 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/1.164, allocations: 1.047 MB / 1.102 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/1.164, allocations: 9.469 kB / 1.102 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.164, allocations: 5.578 kB / 1.102 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001818/1.165, allocations: 0.7772 MB / 1.103 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007825/1.173, allocations: 2.684 MB / 1.105 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.173, allocations: 2.469 kB / 1.105 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.174, allocations: 137 kB / 1.105 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/1.175, allocations: 78.97 kB / 1.105 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/1.175, allocations: 24.3 kB / 1.105 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/1.178, allocations: 2.98 MB / 1.108 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.178, allocations: 4.203 kB / 1.108 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/1.181, allocations: 1.398 MB / 1.11 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.182, allocations: 385.7 kB / 1.11 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/1.183, allocations: 18.52 kB / 1.11 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.184, allocations: 63.92 kB / 1.11 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.184, allocations: 59.7 kB / 1.11 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.184, allocations: 34.2 kB / 1.11 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002578/1.187, allocations: 1.049 MB / 1.111 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/1.187, allocations: 0 / 1.111 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005227/1.192, allocations: 1.078 MB / 1.112 GB, free: 9.797 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * 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 (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003123/1.195, allocations: 0.8004 MB / 1.113 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00409/1.199, allocations: 1.695 MB / 1.115 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.2, allocations: 1.25 kB / 1.115 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/1.201, allocations: 0.5892 MB / 1.115 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007326/1.208, allocations: 0.8139 MB / 1.116 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/1.215, allocations: 3.455 MB / 1.119 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.217, allocations: 1.273 MB / 1.121 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00267/1.219, allocations: 378.3 kB / 1.121 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005034/1.22, allocations: 127.1 kB / 1.121 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/1.22, allocations: 0 / 1.121 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of Templates: time 0.09698/1.317, allocations: 36.79 MB / 1.157 GB, free: 4.934 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)