Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002574/0.002578, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.444/1.444, allocations: 165.8 MB / 183.1 MB, free: 5.41 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.667/3.667, allocations: 410.8 MB / 0.6001 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001786, allocations: 188.7 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004741, allocations: 12 kB / 0.7429 GB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4044, allocations: 67.44 MB / 0.8088 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.695, allocations: 374.2 MB / 1.174 GB, free: 158.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/1.696, allocations: 129.6 kB / 1.174 GB, free: 158.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 14.75/16.45, allocations: 2.773 GB / 3.948 GB, free: 51.82 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.225e-06/16.45, allocations: 0 / 3.948 GB, free: 51.82 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.003363/16.45, allocations: 313.5 kB / 3.948 GB, free: 51.78 MB / 0.6199 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.06107/16.51, allocations: 14.24 MB / 3.962 GB, free: 46.32 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/16.51, allocations: 13.72 kB / 3.962 GB, free: 46.32 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/16.52, allocations: 1.625 MB / 3.964 GB, free: 45.53 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06257/16.59, allocations: 18.17 MB / 3.981 GB, free: 43.68 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001073/16.59, allocations: 0.6416 MB / 3.982 GB, free: 43.66 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004362/16.59, allocations: 0.8577 MB / 3.983 GB, free: 43.65 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0421/16.64, allocations: 12.02 MB / 3.994 GB, free: 42.68 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006121/16.64, allocations: 32.19 kB / 3.994 GB, free: 42.67 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003464/16.64, allocations: 362.7 kB / 3.995 GB, free: 42.67 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/16.64, allocations: 203.6 kB / 3.995 GB, free: 42.67 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0327/16.67, allocations: 10.26 MB / 4.005 GB, free: 42.59 MB / 0.6199 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.1272/16.8, allocations: 51.04 MB / 4.055 GB, free: 37.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/16.82, allocations: 5.903 MB / 4.061 GB, free: 35.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01213/16.83, allocations: 3.917 MB / 4.064 GB, free: 33.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003682/16.83, allocations: 2.181 MB / 4.067 GB, free: 31.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/16.83, allocations: 94.72 kB / 4.067 GB, free: 31.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=484): time 1.428e-05/16.83, allocations: 3.281 kB / 4.067 GB, free: 31.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=484): time 0.06039/16.9, allocations: 12.59 MB / 4.079 GB, free: 25.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002487/16.9, allocations: 370.1 kB / 4.079 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04645/16.94, allocations: 15.49 MB / 4.094 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.002019/16.94, allocations: 129.7 kB / 4.095 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.01248/16.96, allocations: 6.01 MB / 4.1 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.003985/16.96, allocations: 1.71 MB / 4.102 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/16.96, allocations: 128 kB / 4.102 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0008671/16.96, allocations: 0.5705 MB / 4.103 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/16.97, allocations: 3.504 MB / 4.106 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5435/17.52, allocations: 5.746 MB / 4.112 GB, free: 61.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/17.53, allocations: 4.601 MB / 4.116 GB, free: 61.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.096e-05/17.53, allocations: 11.62 kB / 4.116 GB, free: 61.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0354/17.57, allocations: 10.92 MB / 4.127 GB, free: 60.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008745/17.57, allocations: 1.35 MB / 4.128 GB, free: 59.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003148/17.57, allocations: 65.84 kB / 4.128 GB, free: 59.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00364/17.57, allocations: 1.019 MB / 4.129 GB, free: 58.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01068/17.58, allocations: 1.451 MB / 4.131 GB, free: 58.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03191/17.61, allocations: 33.09 MB / 4.163 GB, free: 48.54 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01973/17.63, allocations: 1.464 MB / 4.165 GB, free: 48.54 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/17.64, allocations: 274 kB / 4.165 GB, free: 48.54 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/17.64, allocations: 6.656 kB / 4.165 GB, free: 48.54 MB / 0.6512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02833/17.67, allocations: 9.829 MB / 4.174 GB, free: 48.18 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000332/17.67, allocations: 66.89 kB / 4.174 GB, free: 48.18 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003085/17.67, allocations: 1.001 MB / 4.175 GB, free: 48.02 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/17.68, allocations: 1.443 MB / 4.177 GB, free: 48.02 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03661/17.72, allocations: 33.34 MB / 4.209 GB, free: 37.51 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01883/17.73, allocations: 1.373 MB / 4.211 GB, free: 37.34 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002023/17.74, allocations: 277.3 kB / 4.211 GB, free: 37.34 MB / 0.6668 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.0147/17.75, allocations: 5.392 MB / 4.216 GB, free: 37.15 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004805/17.76, allocations: 1.164 MB / 4.217 GB, free: 36.54 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02677/17.78, allocations: 8.564 MB / 4.226 GB, free: 36.05 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.311e-05/17.78, allocations: 52.75 kB / 4.226 GB, free: 36.05 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.879e-05/17.78, allocations: 11.84 kB / 4.226 GB, free: 36.05 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01839/17.8, allocations: 6.506 MB / 4.232 GB, free: 35.71 MB / 0.6668 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09352/17.9, allocations: 43.99 MB / 4.275 GB, free: 28.84 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-05/17.9, allocations: 11 kB / 4.275 GB, free: 28.84 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008942/17.9, allocations: 1.07 MB / 4.276 GB, free: 28.8 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/17.91, allocations: 0.9738 MB / 4.277 GB, free: 28.63 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00124/17.91, allocations: 159.9 kB / 4.277 GB, free: 28.63 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03712/17.95, allocations: 33.19 MB / 4.31 GB, free: 33.86 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/17.95, allocations: 17.69 kB / 4.31 GB, free: 33.85 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0317/17.98, allocations: 12.21 MB / 4.322 GB, free: 32.09 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01123/17.99, allocations: 2.866 MB / 4.324 GB, free: 30.58 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005367/17.99, allocations: 139.6 kB / 4.325 GB, free: 30.5 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01537/18.01, allocations: 0.6561 MB / 4.325 GB, free: 30.4 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001619/18.01, allocations: 356.8 kB / 4.326 GB, free: 30.34 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008455/18.01, allocations: 195 kB / 4.326 GB, free: 30.3 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.0321/18.04, allocations: 11.55 MB / 4.337 GB, free: 26.37 MB / 0.7137 GB Notification: Performance of sort global known variables: time 4.41e-07/18.04, allocations: 0 / 4.337 GB, free: 26.37 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.03496/18.08, allocations: 6.469 MB / 4.343 GB, free: 25.72 MB / 0.7137 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.005141/18.09, allocations: 1.408 MB / 4.345 GB, free: 25.42 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.04127/18.13, allocations: 18.03 MB / 4.362 GB, free: 15.78 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 2.03e-05/18.13, allocations: 5.281 kB / 4.362 GB, free: 15.78 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.012/18.14, allocations: 5.697 MB / 4.368 GB, free: 12.29 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06934/18.21, allocations: 8.041 MB / 4.376 GB, free: 9.352 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.639/18.85, allocations: 33.31 MB / 4.408 GB, free: 112.4 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0222/18.87, allocations: 9.542 MB / 4.418 GB, free: 111.4 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.03573/18.9, allocations: 6.764 MB / 4.424 GB, free: 111.3 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005848/18.91, allocations: 0.8726 MB / 4.425 GB, free: 111.3 MB / 0.7137 GB Notification: Performance of SimCode: time 1.753e-06/18.91, allocations: 0 / 4.425 GB, free: 111.3 MB / 0.7137 GB Notification: Performance of Templates: time 1.229/20.14, allocations: 271.9 MB / 4.691 GB, free: 115.6 MB / 0.7137 GB