Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009634/0.0009636, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009706/0.0009705, allocations: 170.2 kB / 16.58 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7155/0.7155, allocations: 115.5 MB / 407.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003552, allocations: 13.94 kB / 495.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1799, allocations: 77.53 MB / 0.5594 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.3951/0.575, allocations: 60.3 MB / 0.6182 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02435/0.5994, allocations: 15.52 MB / 0.6334 GB, free: 4.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.6029, allocations: 59.5 kB / 0.6335 GB, free: 4.406 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.6065, allocations: 0.8986 MB / 0.6343 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008367/0.6149, allocations: 1.905 MB / 0.6362 GB, free: 2.352 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007487/0.6224, allocations: 2.185 MB / 0.6383 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009223/0.6316, allocations: 4.89 MB / 0.6431 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.6337, allocations: 1.065 MB / 0.6441 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.6373, allocations: 1.307 MB / 0.6454 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.6396, allocations: 1.184 MB / 0.6466 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.6398, allocations: 82.94 kB / 0.6467 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006692/0.6465, allocations: 2.035 MB / 0.6486 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004281/0.647, allocations: 355 kB / 0.649 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006733/0.6476, allocations: 408.2 kB / 0.6494 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005062/0.6527, allocations: 3.256 MB / 0.6526 GB, free: 7.613 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.6527, allocations: 0 / 0.6526 GB, free: 7.613 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6527, allocations: 0 / 0.6526 GB, free: 7.613 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.951e-05/0.6528, allocations: 0 / 0.6526 GB, free: 7.613 MB / 478.1 MB 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.003799/0.6566, allocations: 2.08 MB / 0.6546 GB, free: 5.473 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.6567, allocations: 8.031 kB / 0.6546 GB, free: 5.465 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.6571, allocations: 213.6 kB / 0.6548 GB, free: 5.254 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/0.6596, allocations: 1.462 MB / 0.6562 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.6597, allocations: 82.02 kB / 0.6563 GB, free: 3.656 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.6599, allocations: 119.8 kB / 0.6564 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.6618, allocations: 1.093 MB / 0.6575 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.6618, allocations: 11.94 kB / 0.6575 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.6619, allocations: 43.98 kB / 0.6575 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.662, allocations: 31.95 kB / 0.6576 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.6634, allocations: 0.82 MB / 0.6584 GB, free: 1.473 MB / 478.1 MB 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.008031/0.6715, allocations: 6.816 MB / 0.665 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009247/0.6724, allocations: 0.7406 MB / 0.6657 GB, free: 9.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.6729, allocations: 354.6 kB / 0.6661 GB, free: 8.836 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.674, allocations: 1.282 MB / 0.6673 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.6741, allocations: 39.22 kB / 0.6674 GB, free: 7.227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/0.6741, allocations: 3.938 kB / 0.6674 GB, free: 7.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.002157/0.6762, allocations: 1.172 MB / 0.6685 GB, free: 6.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.6763, allocations: 81.77 kB / 0.6686 GB, free: 5.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.6783, allocations: 1.492 MB / 0.6701 GB, free: 4.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-05/0.6784, allocations: 41.7 kB / 0.6701 GB, free: 4.359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/0.679, allocations: 0.7053 MB / 0.6708 GB, free: 3.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.6793, allocations: 252.3 kB / 0.671 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.6793, allocations: 20 kB / 0.671 GB, free: 3.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6794, allocations: 345.9 kB / 0.6714 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.6799, allocations: 273.9 kB / 0.6716 GB, free: 2.762 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/0.6805, allocations: 490.5 kB / 0.6721 GB, free: 2.215 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/0.6811, allocations: 346.9 kB / 0.6724 GB, free: 1.879 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6811, allocations: 0 / 0.6724 GB, free: 1.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001649/0.6827, allocations: 1.016 MB / 0.6734 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.6829, allocations: 198.4 kB / 0.6736 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.6829, allocations: 4 kB / 0.6736 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/0.6832, allocations: 77.67 kB / 0.6737 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.6839, allocations: 191.7 kB / 0.6739 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.6862, allocations: 2.981 MB / 0.6768 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.6872, allocations: 143 kB / 0.6769 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.6873, allocations: 39.98 kB / 0.677 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.6873, allocations: 4 kB / 0.677 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001356/0.6887, allocations: 0.8371 MB / 0.6778 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.6887, allocations: 11.98 kB / 0.6778 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.6889, allocations: 65.69 kB / 0.6779 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.6895, allocations: 187.7 kB / 0.678 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.6916, allocations: 2.954 MB / 0.6809 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.6926, allocations: 144.7 kB / 0.6811 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.6927, allocations: 39.98 kB / 0.6811 GB, free: 8.387 MB / 0.4981 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 (107): * Single equations (assignments): 104 * 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.0008344/0.6936, allocations: 448.8 kB / 0.6815 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.6938, allocations: 158.2 kB / 0.6817 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.6956, allocations: 1.049 MB / 0.6827 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.6956, allocations: 11.98 kB / 0.6827 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6956, allocations: 0 / 0.6827 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/0.6967, allocations: 0.781 MB / 0.6835 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/0.7012, allocations: 2.703 MB / 0.6861 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.7012, allocations: 4 kB / 0.6861 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.7017, allocations: 136.3 kB / 0.6862 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.7019, allocations: 77.62 kB / 0.6863 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.702, allocations: 19.98 kB / 0.6863 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.7042, allocations: 2.978 MB / 0.6893 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7042, allocations: 4 kB / 0.6893 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.7065, allocations: 1.397 MB / 0.6906 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/0.7073, allocations: 378.8 kB / 0.691 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.7074, allocations: 19.98 kB / 0.691 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/0.7081, allocations: 59.77 kB / 0.6911 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-05/0.7082, allocations: 64.42 kB / 0.6911 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.7083, allocations: 31.98 kB / 0.6911 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00157/0.7098, allocations: 1.049 MB / 0.6922 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7098, allocations: 4 kB / 0.6922 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003623/0.7135, allocations: 1.076 MB / 0.6932 GB, free: 11.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (72): * Single equations (assignments): 63 * 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.002259/0.7157, allocations: 0.7772 MB / 0.694 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002758/0.7185, allocations: 1.689 MB / 0.6956 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.7185, allocations: 0 / 0.6956 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.7193, allocations: 0.5982 MB / 0.6962 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/0.7233, allocations: 0.8096 MB / 0.697 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.7283, allocations: 3.48 MB / 0.7004 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008984/0.7292, allocations: 1.277 MB / 0.7017 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001703/0.7309, allocations: 365.4 kB / 0.702 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.7313, allocations: 123.4 kB / 0.7021 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of SimCode: time 1.322e-06/0.7313, allocations: 0 / 0.7021 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of Templates: time 0.06276/0.794, allocations: 36.53 MB / 0.7378 GB, free: 14.08 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)