Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.755/0.755, allocations: 128.8 MB / 143.7 MB, free: 2.297 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.001212/0.001212, allocations: 174.7 kB / 173.8 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 409 MB, free: 10.5 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.001067/0.001067, allocations: 87.58 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004807, allocations: 9.906 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.197, allocations: 76.76 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.421, allocations: 383.6 MB / 1.01 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/1.422, allocations: 122.2 kB / 1.01 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 11.24/12.66, allocations: 2.821 GB / 3.831 GB, free: 45.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/12.66, allocations: 0 / 3.831 GB, free: 45.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.003006/12.66, allocations: 307.8 kB / 3.831 GB, free: 45.61 MB / 0.698 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.05277/12.72, allocations: 14.24 MB / 3.845 GB, free: 40.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/12.72, allocations: 9 kB / 3.845 GB, free: 40.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/12.73, allocations: 1.623 MB / 3.847 GB, free: 39.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05881/12.79, allocations: 21.19 MB / 3.867 GB, free: 37.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009161/12.79, allocations: 0.6374 MB / 3.868 GB, free: 37.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004738/12.79, allocations: 0.8631 MB / 3.869 GB, free: 37.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03465/12.83, allocations: 11.85 MB / 3.88 GB, free: 36.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004414/12.83, allocations: 31.97 kB / 3.88 GB, free: 36.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00284/12.83, allocations: 356.4 kB / 3.881 GB, free: 36.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/12.83, allocations: 208.2 kB / 3.881 GB, free: 36.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02388/12.86, allocations: 10.02 MB / 3.891 GB, free: 36.51 MB / 0.698 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.1004/12.96, allocations: 51.12 MB / 3.941 GB, free: 37.21 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008942/12.97, allocations: 5.543 MB / 3.946 GB, free: 37.11 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/12.97, allocations: 2.179 MB / 3.948 GB, free: 34.76 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/12.97, allocations: 94.19 kB / 3.948 GB, free: 34.71 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=479): time 8.005e-06/12.97, allocations: 2 kB / 3.948 GB, free: 34.71 MB / 0.7137 GB Notification: Performance of matching and sorting (n=479): time 0.0265/12.99, allocations: 12.16 MB / 3.96 GB, free: 31.82 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/12.99, allocations: 359.1 kB / 3.96 GB, free: 31.45 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03873/13.03, allocations: 14.3 MB / 3.974 GB, free: 30.8 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.002196/13.04, allocations: 130.4 kB / 3.975 GB, free: 30.77 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.01221/13.05, allocations: 6.075 MB / 3.98 GB, free: 29.27 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00375/13.05, allocations: 1.699 MB / 3.982 GB, free: 28.19 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009872/13.05, allocations: 129.1 kB / 3.982 GB, free: 28.19 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0007284/13.05, allocations: 0.5691 MB / 3.983 GB, free: 27.88 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008267/13.06, allocations: 3.287 MB / 3.986 GB, free: 27.86 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/13.07, allocations: 5.581 MB / 3.991 GB, free: 25.34 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/13.08, allocations: 4.392 MB / 3.996 GB, free: 23.61 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-05/13.08, allocations: 17.12 kB / 3.996 GB, free: 23.61 MB / 0.7137 GB Notification: Performance of matching and sorting (n=846) (initialization): time 0.0325/13.12, allocations: 10.56 MB / 4.006 GB, free: 19.66 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.01419/13.13, allocations: 28.29 MB / 4.034 GB, free: 22.16 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004408/13.13, allocations: 72.95 kB / 4.034 GB, free: 22.16 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003661/13.14, allocations: 1.022 MB / 4.035 GB, free: 21.76 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009708/13.15, allocations: 1.448 MB / 4.036 GB, free: 21.71 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0382/13.18, allocations: 33.33 MB / 4.069 GB, free: 7.527 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02151/13.21, allocations: 1.379 MB / 4.07 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002581/13.21, allocations: 281.2 kB / 4.07 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/13.21, allocations: 3.281 kB / 4.07 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02886/13.24, allocations: 9.427 MB / 4.08 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004581/13.24, allocations: 72.67 kB / 4.08 GB, free: 3.445 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/13.24, allocations: 0.9928 MB / 4.081 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008759/13.25, allocations: 1.447 MB / 4.082 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5511/13.8, allocations: 33.62 MB / 4.115 GB, free: 70.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01861/13.82, allocations: 1.268 MB / 4.116 GB, free: 70.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002361/13.82, allocations: 282.2 kB / 4.116 GB, free: 70.62 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * 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 (756): * Single equations (assignments): 726 * 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.01568/13.84, allocations: 5.401 MB / 4.122 GB, free: 70.43 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005948/13.84, allocations: 1.158 MB / 4.123 GB, free: 70.43 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02246/13.87, allocations: 8.376 MB / 4.131 GB, free: 69.95 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.252e-05/13.87, allocations: 47.81 kB / 4.131 GB, free: 69.95 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.232e-05/13.87, allocations: 9.594 kB / 4.131 GB, free: 69.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01243/13.88, allocations: 6.156 MB / 4.137 GB, free: 69.62 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07241/13.95, allocations: 41.04 MB / 4.177 GB, free: 47.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/13.95, allocations: 9.219 kB / 4.177 GB, free: 47.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004604/13.95, allocations: 1.022 MB / 4.178 GB, free: 47.03 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002011/13.96, allocations: 0.9735 MB / 4.179 GB, free: 46.87 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/13.96, allocations: 156.1 kB / 4.179 GB, free: 46.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/13.98, allocations: 33.47 MB / 4.212 GB, free: 20.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.69e-05/13.98, allocations: 23.16 kB / 4.212 GB, free: 20.43 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02412/14, allocations: 15.02 MB / 4.227 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01361/14.02, allocations: 2.825 MB / 4.229 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007222/14.02, allocations: 135 kB / 4.229 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01276/14.04, allocations: 0.6042 MB / 4.23 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001623/14.04, allocations: 353 kB / 4.23 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000783/14.04, allocations: 189.7 kB / 4.231 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.02848/14.07, allocations: 11.81 MB / 4.242 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.21e-07/14.07, allocations: 0 / 4.242 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.04036/14.11, allocations: 6.387 MB / 4.248 GB, free: 13.7 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (421): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005117/14.11, allocations: 1.436 MB / 4.25 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.03531/14.15, allocations: 17.45 MB / 4.267 GB, free: 24.31 MB / 0.7762 GB Notification: Performance of simCode: created event and clocks part: time 2.858e-05/14.15, allocations: 4.625 kB / 4.267 GB, free: 24.31 MB / 0.7762 GB Notification: Performance of simCode: created simulation system equations: time 0.009918/14.16, allocations: 5.509 MB / 4.272 GB, free: 22.06 MB / 0.7762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04424/14.2, allocations: 7.978 MB / 4.28 GB, free: 21.96 MB / 0.7762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06654/14.27, allocations: 32.93 MB / 4.312 GB, free: 10.55 MB / 0.7762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01846/14.29, allocations: 9.54 MB / 4.321 GB, free: 9.367 MB / 0.7762 GB Notification: Performance of simCode: alias equations: time 0.03012/14.32, allocations: 6.708 MB / 4.328 GB, free: 8.859 MB / 0.7762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005981/14.32, allocations: 0.8793 MB / 4.329 GB, free: 8.855 MB / 0.7762 GB Notification: Performance of SimCode: time 1.743e-06/14.32, allocations: 2.156 kB / 4.329 GB, free: 8.855 MB / 0.7762 GB Notification: Performance of Templates: time 0.9837/15.31, allocations: 270.8 MB / 4.593 GB, free: 19.77 MB / 0.7762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)