Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5177/0.5177, allocations: 92 MB / 108.5 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.679/1.679, allocations: 223.2 MB / 354.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 111.1 kB / 427.4 MB, free: 3.852 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006246/0.0006243, allocations: 8 kB / 0.4983 GB, free: 42.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1728, allocations: 72.32 MB / 0.5689 GB, free: 1.879 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.356, allocations: 378.2 MB / 0.9383 GB, free: 86 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.356, allocations: 125.6 kB / 0.9384 GB, free: 85.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 11.38/12.73, allocations: 2.913 GB / 3.852 GB, free: 74.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.116e-06/12.73, allocations: 3.938 kB / 3.852 GB, free: 74.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.00326/12.74, allocations: 311.9 kB / 3.852 GB, free: 74.86 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: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.05164/12.79, allocations: 14.3 MB / 3.866 GB, free: 69.23 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/12.79, allocations: 8 kB / 3.866 GB, free: 69.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/12.8, allocations: 1.63 MB / 3.867 GB, free: 68.44 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05314/12.85, allocations: 18.99 MB / 3.886 GB, free: 66.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008948/12.85, allocations: 0.6272 MB / 3.887 GB, free: 65.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005/12.86, allocations: 0.8531 MB / 3.887 GB, free: 65.52 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04646/12.9, allocations: 11.96 MB / 3.899 GB, free: 60.37 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007726/12.91, allocations: 35.52 kB / 3.899 GB, free: 60.35 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004206/12.91, allocations: 352.9 kB / 3.899 GB, free: 60.08 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002013/12.91, allocations: 210.1 kB / 3.9 GB, free: 60.08 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02811/12.94, allocations: 10.26 MB / 3.91 GB, free: 54.39 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.1101/13.05, allocations: 51.4 MB / 3.96 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9358/13.98, allocations: 5.84 MB / 3.966 GB, free: 71.8 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00262/13.99, allocations: 2.183 MB / 3.968 GB, free: 69.45 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/13.99, allocations: 97.77 kB / 3.968 GB, free: 69.41 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=482): time 7.935e-06/13.99, allocations: 3.281 kB / 3.968 GB, free: 69.41 MB / 0.6668 GB Notification: Performance of matching and sorting (n=482): time 0.03408/14.02, allocations: 12.57 MB / 3.98 GB, free: 67.14 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/14.02, allocations: 366.2 kB / 3.98 GB, free: 66.77 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04059/14.06, allocations: 14.82 MB / 3.995 GB, free: 66.22 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.002511/14.06, allocations: 127 kB / 3.995 GB, free: 66.19 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.01103/14.08, allocations: 6.031 MB / 4.001 GB, free: 65.52 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.004298/14.08, allocations: 1.709 MB / 4.003 GB, free: 64.66 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009031/14.08, allocations: 126.8 kB / 4.003 GB, free: 64.66 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.0005759/14.08, allocations: 0.572 MB / 4.003 GB, free: 64.35 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005437/14.09, allocations: 3.505 MB / 4.007 GB, free: 64.33 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007748/14.09, allocations: 5.535 MB / 4.012 GB, free: 62.32 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007233/14.1, allocations: 4.576 MB / 4.017 GB, free: 62.23 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.182e-05/14.1, allocations: 10.59 kB / 4.017 GB, free: 62.23 MB / 0.6668 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02374/14.13, allocations: 10.93 MB / 4.027 GB, free: 61.23 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 0.00807/14.13, allocations: 25.34 MB / 4.052 GB, free: 51.12 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004508/14.13, allocations: 61.56 kB / 4.052 GB, free: 51.12 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/14.14, allocations: 1.028 MB / 4.053 GB, free: 50.96 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006745/14.14, allocations: 1.445 MB / 4.055 GB, free: 50.96 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02972/14.17, allocations: 33.32 MB / 4.087 GB, free: 40.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01889/14.19, allocations: 1.486 MB / 4.089 GB, free: 40.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/14.19, allocations: 275.1 kB / 4.089 GB, free: 40.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/14.19, allocations: 4.719 kB / 4.089 GB, free: 40.13 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01901/14.21, allocations: 9.839 MB / 4.098 GB, free: 39.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003299/14.21, allocations: 61.38 kB / 4.098 GB, free: 39.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/14.22, allocations: 0.9967 MB / 4.099 GB, free: 39.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006079/14.22, allocations: 1.446 MB / 4.101 GB, free: 39.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02713/14.25, allocations: 33.63 MB / 4.134 GB, free: 28.86 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01631/14.27, allocations: 1.382 MB / 4.135 GB, free: 28.67 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002632/14.27, allocations: 270.3 kB / 4.135 GB, free: 28.67 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01681/14.29, allocations: 5.419 MB / 4.141 GB, free: 28.39 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005919/14.29, allocations: 1.172 MB / 4.142 GB, free: 27.77 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02016/14.31, allocations: 8.395 MB / 4.15 GB, free: 27.26 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.347e-05/14.31, allocations: 48.44 kB / 4.15 GB, free: 27.26 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-05/14.31, allocations: 14.94 kB / 4.15 GB, free: 27.26 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01028/14.32, allocations: 6.49 MB / 4.156 GB, free: 26.3 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09956/14.42, allocations: 44.16 MB / 4.199 GB, free: 26.54 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-05/14.42, allocations: 9.062 kB / 4.199 GB, free: 26.54 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007231/14.43, allocations: 1.066 MB / 4.2 GB, free: 26.47 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003202/14.43, allocations: 0.98 MB / 4.201 GB, free: 26.07 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001341/14.43, allocations: 154.2 kB / 4.202 GB, free: 25.99 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5576/14.99, allocations: 33.46 MB / 4.234 GB, free: 126.6 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/14.99, allocations: 16.31 kB / 4.234 GB, free: 126.6 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02299/15.01, allocations: 15.75 MB / 4.25 GB, free: 121.8 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0117/15.03, allocations: 2.965 MB / 4.253 GB, free: 121.7 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005256/15.03, allocations: 134.6 kB / 4.253 GB, free: 121.7 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01109/15.04, allocations: 0.6641 MB / 4.253 GB, free: 121.7 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001294/15.04, allocations: 355.5 kB / 4.254 GB, free: 121.7 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007306/15.04, allocations: 194 kB / 4.254 GB, free: 121.7 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.02967/15.07, allocations: 12.15 MB / 4.266 GB, free: 121.3 MB / 0.7449 GB Notification: Performance of sort global known variables: time 1.854e-06/15.07, allocations: 0 / 4.266 GB, free: 121.3 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.03335/15.11, allocations: 6.507 MB / 4.272 GB, free: 121 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.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 (428): * Single equations (assignments): 402 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(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.004164/15.11, allocations: 1.412 MB / 4.273 GB, free: 120.9 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.02658/15.14, allocations: 18.01 MB / 4.291 GB, free: 115.7 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.548e-05/15.14, allocations: 9 kB / 4.291 GB, free: 115.7 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.008914/15.15, allocations: 5.687 MB / 4.297 GB, free: 113.4 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04096/15.19, allocations: 7.909 MB / 4.304 GB, free: 113.3 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06825/15.26, allocations: 33.4 MB / 4.337 GB, free: 101.7 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02169/15.28, allocations: 9.579 MB / 4.346 GB, free: 100.5 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.02988/15.31, allocations: 6.848 MB / 4.353 GB, free: 100.1 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007167/15.32, allocations: 0.8807 MB / 4.354 GB, free: 100.1 MB / 0.7449 GB Notification: Performance of SimCode: time 1.443e-06/15.32, allocations: 0 / 4.354 GB, free: 100.1 MB / 0.7449 GB Notification: Performance of Templates: time 1.002/16.32, allocations: 272.2 MB / 4.62 GB, free: 119 MB / 0.7449 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)