Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8047/0.8047, 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.001039/0.001039, allocations: 185.7 kB / 187.3 MB, free: 11.88 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.453/1.453, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0009741/0.0009741, allocations: 103.5 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.001761/0.001761, allocations: 281.6 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.666e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4635, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.871/1.335, allocations: 401.8 MB / 1.157 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004067/1.335, allocations: 125.8 kB / 1.157 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.314/5.649, allocations: 1.041 GB / 2.197 GB, free: 48.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.214e-06/5.649, allocations: 0 / 2.197 GB, free: 48.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003424/5.649, allocations: 77.94 kB / 2.197 GB, free: 48.57 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: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.00988/5.659, allocations: 3.051 MB / 2.2 GB, free: 45.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/5.659, allocations: 12.03 kB / 2.2 GB, free: 45.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/5.661, allocations: 375.8 kB / 2.201 GB, free: 45.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007226/5.669, allocations: 2.9 MB / 2.204 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/5.669, allocations: 160.1 kB / 2.204 GB, free: 41.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/5.669, allocations: 216 kB / 2.204 GB, free: 41.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004075/5.673, allocations: 2.081 MB / 2.206 GB, free: 39.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/5.673, allocations: 7.906 kB / 2.206 GB, free: 39.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/5.674, allocations: 84 kB / 2.206 GB, free: 39.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/5.674, allocations: 52 kB / 2.206 GB, free: 39.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/5.676, allocations: 1.566 MB / 2.208 GB, free: 37.82 MB / 0.7136 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.01344/5.69, allocations: 8.854 MB / 2.216 GB, free: 28.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/5.691, allocations: 1.337 MB / 2.218 GB, free: 27.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009875/5.692, allocations: 0.8473 MB / 2.219 GB, free: 26.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/5.694, allocations: 2.918 MB / 2.221 GB, free: 22.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/5.694, allocations: 52.12 kB / 2.221 GB, free: 22.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=148): time 3.166e-06/5.694, allocations: 0 / 2.221 GB, free: 22.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=148): time 0.003745/5.698, allocations: 1.565 MB / 2.223 GB, free: 21.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/5.698, allocations: 94.42 kB / 2.223 GB, free: 21.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003807/5.702, allocations: 1.987 MB / 2.225 GB, free: 19.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000401/5.703, allocations: 61.69 kB / 2.225 GB, free: 19.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008781/5.703, allocations: 1.201 MB / 2.226 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005261/5.704, allocations: 0.5121 MB / 2.227 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/5.704, allocations: 32 kB / 2.227 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001151/5.704, allocations: 377.8 kB / 2.227 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008314/5.705, allocations: 0.5116 MB / 2.228 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009521/5.706, allocations: 0.8909 MB / 2.228 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008919/5.707, allocations: 0.6644 MB / 2.229 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/5.707, allocations: 4 kB / 2.229 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003821/5.711, allocations: 1.948 MB / 2.231 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009/5.712, allocations: 2.732 MB / 2.234 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/5.712, allocations: 12 kB / 2.234 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/5.712, allocations: 228.2 kB / 2.234 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/5.714, allocations: 347.5 kB / 2.234 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00457/5.718, allocations: 7.041 MB / 2.241 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/5.722, allocations: 282.1 kB / 2.241 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/5.723, allocations: 71.98 kB / 2.241 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/5.723, allocations: 4 kB / 2.241 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003298/5.726, allocations: 1.676 MB / 2.243 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/5.726, allocations: 12 kB / 2.243 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005483/5.727, allocations: 209.5 kB / 2.243 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/5.728, allocations: 347.5 kB / 2.244 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/5.735, allocations: 8.972 MB / 2.252 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/5.739, allocations: 270.2 kB / 2.253 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003372/5.739, allocations: 67.98 kB / 2.253 GB, free: 4.836 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005717/5.74, allocations: 199.9 kB / 2.253 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/5.741, allocations: 260.8 kB / 2.253 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/5.745, allocations: 2.017 MB / 2.255 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/5.745, allocations: 16 kB / 2.255 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/5.745, allocations: 0 / 2.255 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002372/5.748, allocations: 1.654 MB / 2.257 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009159/5.757, allocations: 4.497 MB / 2.261 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/5.757, allocations: 6.938 kB / 2.261 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/5.758, allocations: 267.7 kB / 2.261 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005396/5.759, allocations: 213.1 kB / 2.262 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/5.759, allocations: 43.98 kB / 2.262 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/5.764, allocations: 7.042 MB / 2.269 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/5.764, allocations: 4 kB / 2.269 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005221/5.769, allocations: 2.741 MB / 2.271 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/5.771, allocations: 0.5715 MB / 2.272 GB, free: 456 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004461/5.772, allocations: 28 kB / 2.272 GB, free: 428 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/5.773, allocations: 155.6 kB / 2.272 GB, free: 272 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/5.773, allocations: 105.1 kB / 2.272 GB, free: 164 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/5.773, allocations: 59.97 kB / 2.272 GB, free: 104 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.6483/6.422, allocations: 1.523 MB / 2.274 GB, free: 84.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.282e-06/6.422, allocations: 0 / 2.274 GB, free: 84.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01117/6.433, allocations: 1.986 MB / 2.276 GB, free: 84.59 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004874/6.438, allocations: 1.759 MB / 2.277 GB, free: 84.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006698/6.445, allocations: 3.633 MB / 2.281 GB, free: 83.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/6.445, allocations: 0 / 2.281 GB, free: 83.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/6.447, allocations: 1.23 MB / 2.282 GB, free: 82.72 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008201/6.455, allocations: 1.348 MB / 2.283 GB, free: 82.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/6.463, allocations: 4.099 MB / 2.287 GB, free: 81.69 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/6.464, allocations: 1.8 MB / 2.289 GB, free: 80.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003841/6.468, allocations: 0.7851 MB / 2.29 GB, free: 80.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/6.468, allocations: 164.8 kB / 2.29 GB, free: 80.93 MB / 0.7448 GB Notification: Performance of SimCode: time 2.194e-06/6.468, allocations: 2.125 kB / 2.29 GB, free: 80.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.1133/6.582, allocations: 70.41 MB / 2.359 GB, free: 76.99 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)