Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 289.7 MB / 302.2 MB, free: 2.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 179.7 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008754/0.0008754, allocations: 91.95 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.17e-05, allocations: 4 kB / 0.8663 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.766/2.029, allocations: 414.7 MB / 1.385 GB, free: 250.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/2.03, allocations: 116.5 kB / 1.385 GB, free: 250.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.54/12.57, allocations: 2.788 GB / 4.173 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.106e-06/12.57, allocations: 0 / 4.173 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003471/12.57, allocations: 311.7 kB / 4.173 GB, free: 123.3 MB / 0.9948 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.0446/12.62, allocations: 10.85 MB / 4.184 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/12.62, allocations: 17.56 kB / 4.184 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/12.63, allocations: 1.623 MB / 4.185 GB, free: 117.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05416/12.69, allocations: 18.67 MB / 4.204 GB, free: 109.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009003/12.69, allocations: 0.6372 MB / 4.204 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004809/12.69, allocations: 0.8601 MB / 4.205 GB, free: 108.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03959/12.73, allocations: 11.82 MB / 4.217 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006058/12.73, allocations: 33.92 kB / 4.217 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004456/12.74, allocations: 355.7 kB / 4.217 GB, free: 99.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/12.74, allocations: 212 kB / 4.217 GB, free: 99.53 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02807/12.76, allocations: 10.08 MB / 4.227 GB, free: 89.43 MB / 0.9948 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.1138/12.88, allocations: 51.43 MB / 4.277 GB, free: 36.81 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/12.89, allocations: 5.787 MB / 4.283 GB, free: 31 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00792/12.9, allocations: 3.854 MB / 4.287 GB, free: 27.13 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002477/12.9, allocations: 2.186 MB / 4.289 GB, free: 24.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/12.9, allocations: 94.67 kB / 4.289 GB, free: 24.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=482): time 2.174e-05/12.9, allocations: 0 / 4.289 GB, free: 24.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=482): time 0.0238/12.93, allocations: 7.435 MB / 4.296 GB, free: 16.88 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/12.93, allocations: 360.2 kB / 4.297 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05115/12.98, allocations: 14.6 MB / 4.311 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002619/12.98, allocations: 129.7 kB / 4.311 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.655/14.63, allocations: 6.029 MB / 4.317 GB, free: 130.1 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.004147/14.64, allocations: 1.709 MB / 4.319 GB, free: 129.3 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/14.64, allocations: 126.8 kB / 4.319 GB, free: 129.3 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0007402/14.64, allocations: 0.58 MB / 4.319 GB, free: 128.9 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007696/14.65, allocations: 3.456 MB / 4.323 GB, free: 128.9 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/14.66, allocations: 5.679 MB / 4.328 GB, free: 126.8 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/14.67, allocations: 4.574 MB / 4.333 GB, free: 126.6 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001316/14.67, allocations: 12.58 kB / 4.333 GB, free: 126.6 MB / 0.9949 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02898/14.7, allocations: 10.84 MB / 4.343 GB, free: 125.7 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.006693/14.71, allocations: 25.33 MB / 4.368 GB, free: 99.46 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004693/14.71, allocations: 63.59 kB / 4.368 GB, free: 99.46 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/14.71, allocations: 1.02 MB / 4.369 GB, free: 99.31 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006842/14.72, allocations: 1.447 MB / 4.37 GB, free: 99.31 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/14.74, allocations: 33.04 MB / 4.403 GB, free: 72.7 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01792/14.76, allocations: 1.515 MB / 4.404 GB, free: 72.47 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002472/14.76, allocations: 274.4 kB / 4.404 GB, free: 72.47 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/14.76, allocations: 6.75 kB / 4.404 GB, free: 72.47 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02184/14.78, allocations: 9.744 MB / 4.414 GB, free: 72.11 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005248/14.78, allocations: 70.53 kB / 4.414 GB, free: 72.11 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/14.78, allocations: 0.9855 MB / 4.415 GB, free: 71.95 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007099/14.79, allocations: 1.455 MB / 4.416 GB, free: 71.95 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02711/14.82, allocations: 33.3 MB / 4.449 GB, free: 61.34 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01721/14.84, allocations: 1.405 MB / 4.45 GB, free: 61.16 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002369/14.84, allocations: 271.8 kB / 4.451 GB, free: 61.16 MB / 1.011 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 () * 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.002439/14.84, allocations: 496.1 kB / 4.451 GB, free: 61.05 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005432/14.85, allocations: 1.157 MB / 4.452 GB, free: 60.44 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02431/14.87, allocations: 8.319 MB / 4.46 GB, free: 59.97 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.609e-05/14.87, allocations: 53.53 kB / 4.46 GB, free: 59.97 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/14.87, allocations: 13.84 kB / 4.46 GB, free: 59.97 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009898/14.88, allocations: 6.424 MB / 4.467 GB, free: 59.63 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08398/14.96, allocations: 44.06 MB / 4.51 GB, free: 52.85 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-05/14.96, allocations: 9.594 kB / 4.51 GB, free: 52.85 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004852/14.97, allocations: 1.065 MB / 4.511 GB, free: 52.85 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/14.97, allocations: 0.9698 MB / 4.512 GB, free: 52.69 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/14.97, allocations: 152.7 kB / 4.512 GB, free: 52.69 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02807/15, allocations: 33.16 MB / 4.544 GB, free: 42.07 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/15, allocations: 14.72 kB / 4.544 GB, free: 42.07 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02503/15.03, allocations: 15.62 MB / 4.559 GB, free: 52.54 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01299/15.04, allocations: 2.966 MB / 4.562 GB, free: 51.8 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006296/15.04, allocations: 127.2 kB / 4.562 GB, free: 51.8 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01299/15.06, allocations: 0.6685 MB / 4.563 GB, free: 51.75 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001826/15.06, allocations: 354.2 kB / 4.563 GB, free: 51.74 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001593/15.06, allocations: 189.4 kB / 4.564 GB, free: 51.74 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.03341/15.09, allocations: 11.93 MB / 4.575 GB, free: 51.32 MB / 1.057 GB Notification: Performance of sort global known variables: time 7.41e-07/15.09, allocations: 4.344 kB / 4.575 GB, free: 51.32 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03942/15.13, allocations: 6.512 MB / 4.582 GB, free: 50.72 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 () * 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.006228/15.14, allocations: 1.414 MB / 4.583 GB, free: 50.5 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.04092/15.18, allocations: 18.29 MB / 4.601 GB, free: 42.36 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.068e-05/15.18, allocations: 7.5 kB / 4.601 GB, free: 42.36 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.009948/15.19, allocations: 5.623 MB / 4.606 GB, free: 38.89 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04571/15.24, allocations: 7.961 MB / 4.614 GB, free: 37.59 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06639/15.3, allocations: 25.94 MB / 4.639 GB, free: 27.89 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02557/15.33, allocations: 9.557 MB / 4.649 GB, free: 24.64 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.05305/15.38, allocations: 13.11 MB / 4.662 GB, free: 23.92 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004399/15.39, allocations: 0.6514 MB / 4.662 GB, free: 23.89 MB / 1.057 GB Notification: Performance of SimCode: time 1.843e-06/15.39, allocations: 0 / 4.662 GB, free: 23.89 MB / 1.057 GB Notification: Performance of Templates: time 1.373/16.76, allocations: 295 MB / 4.95 GB, free: 100.8 MB / 1.057 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)