Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7874/0.7874, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 185 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 447.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009449/0.0009449, allocations: 88.31 kB / 0.5188 GB, free: 1.098 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 275.5 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.00046, allocations: 19.05 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.78/0.9702, allocations: 384.3 MB / 1.149 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/0.9706, allocations: 133.3 kB / 1.149 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.676/2.646, allocations: 486.6 MB / 1.624 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.286e-06/2.646, allocations: 4 kB / 1.624 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001834/2.647, allocations: 43.98 kB / 1.624 GB, free: 102.4 MB / 0.7136 GB 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.005759/2.652, allocations: 2.257 MB / 1.627 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/2.652, allocations: 8.031 kB / 1.627 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/2.653, allocations: 211.6 kB / 1.627 GB, free: 99.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/2.656, allocations: 1.709 MB / 1.628 GB, free: 98.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/2.656, allocations: 86.08 kB / 1.629 GB, free: 98.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/2.656, allocations: 111.9 kB / 1.629 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/2.658, allocations: 1.068 MB / 1.63 GB, free: 96.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/2.658, allocations: 7.953 kB / 1.63 GB, free: 96.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/2.658, allocations: 47.16 kB / 1.63 GB, free: 96.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/2.658, allocations: 24 kB / 1.63 GB, free: 96.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/2.659, allocations: 0.7965 MB / 1.631 GB, free: 95.95 MB / 0.7136 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.006789/2.666, allocations: 6.488 MB / 1.637 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/2.667, allocations: 0.5568 MB / 1.637 GB, free: 88.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008479/2.667, allocations: 1.262 MB / 1.639 GB, free: 86.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/2.667, allocations: 43.06 kB / 1.639 GB, free: 86.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=68): time 3.406e-06/2.667, allocations: 0 / 1.639 GB, free: 86.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=68): time 0.001854/2.669, allocations: 1.152 MB / 1.64 GB, free: 85.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/2.669, allocations: 85.67 kB / 1.64 GB, free: 85.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/2.671, allocations: 1.367 MB / 1.641 GB, free: 84.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/2.671, allocations: 45.05 kB / 1.641 GB, free: 84.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/2.672, allocations: 0.713 MB / 1.642 GB, free: 83.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/2.672, allocations: 248.4 kB / 1.642 GB, free: 83.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/2.672, allocations: 16 kB / 1.642 GB, free: 83.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/2.672, allocations: 341.9 kB / 1.643 GB, free: 82.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/2.672, allocations: 265.9 kB / 1.643 GB, free: 82.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/2.673, allocations: 0.4893 MB / 1.643 GB, free: 81.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/2.673, allocations: 356.3 kB / 1.644 GB, free: 81.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/2.673, allocations: 6.859 kB / 1.644 GB, free: 81.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001391/2.675, allocations: 0.9761 MB / 1.645 GB, free: 80.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000265/2.675, allocations: 1.36 MB / 1.646 GB, free: 79.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/2.675, allocations: 8 kB / 1.646 GB, free: 79.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/2.675, allocations: 72.94 kB / 1.646 GB, free: 78.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/2.676, allocations: 179.7 kB / 1.646 GB, free: 78.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/2.678, allocations: 2.993 MB / 1.649 GB, free: 75.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/2.679, allocations: 140.4 kB / 1.649 GB, free: 75.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/2.679, allocations: 39.98 kB / 1.649 GB, free: 75.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/2.679, allocations: 4 kB / 1.649 GB, free: 75.38 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001169/2.68, allocations: 0.8163 MB / 1.65 GB, free: 74.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/2.68, allocations: 4 kB / 1.65 GB, free: 74.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/2.68, allocations: 68.41 kB / 1.65 GB, free: 74.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/2.681, allocations: 183.7 kB / 1.65 GB, free: 74.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/2.682, allocations: 2.978 MB / 1.653 GB, free: 71.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/2.684, allocations: 140.1 kB / 1.653 GB, free: 70.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/2.684, allocations: 35.98 kB / 1.653 GB, free: 70.9 MB / 0.7136 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 (99): * Single equations (assignments): 96 * 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.0009357/2.685, allocations: 445 kB / 1.654 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/2.685, allocations: 162 kB / 1.654 GB, free: 70.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/2.686, allocations: 0.9846 MB / 1.655 GB, free: 69.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/2.686, allocations: 18.69 kB / 1.655 GB, free: 69.28 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/2.686, allocations: 4 kB / 1.655 GB, free: 69.28 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008559/2.687, allocations: 0.7772 MB / 1.656 GB, free: 68.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/2.691, allocations: 2.643 MB / 1.658 GB, free: 65.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/2.691, allocations: 0 / 1.658 GB, free: 65.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/2.692, allocations: 135.8 kB / 1.658 GB, free: 65.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/2.692, allocations: 74.06 kB / 1.658 GB, free: 65.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/2.692, allocations: 27.94 kB / 1.658 GB, free: 65.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/2.694, allocations: 2.985 MB / 1.661 GB, free: 62.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/2.694, allocations: 7.938 kB / 1.661 GB, free: 62.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/2.695, allocations: 1.597 MB / 1.663 GB, free: 60.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009063/2.696, allocations: 374.7 kB / 1.663 GB, free: 60.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/2.697, allocations: 20 kB / 1.663 GB, free: 60.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/2.698, allocations: 55.81 kB / 1.663 GB, free: 59.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/2.698, allocations: 60.14 kB / 1.663 GB, free: 59.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/2.698, allocations: 31.98 kB / 1.663 GB, free: 59.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001954/2.7, allocations: 1.092 MB / 1.665 GB, free: 58.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/2.7, allocations: 0 / 1.665 GB, free: 58.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004659/2.705, allocations: 1.201 MB / 1.666 GB, free: 57.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (70): * Single equations (assignments): 61 * 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.003688/2.708, allocations: 1.284 MB / 1.667 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002659/2.711, allocations: 1.664 MB / 1.669 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/2.711, allocations: 0 / 1.669 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006949/2.712, allocations: 0.599 MB / 1.669 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/2.716, allocations: 0.8061 MB / 1.67 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/2.723, allocations: 3.457 MB / 1.673 GB, free: 49.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/2.724, allocations: 1.305 MB / 1.675 GB, free: 48.42 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002013/2.726, allocations: 372.3 kB / 1.675 GB, free: 48.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/2.727, allocations: 127.4 kB / 1.675 GB, free: 47.95 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/2.727, allocations: 3.938 kB / 1.675 GB, free: 47.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.06508/2.792, allocations: 40.48 MB / 1.715 GB, free: 8.066 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)