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.00105/0.001049, allocations: 93.73 kB / 16.02 MB, free: 84 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.001354/0.001354, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.671/0.671, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 8 kB / 495.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1613, allocations: 77.53 MB / 0.56 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.3781/0.5395, allocations: 63.87 MB / 0.6223 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02405/0.5636, allocations: 16.63 MB / 0.6386 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.5666, allocations: 63.84 kB / 0.6386 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.5701, allocations: 1.029 MB / 0.6396 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006936/0.577, allocations: 2.151 MB / 0.6418 GB, free: 14.1 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007404/0.5844, allocations: 2.603 MB / 0.6443 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008151/0.5926, allocations: 5.7 MB / 0.6499 GB, free: 9.086 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.5946, allocations: 1.181 MB / 0.651 GB, free: 8.336 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.5975, allocations: 1.349 MB / 0.6523 GB, free: 7.594 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.5992, allocations: 1.256 MB / 0.6536 GB, free: 6.84 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.5994, allocations: 80 kB / 0.6536 GB, free: 6.762 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005222/0.6046, allocations: 2.566 MB / 0.6561 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.605, allocations: 362.4 kB / 0.6565 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.6062, allocations: 0.9344 MB / 0.6574 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006572/0.6127, allocations: 4.354 MB / 0.6616 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6128, allocations: 0 / 0.6616 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6128, allocations: 0 / 0.6616 GB, free: 14.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.405e-05/0.6128, allocations: 0 / 0.6616 GB, free: 14.52 MB / 494.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.003526/0.6163, allocations: 2.057 MB / 0.6637 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.6164, allocations: 12.03 kB / 0.6637 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.6168, allocations: 210.8 kB / 0.6639 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.6192, allocations: 1.519 MB / 0.6654 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.6193, allocations: 82.08 kB / 0.6654 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.6195, allocations: 112 kB / 0.6655 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.6213, allocations: 1.112 MB / 0.6666 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.6213, allocations: 3.938 kB / 0.6666 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.465e-05/0.6214, allocations: 44 kB / 0.6667 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.6215, allocations: 24 kB / 0.6667 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.6229, allocations: 0.8356 MB / 0.6675 GB, free: 8.336 MB / 494.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.007734/0.6306, allocations: 6.827 MB / 0.6742 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000907/0.6315, allocations: 0.7373 MB / 0.6749 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.6321, allocations: 354.6 kB / 0.6752 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.6332, allocations: 1.282 MB / 0.6765 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.6332, allocations: 35.22 kB / 0.6765 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/0.6332, allocations: 8 kB / 0.6765 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72): time 0.002109/0.6353, allocations: 1.179 MB / 0.6777 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.6354, allocations: 89.7 kB / 0.6778 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.6373, allocations: 1.497 MB / 0.6792 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.6374, allocations: 45.64 kB / 0.6793 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/0.6379, allocations: 0.7093 MB / 0.68 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.6381, allocations: 260.2 kB / 0.6802 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.6383, allocations: 81.67 kB / 0.6803 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6384, allocations: 337.9 kB / 0.6806 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.6388, allocations: 281.9 kB / 0.6809 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.6394, allocations: 494.5 kB / 0.6814 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.6405, allocations: 0.7146 MB / 0.682 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6405, allocations: 0 / 0.682 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001707/0.6422, allocations: 1.024 MB / 0.683 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.6423, allocations: 196 kB / 0.6832 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.6424, allocations: 7.984 kB / 0.6832 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002903/0.6426, allocations: 73.62 kB / 0.6833 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.6433, allocations: 191.8 kB / 0.6835 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.6456, allocations: 2.981 MB / 0.6864 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.6467, allocations: 146.9 kB / 0.6865 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.23e-05/0.6468, allocations: 43.98 kB / 0.6866 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.6469, allocations: 5.875 kB / 0.6866 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001384/0.6483, allocations: 0.841 MB / 0.6874 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.6483, allocations: 8 kB / 0.6874 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.6484, allocations: 65.69 kB / 0.6875 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.649, allocations: 191.7 kB / 0.6877 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.6512, allocations: 2.966 MB / 0.6906 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.6523, allocations: 135.1 kB / 0.6907 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.6524, allocations: 39.98 kB / 0.6907 GB, free: 14.69 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008543/0.6532, allocations: 448.8 kB / 0.6912 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.6536, allocations: 158 kB / 0.6913 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.6556, allocations: 1.048 MB / 0.6923 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.6557, allocations: 8 kB / 0.6923 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6557, allocations: 0 / 0.6923 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/0.6568, allocations: 0.7849 MB / 0.6931 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.6616, allocations: 2.699 MB / 0.6957 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.6616, allocations: 4 kB / 0.6957 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.6622, allocations: 148.2 kB / 0.6959 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.6624, allocations: 69.81 kB / 0.696 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.6625, allocations: 23.98 kB / 0.696 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.6647, allocations: 2.982 MB / 0.6989 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.6648, allocations: 7.938 kB / 0.6989 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.6669, allocations: 1.401 MB / 0.7003 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/0.6677, allocations: 382.8 kB / 0.7006 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/0.668, allocations: 20 kB / 0.7007 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/0.6688, allocations: 55.81 kB / 0.7007 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6689, allocations: 76.23 kB / 0.7008 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.669, allocations: 27.98 kB / 0.7008 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001805/0.6708, allocations: 1.072 MB / 0.7019 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6708, allocations: 0 / 0.7019 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003208/0.674, allocations: 1.08 MB / 0.7029 GB, free: 1.664 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002085/0.6761, allocations: 0.8279 MB / 0.7037 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002772/0.6789, allocations: 1.704 MB / 0.7054 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.6789, allocations: 3.938 kB / 0.7054 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007855/0.6797, allocations: 0.5836 MB / 0.706 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/0.6847, allocations: 0.8158 MB / 0.7067 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.6898, allocations: 3.613 MB / 0.7103 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009709/0.6908, allocations: 1.27 MB / 0.7115 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001534/0.6923, allocations: 364.4 kB / 0.7119 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.6927, allocations: 131.3 kB / 0.712 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.6927, allocations: 0 / 0.712 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of Templates: time 0.06312/0.7558, allocations: 38.18 MB / 0.7493 GB, free: 2.477 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)