Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.144/5.144, allocations: 0.5623 GB / 0.5775 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002616/0.002615, allocations: 357 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.263/4.263, allocations: 410.7 MB / 1.113 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00183/0.00183, allocations: 188.7 kB / 1.226 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005255, allocations: 8 kB / 1.349 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7456, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.957, allocations: 413.7 MB / 1.865 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004196/1.958, allocations: 125.2 kB / 1.866 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 14.27/16.23, allocations: 2.774 GB / 4.639 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.955e-06/16.23, allocations: 3.938 kB / 4.639 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003778/16.23, allocations: 303.8 kB / 4.639 GB, free: 13.34 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 1.697/17.93, allocations: 14.23 MB / 4.653 GB, free: 119.4 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/17.93, allocations: 11.16 kB / 4.653 GB, free: 119.4 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/17.94, allocations: 1.624 MB / 4.655 GB, free: 118.6 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06474/18.01, allocations: 18.17 MB / 4.673 GB, free: 117.5 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/18.01, allocations: 0.6422 MB / 4.673 GB, free: 117.4 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004647/18.01, allocations: 0.8556 MB / 4.674 GB, free: 117.4 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04698/18.06, allocations: 12.03 MB / 4.686 GB, free: 116.5 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007295/18.06, allocations: 31.19 kB / 4.686 GB, free: 116.5 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003839/18.06, allocations: 359.3 kB / 4.686 GB, free: 116.5 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002092/18.06, allocations: 203.8 kB / 4.686 GB, free: 116.5 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03506/18.1, allocations: 10.26 MB / 4.696 GB, free: 116.4 MB / 0.9949 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.1302/18.23, allocations: 51.03 MB / 4.746 GB, free: 102 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/18.25, allocations: 5.899 MB / 4.752 GB, free: 101.9 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01133/18.26, allocations: 3.92 MB / 4.756 GB, free: 101.8 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/18.26, allocations: 2.183 MB / 4.758 GB, free: 99.5 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/18.26, allocations: 96.12 kB / 4.758 GB, free: 99.45 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=484): time 8.616e-06/18.26, allocations: 0 / 4.758 GB, free: 99.45 MB / 0.9949 GB Notification: Performance of matching and sorting (n=484): time 0.04269/18.3, allocations: 12.58 MB / 4.77 GB, free: 96.64 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/18.3, allocations: 362.1 kB / 4.771 GB, free: 96.26 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04833/18.35, allocations: 15.49 MB / 4.786 GB, free: 95.56 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.001967/18.35, allocations: 128.5 kB / 4.786 GB, free: 95.53 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01184/18.37, allocations: 6.005 MB / 4.792 GB, free: 94.03 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003803/18.37, allocations: 1.71 MB / 4.793 GB, free: 92.95 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/18.37, allocations: 133.1 kB / 4.794 GB, free: 92.95 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0007014/18.37, allocations: 0.5773 MB / 4.794 GB, free: 92.62 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01009/18.38, allocations: 3.502 MB / 4.798 GB, free: 92.61 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01333/18.4, allocations: 5.744 MB / 4.803 GB, free: 90.43 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/18.41, allocations: 4.597 MB / 4.808 GB, free: 90.33 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-05/18.41, allocations: 11.12 kB / 4.808 GB, free: 90.33 MB / 0.9949 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0374/18.45, allocations: 10.93 MB / 4.818 GB, free: 89.34 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.001055/18.45, allocations: 1.349 MB / 4.82 GB, free: 87.63 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003472/18.45, allocations: 62.19 kB / 4.82 GB, free: 87.63 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003851/18.45, allocations: 1.03 MB / 4.821 GB, free: 87.24 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/18.46, allocations: 1.453 MB / 4.822 GB, free: 87.19 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03351/18.5, allocations: 33.07 MB / 4.854 GB, free: 73.2 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0211/18.52, allocations: 1.464 MB / 4.856 GB, free: 72.7 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002076/18.52, allocations: 276.5 kB / 4.856 GB, free: 72.64 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/18.52, allocations: 4.375 kB / 4.856 GB, free: 72.64 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03156/18.55, allocations: 9.834 MB / 4.866 GB, free: 69.07 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004446/18.55, allocations: 66.47 kB / 4.866 GB, free: 69.07 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00363/18.55, allocations: 0.9941 MB / 4.867 GB, free: 68.67 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/18.57, allocations: 1.446 MB / 4.868 GB, free: 68.62 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03569/18.6, allocations: 33.35 MB / 4.901 GB, free: 54.48 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01956/18.62, allocations: 1.371 MB / 4.902 GB, free: 54.05 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/18.62, allocations: 273.8 kB / 4.902 GB, free: 54 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.0157/18.64, allocations: 5.39 MB / 4.908 GB, free: 51.82 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005161/18.64, allocations: 1.157 MB / 4.909 GB, free: 51.21 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02966/18.67, allocations: 8.575 MB / 4.917 GB, free: 47.89 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.147e-05/18.67, allocations: 47.91 kB / 4.917 GB, free: 47.89 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.586e-05/18.67, allocations: 11.91 kB / 4.917 GB, free: 47.89 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01828/18.69, allocations: 6.507 MB / 4.923 GB, free: 45.38 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08882/18.78, allocations: 43.99 MB / 4.966 GB, free: 29.68 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/18.78, allocations: 10.16 kB / 4.966 GB, free: 29.68 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009155/18.79, allocations: 1.066 MB / 4.967 GB, free: 29.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003402/18.79, allocations: 0.977 MB / 4.968 GB, free: 29.2 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/18.79, allocations: 159.3 kB / 4.969 GB, free: 29.12 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03381/18.83, allocations: 33.19 MB / 5.001 GB, free: 14.86 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-05/18.83, allocations: 15.97 kB / 5.001 GB, free: 14.86 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03259/18.86, allocations: 12.21 MB / 5.013 GB, free: 9.406 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01173/18.87, allocations: 2.87 MB / 5.016 GB, free: 7.297 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005642/18.88, allocations: 134.1 kB / 5.016 GB, free: 7.176 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01601/18.9, allocations: 0.6565 MB / 5.017 GB, free: 6.738 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001639/18.9, allocations: 358.4 kB / 5.017 GB, free: 6.508 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000845/18.9, allocations: 194.3 kB / 5.017 GB, free: 6.348 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.04559/18.94, allocations: 12.11 MB / 5.029 GB, free: 14.34 MB / 1.073 GB Notification: Performance of sort global known variables: time 8.41e-07/18.94, allocations: 3.469 kB / 5.029 GB, free: 14.34 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.03784/18.98, allocations: 6.466 MB / 5.035 GB, free: 7.984 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (429): * Single equations (assignments): 403 * 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.005381/18.99, allocations: 1.394 MB / 5.037 GB, free: 7.066 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.8471/19.83, allocations: 18.04 MB / 5.054 GB, free: 174.9 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.498e-05/19.83, allocations: 8.031 kB / 5.054 GB, free: 174.9 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01227/19.85, allocations: 5.688 MB / 5.06 GB, free: 172.7 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07252/19.92, allocations: 8.046 MB / 5.068 GB, free: 172.6 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09613/20.01, allocations: 33.32 MB / 5.1 GB, free: 162.1 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03155/20.05, allocations: 9.54 MB / 5.109 GB, free: 160.9 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.03843/20.08, allocations: 6.766 MB / 5.116 GB, free: 160.4 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006265/20.09, allocations: 0.8727 MB / 5.117 GB, free: 160.4 MB / 1.073 GB Notification: Performance of SimCode: time 1.183e-06/20.09, allocations: 7.844 kB / 5.117 GB, free: 160.4 MB / 1.073 GB Notification: Performance of Templates: time 0.6831/20.77, allocations: 271.9 MB / 5.382 GB, free: 34.5 MB / 1.073 GB