Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.66/1.66, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 180.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 0.6626 GB, free: 4.18 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008696/0.0008697, allocations: 97.67 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004138, allocations: 8 kB / 0.9088 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.7382, allocations: 120.3 MB / 1.026 GB, free: 56.1 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9138/1.652, allocations: 417.5 MB / 1.434 GB, free: 248 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.652, allocations: 115.7 kB / 1.434 GB, free: 248 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.911/11.56, allocations: 2.823 GB / 4.258 GB, free: 106.7 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.154e-06/11.56, allocations: 0 / 4.258 GB, free: 106.7 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.003522/11.57, allocations: 305.2 kB / 4.258 GB, free: 106.6 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.05461/11.62, allocations: 14.09 MB / 4.272 GB, free: 97.65 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/11.62, allocations: 8.406 kB / 4.272 GB, free: 97.65 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/11.63, allocations: 1.635 MB / 4.273 GB, free: 96.83 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05107/11.68, allocations: 18.61 MB / 4.291 GB, free: 83.52 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009617/11.68, allocations: 0.6345 MB / 4.292 GB, free: 82.88 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005093/11.69, allocations: 0.8592 MB / 4.293 GB, free: 82.02 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04017/11.73, allocations: 12.03 MB / 4.305 GB, free: 69.71 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006689/11.73, allocations: 35.19 kB / 4.305 GB, free: 69.68 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003444/11.73, allocations: 360 kB / 4.305 GB, free: 69.32 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/11.73, allocations: 211.8 kB / 4.305 GB, free: 69.12 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/11.76, allocations: 10.26 MB / 4.315 GB, free: 58.84 MB / 1.01 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.09914/11.86, allocations: 51.05 MB / 4.365 GB, free: 6.609 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009241/11.87, allocations: 5.85 MB / 4.371 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006295/11.87, allocations: 3.897 MB / 4.375 GB, free: 12.82 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002474/11.88, allocations: 2.188 MB / 4.377 GB, free: 10.19 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/11.88, allocations: 90.67 kB / 4.377 GB, free: 10.09 MB / 1.026 GB Notification: Performance of pre-optimization done (n=482): time 7.534e-06/11.88, allocations: 0 / 4.377 GB, free: 10.09 MB / 1.026 GB Notification: Performance of matching and sorting (n=482): time 1.331/13.21, allocations: 12.57 MB / 4.389 GB, free: 131.2 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/13.21, allocations: 364.4 kB / 4.389 GB, free: 130.8 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03386/13.24, allocations: 15.51 MB / 4.405 GB, free: 130.2 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001858/13.24, allocations: 128.4 kB / 4.405 GB, free: 130.2 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.008769/13.25, allocations: 6.017 MB / 4.411 GB, free: 130 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003174/13.25, allocations: 1.702 MB / 4.412 GB, free: 129.6 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007406/13.26, allocations: 127.9 kB / 4.412 GB, free: 129.6 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0005051/13.26, allocations: 0.5738 MB / 4.413 GB, free: 129.2 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006075/13.26, allocations: 3.504 MB / 4.416 GB, free: 129.2 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007551/13.27, allocations: 5.747 MB / 4.422 GB, free: 127.1 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/13.28, allocations: 8.613 MB / 4.43 GB, free: 125.5 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.327e-05/13.28, allocations: 11.5 kB / 4.43 GB, free: 125.5 MB / 1.026 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02178/13.3, allocations: 10.92 MB / 4.441 GB, free: 124.5 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009598/13.31, allocations: 1.351 MB / 4.442 GB, free: 122.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/13.31, allocations: 62.84 kB / 4.442 GB, free: 122.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/13.31, allocations: 1.017 MB / 4.443 GB, free: 122.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006355/13.31, allocations: 1.449 MB / 4.445 GB, free: 122.7 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/13.34, allocations: 33.11 MB / 4.477 GB, free: 96.08 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01634/13.35, allocations: 1.471 MB / 4.479 GB, free: 95.87 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002561/13.36, allocations: 274 kB / 4.479 GB, free: 95.87 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/13.36, allocations: 6.188 kB / 4.479 GB, free: 95.87 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02463/13.38, allocations: 9.833 MB / 4.489 GB, free: 95.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003779/13.38, allocations: 66.05 kB / 4.489 GB, free: 95.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/13.38, allocations: 0.9909 MB / 4.49 GB, free: 95.34 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006011/13.39, allocations: 1.453 MB / 4.491 GB, free: 95.34 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/13.41, allocations: 33.34 MB / 4.524 GB, free: 68.73 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01578/13.43, allocations: 1.373 MB / 4.525 GB, free: 68.55 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002316/13.43, allocations: 271.2 kB / 4.525 GB, free: 68.55 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0149/13.44, allocations: 5.397 MB / 4.53 GB, free: 68.36 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00578/13.45, allocations: 1.164 MB / 4.532 GB, free: 67.75 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01937/13.47, allocations: 8.368 MB / 4.54 GB, free: 67.29 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.494e-05/13.47, allocations: 51.33 kB / 4.54 GB, free: 67.29 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/13.47, allocations: 14.08 kB / 4.54 GB, free: 67.29 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01151/13.48, allocations: 6.499 MB / 4.546 GB, free: 66.94 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0765/13.56, allocations: 43.92 MB / 4.589 GB, free: 60.17 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/13.56, allocations: 12.36 kB / 4.589 GB, free: 60.17 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004326/13.56, allocations: 1.064 MB / 4.59 GB, free: 60.17 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/13.56, allocations: 0.9711 MB / 4.591 GB, free: 60.01 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006421/13.56, allocations: 154.6 kB / 4.591 GB, free: 60.01 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02747/13.59, allocations: 33.22 MB / 4.624 GB, free: 49.36 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-05/13.59, allocations: 16.12 kB / 4.624 GB, free: 49.36 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02368/13.61, allocations: 12.19 MB / 4.636 GB, free: 46.3 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01168/13.63, allocations: 2.861 MB / 4.638 GB, free: 44.73 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006431/13.63, allocations: 138.6 kB / 4.638 GB, free: 44.66 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01213/13.64, allocations: 0.6516 MB / 4.639 GB, free: 44.55 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001839/13.65, allocations: 359.3 kB / 4.639 GB, free: 44.49 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001164/13.65, allocations: 195.3 kB / 4.64 GB, free: 44.46 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.02751/13.68, allocations: 11.56 MB / 4.651 GB, free: 40.52 MB / 1.057 GB Notification: Performance of sort global known variables: time 7.51e-07/13.68, allocations: 0 / 4.651 GB, free: 40.52 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03667/13.71, allocations: 6.467 MB / 4.657 GB, free: 39.57 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.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 (428): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(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.005975/13.72, allocations: 1.401 MB / 4.659 GB, free: 39.28 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.03131/13.75, allocations: 18.02 MB / 4.676 GB, free: 29.78 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.878e-05/13.75, allocations: 9.312 kB / 4.676 GB, free: 29.78 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.008802/13.76, allocations: 5.692 MB / 4.682 GB, free: 26.29 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08238/13.84, allocations: 8.972 MB / 4.69 GB, free: 24.75 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07944/13.92, allocations: 33.3 MB / 4.723 GB, free: 8.961 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02225/13.94, allocations: 9.312 MB / 4.732 GB, free: 5.734 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.03268/13.98, allocations: 6.753 MB / 4.739 GB, free: 5.195 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006625/13.98, allocations: 0.9842 MB / 4.74 GB, free: 4.266 MB / 1.057 GB Notification: Performance of SimCode: time 8.82e-07/13.98, allocations: 3.391 kB / 4.74 GB, free: 4.266 MB / 1.057 GB Notification: Performance of Templates: time 1.178/15.16, allocations: 314.1 MB / 5.046 GB, free: 66.96 MB / 1.073 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)