Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6878/0.6878, allocations: 117.9 MB / 133.9 MB, free: 4.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009027/0.0009027, allocations: 186.3 kB / 161.7 MB, free: 2.727 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 394.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000798/0.000798, allocations: 96.73 kB / 470.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004474, allocations: 12 kB / 0.5424 GB, free: 6.766 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4028, allocations: 74.53 MB / 0.6152 GB, free: 54.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.45, allocations: 400.4 MB / 1.006 GB, free: 243 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004611/1.451, allocations: 136.1 kB / 1.006 GB, free: 243 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.67/5.121, allocations: 1.04 GB / 2.046 GB, free: 55.21 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.956e-06/5.121, allocations: 0 / 2.046 GB, free: 55.21 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004741/5.121, allocations: 78.69 kB / 2.046 GB, free: 55.21 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.01183/5.133, allocations: 3.594 MB / 2.049 GB, free: 53.66 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/5.133, allocations: 12.41 kB / 2.049 GB, free: 53.66 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/5.135, allocations: 375.7 kB / 2.05 GB, free: 53.48 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009265/5.145, allocations: 3.219 MB / 2.053 GB, free: 52.81 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/5.145, allocations: 158 kB / 2.053 GB, free: 52.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008555/5.146, allocations: 230.4 kB / 2.053 GB, free: 52.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006596/5.152, allocations: 2.302 MB / 2.056 GB, free: 52.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/5.153, allocations: 9.812 kB / 2.056 GB, free: 52.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004806/5.153, allocations: 85.62 kB / 2.056 GB, free: 52.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/5.153, allocations: 54.59 kB / 2.056 GB, free: 52.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004492/5.158, allocations: 1.75 MB / 2.057 GB, free: 52.47 MB / 0.6667 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.01555/5.173, allocations: 9.249 MB / 2.066 GB, free: 49.23 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/5.176, allocations: 1.279 MB / 2.068 GB, free: 49.19 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/5.177, allocations: 0.8158 MB / 2.069 GB, free: 49.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00194/5.179, allocations: 2.75 MB / 2.071 GB, free: 46.07 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/5.179, allocations: 58.62 kB / 2.071 GB, free: 46.03 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=139): time 4.939e-06/5.179, allocations: 0 / 2.071 GB, free: 46.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=139): time 0.01029/5.189, allocations: 3.235 MB / 2.074 GB, free: 45.21 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/5.189, allocations: 91.45 kB / 2.075 GB, free: 45.12 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005306/5.195, allocations: 2.234 MB / 2.077 GB, free: 44.89 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004515/5.195, allocations: 58.27 kB / 2.077 GB, free: 44.86 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/5.196, allocations: 1.255 MB / 2.078 GB, free: 44.45 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008424/5.197, allocations: 496 kB / 2.078 GB, free: 44.13 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/5.198, allocations: 33.25 kB / 2.078 GB, free: 44.13 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002271/5.198, allocations: 376 kB / 2.079 GB, free: 43.82 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/5.199, allocations: 0.5606 MB / 2.079 GB, free: 43.82 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/5.201, allocations: 0.993 MB / 2.08 GB, free: 43.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/5.204, allocations: 1.536 MB / 2.082 GB, free: 43.04 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/5.204, allocations: 4.719 kB / 2.082 GB, free: 43.04 MB / 0.6667 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007972/5.212, allocations: 2.441 MB / 2.084 GB, free: 42.78 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/5.212, allocations: 361.8 kB / 2.085 GB, free: 42.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/5.212, allocations: 14.31 kB / 2.085 GB, free: 42.37 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000835/5.213, allocations: 324 kB / 2.085 GB, free: 42.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/5.214, allocations: 364.9 kB / 2.085 GB, free: 42.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/5.227, allocations: 10.34 MB / 2.095 GB, free: 34.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/5.23, allocations: 305 kB / 2.096 GB, free: 34.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004882/5.231, allocations: 73.47 kB / 2.096 GB, free: 34.17 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/5.231, allocations: 9.188 kB / 2.096 GB, free: 34.17 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003688/5.235, allocations: 1.718 MB / 2.097 GB, free: 34.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-05/5.235, allocations: 18.53 kB / 2.097 GB, free: 34.06 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/5.235, allocations: 213.2 kB / 2.098 GB, free: 34.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/5.236, allocations: 357.4 kB / 2.098 GB, free: 34.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007598/5.244, allocations: 8.989 MB / 2.107 GB, free: 42.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/5.247, allocations: 265.8 kB / 2.107 GB, free: 41.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004295/5.248, allocations: 74.41 kB / 2.107 GB, free: 41.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (196): * Single equations (assignments): 189 * 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.002344/5.25, allocations: 0.6464 MB / 2.108 GB, free: 41.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/5.251, allocations: 268.5 kB / 2.108 GB, free: 41.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00654/5.258, allocations: 2.367 MB / 2.11 GB, free: 41.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/5.258, allocations: 14.78 kB / 2.11 GB, free: 41.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/5.258, allocations: 3.656 kB / 2.11 GB, free: 41.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004541/5.262, allocations: 1.814 MB / 2.112 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/5.273, allocations: 4.336 MB / 2.116 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/5.273, allocations: 0 / 2.116 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009343/5.274, allocations: 248.1 kB / 2.117 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007277/5.275, allocations: 312.6 kB / 2.117 GB, free: 40.53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.732e-05/5.275, allocations: 42.17 kB / 2.117 GB, free: 40.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/5.286, allocations: 9.882 MB / 2.127 GB, free: 32.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/5.286, allocations: 0 / 2.127 GB, free: 32.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/5.293, allocations: 2.751 MB / 2.129 GB, free: 32.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/5.296, allocations: 0.5453 MB / 2.13 GB, free: 31.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009315/5.297, allocations: 28.88 kB / 2.13 GB, free: 31.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/5.299, allocations: 167.8 kB / 2.13 GB, free: 31.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/5.299, allocations: 91.75 kB / 2.13 GB, free: 31.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/5.299, allocations: 57.92 kB / 2.13 GB, free: 31.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003388/5.303, allocations: 1.548 MB / 2.132 GB, free: 31.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/5.303, allocations: 0 / 2.132 GB, free: 31.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008199/5.311, allocations: 2.035 MB / 2.134 GB, free: 31.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004461/5.315, allocations: 1.744 MB / 2.135 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006205/5.322, allocations: 3.825 MB / 2.139 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/5.322, allocations: 7.844 kB / 2.139 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/5.324, allocations: 1.415 MB / 2.14 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008389/5.332, allocations: 1.323 MB / 2.142 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/5.343, allocations: 6.061 MB / 2.148 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002494/5.346, allocations: 1.764 MB / 2.149 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003525/5.349, allocations: 0.6031 MB / 2.15 GB, free: 25.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007398/5.35, allocations: 205.9 kB / 2.15 GB, free: 25.15 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/5.35, allocations: 0 / 2.15 GB, free: 25.15 MB / 0.6823 GB Notification: Performance of Templates: time 0.1128/5.463, allocations: 69.41 MB / 2.218 GB, free: 14.78 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)