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.InternalHEXOneUTube.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.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.267/2.267, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001331/0.001331, allocations: 185.3 kB / 326.2 MB, free: 2.855 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.257/2.257, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0008601/0.0008599, allocations: 91.86 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006302/0.0006303, allocations: 11.84 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2054, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.399, allocations: 405.8 MB / 1.296 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004798/1.4, allocations: 135.2 kB / 1.296 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.761/4.16, allocations: 473.7 MB / 1.759 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.575e-06/4.16, allocations: 1.688 kB / 1.759 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002072/4.16, allocations: 46.72 kB / 1.759 GB, free: 159.9 MB / 0.8698 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.007434/4.168, allocations: 2.268 MB / 1.761 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/4.168, allocations: 13.91 kB / 1.761 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/4.169, allocations: 206.3 kB / 1.761 GB, free: 159 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005519/4.174, allocations: 1.654 MB / 1.763 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/4.175, allocations: 81.2 kB / 1.763 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/4.175, allocations: 109.9 kB / 1.763 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/4.178, allocations: 1.087 MB / 1.764 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/4.178, allocations: 0 / 1.764 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/4.178, allocations: 46.72 kB / 1.764 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/4.178, allocations: 24.69 kB / 1.764 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/4.18, allocations: 0.7981 MB / 1.765 GB, free: 158.4 MB / 0.8698 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.01225/4.192, allocations: 6.451 MB / 1.771 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/4.194, allocations: 0.7314 MB / 1.772 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/4.195, allocations: 359 kB / 1.772 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/4.196, allocations: 1.274 MB / 1.773 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/4.196, allocations: 40.69 kB / 1.773 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 4.027e-06/4.196, allocations: 0.5 kB / 1.773 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.003705/4.2, allocations: 1.192 MB / 1.775 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/4.2, allocations: 84.3 kB / 1.775 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/4.203, allocations: 1.478 MB / 1.776 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002452/4.204, allocations: 40.98 kB / 1.776 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007105/4.204, allocations: 0.6996 MB / 1.777 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/4.205, allocations: 256.7 kB / 1.777 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/4.205, allocations: 17.94 kB / 1.777 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/4.205, allocations: 342.4 kB / 1.777 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000699/4.206, allocations: 261.4 kB / 1.778 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/4.206, allocations: 0.489 MB / 1.778 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/4.207, allocations: 353.1 kB / 1.778 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/4.207, allocations: 0 / 1.778 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002565/4.21, allocations: 0.9755 MB / 1.779 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/4.21, allocations: 201.7 kB / 1.78 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/4.21, allocations: 10.88 kB / 1.78 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/4.21, allocations: 69.55 kB / 1.78 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/4.212, allocations: 188 kB / 1.78 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/4.214, allocations: 2.965 MB / 1.783 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/4.216, allocations: 138 kB / 1.783 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/4.217, allocations: 41.03 kB / 1.783 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/4.217, allocations: 3.812 kB / 1.783 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002103/4.219, allocations: 0.8126 MB / 1.784 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/4.219, allocations: 7.438 kB / 1.784 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/4.219, allocations: 70.31 kB / 1.784 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/4.22, allocations: 174.9 kB / 1.784 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/4.223, allocations: 2.966 MB / 1.787 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/4.225, allocations: 132 kB / 1.787 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/4.225, allocations: 40.02 kB / 1.787 GB, free: 145.7 MB / 0.8698 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 (99): * Single equations (assignments): 96 * 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.001142/4.226, allocations: 448 kB / 1.787 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004559/4.226, allocations: 154.5 kB / 1.788 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/4.229, allocations: 1.064 MB / 1.789 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/4.229, allocations: 7.75 kB / 1.789 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/4.229, allocations: 0 / 1.789 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001638/4.231, allocations: 0.7987 MB / 1.789 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006569/4.237, allocations: 2.661 MB / 1.792 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/4.238, allocations: 3.781 kB / 1.792 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/4.239, allocations: 143.3 kB / 1.792 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003395/4.239, allocations: 74.41 kB / 1.792 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/4.239, allocations: 23.25 kB / 1.792 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/4.241, allocations: 2.982 MB / 1.795 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/4.241, allocations: 4.75 kB / 1.795 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/4.245, allocations: 1.423 MB / 1.797 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/4.246, allocations: 366 kB / 1.797 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003292/4.246, allocations: 21.38 kB / 1.797 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/4.247, allocations: 62.94 kB / 1.797 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/4.247, allocations: 62.12 kB / 1.797 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.302e-05/4.248, allocations: 35.45 kB / 1.797 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002277/4.25, allocations: 1.046 MB / 1.798 GB, free: 141 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/4.25, allocations: 0 / 1.798 GB, free: 141 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004971/4.255, allocations: 1.187 MB / 1.799 GB, free: 140.8 MB / 0.8698 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.003512/4.258, allocations: 1.261 MB / 1.801 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00356/4.262, allocations: 1.666 MB / 1.802 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/4.262, allocations: 0 / 1.802 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/4.263, allocations: 0.6047 MB / 1.803 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007013/4.27, allocations: 0.8191 MB / 1.804 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/4.277, allocations: 3.48 MB / 1.807 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009239/4.278, allocations: 1.274 MB / 1.808 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002296/4.28, allocations: 360.4 kB / 1.809 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/4.281, allocations: 131.7 kB / 1.809 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/4.281, allocations: 0 / 1.809 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.09451/4.375, allocations: 40.34 MB / 1.848 GB, free: 135.5 MB / 0.8698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)