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.758/0.758, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 181.5 kB / 187.3 MB, free: 11.89 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.424/1.424, allocations: 221.3 MB / 441.4 MB, free: 4.652 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.0008885/0.0008886, allocations: 89.77 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 272.2 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 8.289e-05/8.299e-05, allocations: 11.98 kB / 0.6835 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5254, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8658/1.391, allocations: 384.2 MB / 1.14 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/1.392, allocations: 131.1 kB / 1.14 GB, free: 6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.981/3.373, allocations: 484.9 MB / 1.613 GB, free: 111.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/3.373, allocations: 0 / 1.613 GB, free: 111.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001589/3.373, allocations: 43.98 kB / 1.613 GB, free: 111.1 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004101/3.377, allocations: 1.93 MB / 1.615 GB, free: 109.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/3.377, allocations: 8.031 kB / 1.615 GB, free: 109.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005122/3.378, allocations: 213.6 kB / 1.615 GB, free: 108.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/3.381, allocations: 1.695 MB / 1.617 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/3.381, allocations: 86.08 kB / 1.617 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/3.381, allocations: 108 kB / 1.617 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/3.383, allocations: 1.053 MB / 1.618 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/3.383, allocations: 7.953 kB / 1.618 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/3.383, allocations: 45.73 kB / 1.618 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/3.383, allocations: 24 kB / 1.618 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/3.384, allocations: 0.7733 MB / 1.619 GB, free: 105 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.007395/3.391, allocations: 6.482 MB / 1.625 GB, free: 97.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/3.392, allocations: 0.5395 MB / 1.626 GB, free: 97.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/3.393, allocations: 347.2 kB / 1.626 GB, free: 97.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008964/3.394, allocations: 1.276 MB / 1.627 GB, free: 95.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/3.394, allocations: 43.12 kB / 1.627 GB, free: 95.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 3.116e-06/3.394, allocations: 0 / 1.627 GB, free: 95.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.001343/3.395, allocations: 0.7193 MB / 1.628 GB, free: 94.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/3.395, allocations: 81.67 kB / 1.628 GB, free: 94.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/3.397, allocations: 1.351 MB / 1.63 GB, free: 93.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/3.397, allocations: 41.7 kB / 1.63 GB, free: 93.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/3.397, allocations: 0.715 MB / 1.63 GB, free: 92.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/3.397, allocations: 240.5 kB / 1.631 GB, free: 92.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/3.397, allocations: 16 kB / 1.631 GB, free: 92.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.669e-05/3.398, allocations: 337.9 kB / 1.631 GB, free: 91.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/3.398, allocations: 267.5 kB / 1.631 GB, free: 91.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/3.398, allocations: 492.2 kB / 1.632 GB, free: 91.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/3.399, allocations: 346.9 kB / 1.632 GB, free: 90.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/3.399, allocations: 4 kB / 1.632 GB, free: 90.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001378/3.4, allocations: 0.969 MB / 1.633 GB, free: 89.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002697/3.401, allocations: 1.36 MB / 1.634 GB, free: 88.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/3.401, allocations: 4 kB / 1.634 GB, free: 88.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/3.401, allocations: 69.69 kB / 1.634 GB, free: 88.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/3.402, allocations: 181.7 kB / 1.634 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/3.403, allocations: 2.963 MB / 1.637 GB, free: 84.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/3.404, allocations: 156.5 kB / 1.637 GB, free: 84.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-05/3.404, allocations: 36 kB / 1.637 GB, free: 84.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/3.404, allocations: 6.938 kB / 1.638 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/3.406, allocations: 0.7948 MB / 1.638 GB, free: 83.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/3.406, allocations: 4 kB / 1.638 GB, free: 83.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/3.406, allocations: 67.97 kB / 1.638 GB, free: 83.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/3.406, allocations: 179.4 kB / 1.639 GB, free: 83.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/3.408, allocations: 2.949 MB / 1.641 GB, free: 80.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/3.409, allocations: 133.4 kB / 1.642 GB, free: 80.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/3.409, allocations: 39.98 kB / 1.642 GB, free: 80.18 MB / 0.698 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 () * 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.0001986/3.409, allocations: 148.8 kB / 1.642 GB, free: 80.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/3.409, allocations: 173.7 kB / 1.642 GB, free: 79.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/3.411, allocations: 0.9667 MB / 1.643 GB, free: 78.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/3.411, allocations: 15.94 kB / 1.643 GB, free: 78.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/3.411, allocations: 0 / 1.643 GB, free: 78.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008585/3.412, allocations: 0.7736 MB / 1.644 GB, free: 78.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/3.415, allocations: 2.638 MB / 1.646 GB, free: 75.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/3.415, allocations: 7.984 kB / 1.646 GB, free: 75.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/3.416, allocations: 127.9 kB / 1.646 GB, free: 75.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/3.416, allocations: 71.25 kB / 1.646 GB, free: 75.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/3.416, allocations: 31.94 kB / 1.646 GB, free: 75.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/3.418, allocations: 2.966 MB / 1.649 GB, free: 71.85 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/3.418, allocations: 7.984 kB / 1.649 GB, free: 71.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/3.42, allocations: 1.576 MB / 1.651 GB, free: 70.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/3.42, allocations: 370.8 kB / 1.651 GB, free: 69.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/3.42, allocations: 20 kB / 1.651 GB, free: 69.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/3.421, allocations: 50.17 kB / 1.651 GB, free: 69.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/3.421, allocations: 62.42 kB / 1.651 GB, free: 69.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/3.421, allocations: 31.98 kB / 1.651 GB, free: 69.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001297/3.423, allocations: 1.066 MB / 1.652 GB, free: 68.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/3.423, allocations: 5.875 kB / 1.652 GB, free: 68.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003514/3.426, allocations: 1.209 MB / 1.654 GB, free: 67.29 MB / 0.698 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 () * 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.002428/3.429, allocations: 1.282 MB / 1.655 GB, free: 66.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002217/3.431, allocations: 1.691 MB / 1.656 GB, free: 64.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/3.431, allocations: 0 / 1.656 GB, free: 64.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005808/3.431, allocations: 0.5843 MB / 1.657 GB, free: 63.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/3.435, allocations: 0.8072 MB / 1.658 GB, free: 62.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/3.438, allocations: 2.293 MB / 1.66 GB, free: 60.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/3.439, allocations: 1.312 MB / 1.661 GB, free: 59.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001701/3.44, allocations: 0.4941 MB / 1.662 GB, free: 58.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/3.44, allocations: 103.3 kB / 1.662 GB, free: 58.71 MB / 0.698 GB Notification: Performance of SimCode: time 9.21e-07/3.44, allocations: 0 / 1.662 GB, free: 58.71 MB / 0.698 GB Notification: Performance of Templates: time 0.06156/3.502, allocations: 43.98 MB / 1.705 GB, free: 15.41 MB / 0.698 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)