Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 252 MB / 267.9 MB, free: 10.93 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.001069/0.001069, allocations: 188.3 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 0.5785 GB, free: 20.48 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.0008596/0.0008595, allocations: 88 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004168, allocations: 11.19 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2184, allocations: 106.3 MB / 0.9013 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9265/1.145, allocations: 406 MB / 1.298 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/1.145, allocations: 131.9 kB / 1.298 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.782/2.927, allocations: 474.1 MB / 1.761 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.894e-06/2.927, allocations: 0 / 1.761 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001895/2.928, allocations: 46.86 kB / 1.761 GB, free: 169.5 MB / 0.8855 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.005639/2.933, allocations: 2.246 MB / 1.763 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/2.933, allocations: 8.625 kB / 1.763 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005777/2.934, allocations: 210.3 kB / 1.763 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/2.937, allocations: 1.701 MB / 1.765 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/2.937, allocations: 83.52 kB / 1.765 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/2.937, allocations: 109.5 kB / 1.765 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/2.939, allocations: 1.081 MB / 1.766 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/2.939, allocations: 5.125 kB / 1.766 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/2.939, allocations: 44.91 kB / 1.766 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/2.939, allocations: 25.25 kB / 1.766 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/2.941, allocations: 0.7944 MB / 1.767 GB, free: 168.1 MB / 0.8855 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.007581/2.948, allocations: 6.469 MB / 1.773 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009268/2.949, allocations: 0.5485 MB / 1.774 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/2.95, allocations: 348 kB / 1.774 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008571/2.951, allocations: 1.268 MB / 1.775 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/2.951, allocations: 44.59 kB / 1.775 GB, free: 163 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=68): time 2.775e-06/2.951, allocations: 0 / 1.775 GB, free: 163 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68): time 0.002162/2.953, allocations: 1.161 MB / 1.777 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/2.953, allocations: 89.14 kB / 1.777 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/2.955, allocations: 1.5 MB / 1.778 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.228e-05/2.955, allocations: 43.86 kB / 1.778 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/2.955, allocations: 0.716 MB / 1.779 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/2.955, allocations: 235.1 kB / 1.779 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/2.956, allocations: 18.19 kB / 1.779 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/2.956, allocations: 340.8 kB / 1.779 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/2.956, allocations: 265.9 kB / 1.78 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/2.957, allocations: 0.4937 MB / 1.78 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/2.957, allocations: 0.6949 MB / 1.781 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/2.957, allocations: 0 / 1.781 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001463/2.959, allocations: 0.9828 MB / 1.782 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-05/2.959, allocations: 191.3 kB / 1.782 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/2.959, allocations: 9.812 kB / 1.782 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/2.959, allocations: 70.81 kB / 1.782 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/2.96, allocations: 176.8 kB / 1.782 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/2.962, allocations: 2.986 MB / 1.785 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/2.963, allocations: 156.3 kB / 1.785 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-05/2.963, allocations: 39.95 kB / 1.785 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/2.963, allocations: 5.031 kB / 1.785 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00119/2.964, allocations: 0.812 MB / 1.786 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/2.964, allocations: 3.75 kB / 1.786 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/2.964, allocations: 73.23 kB / 1.786 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/2.965, allocations: 178.2 kB / 1.786 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/2.966, allocations: 2.952 MB / 1.789 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/2.968, allocations: 126.4 kB / 1.789 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/2.968, allocations: 43.17 kB / 1.789 GB, free: 155.6 MB / 0.8855 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.001056/2.969, allocations: 453.3 kB / 1.79 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/2.969, allocations: 159.2 kB / 1.79 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/2.971, allocations: 0.9757 MB / 1.791 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/2.971, allocations: 11.83 kB / 1.791 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/2.971, allocations: 3.844 kB / 1.791 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008802/2.972, allocations: 0.7838 MB / 1.792 GB, free: 155 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003934/2.976, allocations: 2.629 MB / 1.794 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/2.976, allocations: 3.125 kB / 1.794 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/2.976, allocations: 138.7 kB / 1.794 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/2.976, allocations: 71.75 kB / 1.795 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/2.976, allocations: 17.72 kB / 1.795 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/2.978, allocations: 2.984 MB / 1.797 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/2.978, allocations: 6.875 kB / 1.797 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/2.98, allocations: 1.39 MB / 1.799 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000921/2.981, allocations: 373.9 kB / 1.799 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004959/2.981, allocations: 18.41 kB / 1.799 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/2.983, allocations: 57.92 kB / 1.799 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/2.983, allocations: 57.52 kB / 1.799 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/2.983, allocations: 35.75 kB / 1.799 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002053/2.985, allocations: 1.053 MB / 1.8 GB, free: 151 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/2.985, allocations: 0 / 1.8 GB, free: 151 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005532/2.99, allocations: 1.187 MB / 1.802 GB, free: 150.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (70): * Single equations (assignments): 61 * 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.004848/2.995, allocations: 1.267 MB / 1.803 GB, free: 150.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004012/2.999, allocations: 1.658 MB / 1.804 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/2.999, allocations: 1.562 kB / 1.804 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008722/3, allocations: 0.5931 MB / 1.805 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/3.005, allocations: 0.8136 MB / 1.806 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005437/3.011, allocations: 3.478 MB / 1.809 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/3.012, allocations: 1.265 MB / 1.81 GB, free: 147.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001762/3.014, allocations: 366.5 kB / 1.811 GB, free: 147.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/3.014, allocations: 134.1 kB / 1.811 GB, free: 147.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/3.014, allocations: 0 / 1.811 GB, free: 147.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.06528/3.079, allocations: 41.32 MB / 1.851 GB, free: 145.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)