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 4.641/4.641, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002374/0.002373, allocations: 354 kB / 0.644 GB, free: 185.7 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 3.877/3.877, allocations: 410.7 MB / 1.112 GB, free: 5.938 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.001816/0.001816, allocations: 194.7 kB / 1.225 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004863, allocations: 12 kB / 1.348 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5701/0.5706, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.06044/0.6311, allocations: 64.65 MB / 1.524 GB, free: 219.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02219/0.6533, allocations: 16.22 MB / 1.54 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.6559, allocations: 59.62 kB / 1.54 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003366/0.6594, allocations: 1.006 MB / 1.541 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007213/0.6666, allocations: 2.342 MB / 1.543 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00856/0.6752, allocations: 2.664 MB / 1.546 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04303/0.7182, allocations: 40.05 MB / 1.585 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01697/0.7352, allocations: 11.44 MB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01408/0.7494, allocations: 8.644 MB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01387/0.7633, allocations: 9.456 MB / 1.614 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002622/0.7659, allocations: 0.668 MB / 1.614 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009635/0.7756, allocations: 2.469 MB / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.004204/0.7798, allocations: 2.805 MB / 1.619 GB, free: 122 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.005937/0.7858, allocations: 3.373 MB / 1.623 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.02641/0.8123, allocations: 27.68 MB / 1.65 GB, free: 90.82 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.725e-06/0.8123, allocations: 0 / 1.65 GB, free: 90.82 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.626e-06/0.8123, allocations: 0 / 1.65 GB, free: 90.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005304/0.8129, allocations: 0 / 1.65 GB, free: 90.82 MB / 0.8542 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.03055/0.8434, allocations: 13.75 MB / 1.663 GB, free: 76.94 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.8435, allocations: 8.031 kB / 1.663 GB, free: 76.93 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006423/0.8499, allocations: 1.626 MB / 1.665 GB, free: 75.29 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03656/0.8865, allocations: 16.84 MB / 1.681 GB, free: 58.37 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006397/0.8872, allocations: 0.6414 MB / 1.682 GB, free: 57.72 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002515/0.8897, allocations: 0.8786 MB / 1.683 GB, free: 56.84 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02937/0.9191, allocations: 12.8 MB / 1.695 GB, free: 43.75 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003034/0.9195, allocations: 27.83 kB / 1.695 GB, free: 43.72 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001446/0.9209, allocations: 352 kB / 1.696 GB, free: 43.38 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.9211, allocations: 208 kB / 1.696 GB, free: 43.17 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0261/0.9472, allocations: 11.12 MB / 1.707 GB, free: 32.03 MB / 0.8542 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 1.171/2.118, allocations: 52.04 MB / 1.757 GB, free: 213.4 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/2.131, allocations: 5.928 MB / 1.763 GB, free: 211.2 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007659/2.139, allocations: 3.934 MB / 1.767 GB, free: 209.8 MB / 0.8543 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/2.141, allocations: 2.201 MB / 1.769 GB, free: 207.4 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.205e-05/2.141, allocations: 94.67 kB / 1.769 GB, free: 207.3 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=484): time 1.06e-05/2.141, allocations: 0.5938 kB / 1.769 GB, free: 207.3 MB / 0.8543 GB Notification: Performance of matching and sorting (n=484): time 0.02851/2.17, allocations: 12.63 MB / 1.782 GB, free: 200.7 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/2.17, allocations: 366 kB / 1.782 GB, free: 200.3 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03143/2.201, allocations: 14.98 MB / 1.797 GB, free: 191.2 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/2.203, allocations: 133.7 kB / 1.797 GB, free: 191.1 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.007427/2.21, allocations: 5.951 MB / 1.803 GB, free: 185.5 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.002235/2.212, allocations: 1.724 MB / 1.804 GB, free: 183.9 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006318/2.213, allocations: 142.2 kB / 1.804 GB, free: 183.8 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0004697/2.213, allocations: 0.5959 MB / 1.805 GB, free: 183.2 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007206/2.221, allocations: 3.699 MB / 1.809 GB, free: 179.5 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009326/2.23, allocations: 5.975 MB / 1.814 GB, free: 172.7 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009114/2.239, allocations: 4.835 MB / 1.819 GB, free: 167.9 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.453e-05/2.239, allocations: 13.06 kB / 1.819 GB, free: 167.9 MB / 0.8543 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.02506/2.264, allocations: 11.44 MB / 1.83 GB, free: 156.4 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005917/2.265, allocations: 1.349 MB / 1.832 GB, free: 154.5 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002012/2.265, allocations: 67.12 kB / 1.832 GB, free: 154.5 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/2.268, allocations: 1.025 MB / 1.833 GB, free: 153.4 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007792/2.276, allocations: 1.571 MB / 1.834 GB, free: 151.8 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02665/2.303, allocations: 33.08 MB / 1.867 GB, free: 116.2 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01432/2.317, allocations: 1.507 MB / 1.868 GB, free: 114.7 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/2.318, allocations: 288 kB / 1.868 GB, free: 114.4 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/2.318, allocations: 7.953 kB / 1.868 GB, free: 114.4 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02172/2.34, allocations: 10.35 MB / 1.878 GB, free: 103.9 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002258/2.34, allocations: 73.72 kB / 1.878 GB, free: 103.9 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/2.343, allocations: 0.9957 MB / 1.879 GB, free: 102.8 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007722/2.351, allocations: 1.572 MB / 1.881 GB, free: 101.2 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02666/2.377, allocations: 33.35 MB / 1.914 GB, free: 65.27 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/2.39, allocations: 1.403 MB / 1.915 GB, free: 63.86 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/2.392, allocations: 292 kB / 1.915 GB, free: 63.58 MB / 0.8543 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 (837): * Single equations (assignments): 807 * 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.01047/2.402, allocations: 5.407 MB / 1.92 GB, free: 58.16 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003206/2.406, allocations: 1.159 MB / 1.922 GB, free: 56.98 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/2.425, allocations: 8.599 MB / 1.93 GB, free: 48.35 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.076e-05/2.425, allocations: 52 kB / 1.93 GB, free: 48.3 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/2.425, allocations: 12 kB / 1.93 GB, free: 48.29 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01303/2.438, allocations: 6.527 MB / 1.936 GB, free: 41.68 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06674/2.505, allocations: 43.11 MB / 1.979 GB, free: 10.18 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/2.505, allocations: 8 kB / 1.979 GB, free: 10.17 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007145/2.512, allocations: 1.068 MB / 1.98 GB, free: 9.105 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003234/2.515, allocations: 0.9719 MB / 1.981 GB, free: 8.074 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009223/2.516, allocations: 151.9 kB / 1.981 GB, free: 7.926 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03883/2.555, allocations: 33.19 MB / 2.013 GB, free: 4.102 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.102e-05/2.555, allocations: 19.89 kB / 2.013 GB, free: 4.082 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02827/2.583, allocations: 12.22 MB / 2.025 GB, free: 7.598 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009185/2.593, allocations: 2.73 MB / 2.028 GB, free: 4.832 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003447/2.596, allocations: 136 kB / 2.028 GB, free: 4.699 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009942/2.606, allocations: 0.5961 MB / 2.028 GB, free: 4.102 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001371/2.607, allocations: 354.7 kB / 2.029 GB, free: 3.754 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006889/2.608, allocations: 191.9 kB / 2.029 GB, free: 3.566 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.02735/2.636, allocations: 11.17 MB / 2.04 GB, free: 8.441 MB / 0.9324 GB Notification: Performance of sort global known variables: time 1.413e-06/2.636, allocations: 4 kB / 2.04 GB, free: 8.438 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.02753/2.663, allocations: 6.205 MB / 2.046 GB, free: 2.285 MB / 0.9324 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.003142/2.666, allocations: 0.9618 MB / 2.047 GB, free: 1.461 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0383/2.705, allocations: 18.69 MB / 2.065 GB, free: 14.16 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-05/2.705, allocations: 10.38 kB / 2.065 GB, free: 14.15 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01128/2.716, allocations: 5.703 MB / 2.071 GB, free: 8.199 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04601/2.762, allocations: 7.812 MB / 2.078 GB, free: 0.6445 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6359/3.398, allocations: 33.44 MB / 2.111 GB, free: 320.5 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01704/3.415, allocations: 9.542 MB / 2.12 GB, free: 319.4 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.02765/3.443, allocations: 6.903 MB / 2.127 GB, free: 319.3 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003957/3.447, allocations: 0.8335 MB / 2.128 GB, free: 319.3 MB / 0.9949 GB Notification: Performance of SimCode: time 3.06e-06/3.447, allocations: 0 / 2.128 GB, free: 319.3 MB / 0.9949 GB Notification: Performance of Templates: time 0.5405/3.987, allocations: 262 MB / 2.384 GB, free: 90.74 MB / 0.9949 GB