Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 285.4 MB / 298 MB, free: 5.953 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.001491/0.001491, allocations: 176.8 kB / 366.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 0.6248 GB, free: 7.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008485/0.0008485, allocations: 84.94 kB / 0.738 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.379e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7728, allocations: 115.3 MB / 0.9709 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.908, allocations: 429.1 MB / 1.39 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.908, allocations: 121.2 kB / 1.39 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.372/6.28, allocations: 1.021 GB / 2.411 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.106e-06/6.28, allocations: 3.656 kB / 2.411 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006913/6.281, allocations: 77.64 kB / 2.411 GB, free: 118.4 MB / 0.9636 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.01345/6.295, allocations: 3.061 MB / 2.414 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/6.295, allocations: 9.844 kB / 2.414 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/6.298, allocations: 372.9 kB / 2.415 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/6.309, allocations: 2.899 MB / 2.418 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/6.31, allocations: 162.1 kB / 2.418 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/6.311, allocations: 218.6 kB / 2.418 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007824/6.319, allocations: 2.077 MB / 2.42 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.142e-05/6.319, allocations: 5.672 kB / 2.42 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/6.319, allocations: 88.72 kB / 2.42 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/6.319, allocations: 50.34 kB / 2.42 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/6.323, allocations: 1.563 MB / 2.422 GB, free: 116.3 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01737/6.34, allocations: 8.845 MB / 2.43 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/6.342, allocations: 1.343 MB / 2.432 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/6.344, allocations: 0.8558 MB / 2.432 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002042/6.346, allocations: 2.916 MB / 2.435 GB, free: 110 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/6.346, allocations: 51.09 kB / 2.435 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=148): time 4.539e-06/6.346, allocations: 0 / 2.435 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=148): time 0.003559/6.349, allocations: 1.553 MB / 2.437 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/6.349, allocations: 101 kB / 2.437 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/6.353, allocations: 1.988 MB / 2.439 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002719/6.353, allocations: 58.86 kB / 2.439 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000852/6.354, allocations: 1.198 MB / 2.44 GB, free: 109 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004848/6.354, allocations: 0.5141 MB / 2.441 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/6.355, allocations: 33.19 kB / 2.441 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001067/6.355, allocations: 368.8 kB / 2.441 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00085/6.356, allocations: 0.5154 MB / 2.441 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/6.357, allocations: 0.8831 MB / 2.442 GB, free: 108 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009552/6.357, allocations: 0.6752 MB / 2.443 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/6.358, allocations: 0 / 2.443 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003608/6.361, allocations: 1.956 MB / 2.445 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005394/6.362, allocations: 2.728 MB / 2.448 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/6.362, allocations: 13.94 kB / 2.448 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/6.362, allocations: 226 kB / 2.448 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/6.363, allocations: 355.7 kB / 2.448 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/6.368, allocations: 7.044 MB / 2.455 GB, free: 98.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/6.371, allocations: 277.8 kB / 2.455 GB, free: 98.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/6.371, allocations: 69.61 kB / 2.455 GB, free: 98.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/6.371, allocations: 6 kB / 2.455 GB, free: 98.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002971/6.374, allocations: 1.679 MB / 2.457 GB, free: 98.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/6.374, allocations: 7.844 kB / 2.457 GB, free: 98.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004527/6.375, allocations: 208.8 kB / 2.457 GB, free: 98.15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/6.376, allocations: 353.8 kB / 2.458 GB, free: 98.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005757/6.382, allocations: 8.966 MB / 2.466 GB, free: 90.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/6.385, allocations: 273.4 kB / 2.467 GB, free: 90.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/6.386, allocations: 76.75 kB / 2.467 GB, free: 90.05 MB / 0.9636 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * 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.0008156/6.387, allocations: 200.6 kB / 2.467 GB, free: 89.94 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/6.388, allocations: 253.9 kB / 2.467 GB, free: 89.81 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005175/6.393, allocations: 2.011 MB / 2.469 GB, free: 89.62 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/6.393, allocations: 18.53 kB / 2.469 GB, free: 89.62 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/6.393, allocations: 8.781 kB / 2.469 GB, free: 89.62 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002528/6.396, allocations: 1.64 MB / 2.471 GB, free: 89.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/6.407, allocations: 4.492 MB / 2.475 GB, free: 88.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/6.407, allocations: 6.672 kB / 2.475 GB, free: 88.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/6.408, allocations: 274.5 kB / 2.475 GB, free: 88.61 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005729/6.409, allocations: 217.1 kB / 2.476 GB, free: 88.57 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/6.409, allocations: 40.22 kB / 2.476 GB, free: 88.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/6.413, allocations: 7.04 MB / 2.482 GB, free: 82.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/6.413, allocations: 3.656 kB / 2.482 GB, free: 82.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005095/6.418, allocations: 2.746 MB / 2.485 GB, free: 81.67 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/6.42, allocations: 0.5752 MB / 2.486 GB, free: 81.42 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/6.422, allocations: 31.41 kB / 2.486 GB, free: 81.42 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/6.424, allocations: 161.1 kB / 2.486 GB, free: 81.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/6.424, allocations: 99.72 kB / 2.486 GB, free: 81.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/6.425, allocations: 56.47 kB / 2.486 GB, free: 81.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004331/6.429, allocations: 1.53 MB / 2.488 GB, free: 81.24 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.773e-06/6.429, allocations: 2.75 kB / 2.488 GB, free: 81.24 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01253/6.442, allocations: 1.984 MB / 2.489 GB, free: 80.94 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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 Backend phase and start with SimCode phase: time 0.005373/6.447, allocations: 1.758 MB / 2.491 GB, free: 80.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006664/6.454, allocations: 3.63 MB / 2.495 GB, free: 79.27 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/6.454, allocations: 2.969 kB / 2.495 GB, free: 79.27 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/6.456, allocations: 1.224 MB / 2.496 GB, free: 78.81 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008283/6.464, allocations: 1.342 MB / 2.497 GB, free: 78.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/6.475, allocations: 4.096 MB / 2.501 GB, free: 77.75 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00251/6.478, allocations: 1.798 MB / 2.503 GB, free: 77.01 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006617/6.484, allocations: 0.7944 MB / 2.504 GB, free: 76.98 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/6.485, allocations: 165.2 kB / 2.504 GB, free: 76.98 MB / 0.9636 GB Notification: Performance of SimCode: time 4.448e-06/6.485, allocations: 2.625 kB / 2.504 GB, free: 76.98 MB / 0.9636 GB Notification: Performance of Templates: time 0.1239/6.609, allocations: 70.36 MB / 2.573 GB, free: 72.72 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)