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.002461/0.00246, allocations: 353 kB / 15.94 MB, free: 6.207 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.242/1.242, allocations: 165.8 MB / 182.5 MB, free: 5.914 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.001/4.001, allocations: 410.7 MB / 0.5995 GB, free: 2.203 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001835/0.001835, allocations: 192.8 kB / 0.6662 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004674, allocations: 11.98 kB / 0.7423 GB, free: 24 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3925, allocations: 67.43 MB / 0.8082 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.07008/0.4626, allocations: 64.64 MB / 0.8713 GB, free: 192.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02306/0.4858, allocations: 16.22 MB / 0.8871 GB, free: 176.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.4887, allocations: 59.62 kB / 0.8872 GB, free: 176.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.003734/0.4925, allocations: 1.002 MB / 0.8882 GB, free: 175.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.008001/0.5005, allocations: 2.339 MB / 0.8904 GB, free: 173.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.008982/0.5096, allocations: 2.647 MB / 0.893 GB, free: 170.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.04648/0.5561, allocations: 40.09 MB / 0.9322 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01806/0.5742, allocations: 11.43 MB / 0.9433 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01521/0.5894, allocations: 8.644 MB / 0.9518 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01475/0.6042, allocations: 9.457 MB / 0.961 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.003228/0.6075, allocations: 0.6641 MB / 0.9617 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/0.618, allocations: 2.481 MB / 0.9641 GB, free: 97.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.004597/0.6226, allocations: 2.809 MB / 0.9668 GB, free: 95.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.006451/0.6291, allocations: 3.369 MB / 0.9701 GB, free: 91.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.02884/0.658, allocations: 27.69 MB / 0.9972 GB, free: 63.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.776e-06/0.658, allocations: 0 / 0.9972 GB, free: 63.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.881e-06/0.658, allocations: 0 / 0.9972 GB, free: 63.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0006119/0.6587, allocations: 0 / 0.9972 GB, free: 63.99 MB / 0.5886 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.03269/0.6914, allocations: 13.75 MB / 1.011 GB, free: 50.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.6914, allocations: 12.03 kB / 1.011 GB, free: 50.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006603/0.6981, allocations: 1.632 MB / 1.012 GB, free: 48.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03844/0.7365, allocations: 16.83 MB / 1.029 GB, free: 31.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007239/0.7373, allocations: 0.647 MB / 1.029 GB, free: 30.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002691/0.74, allocations: 0.8786 MB / 1.03 GB, free: 30.03 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0313/0.7713, allocations: 12.79 MB / 1.043 GB, free: 16.94 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003711/0.7717, allocations: 31.72 kB / 1.043 GB, free: 16.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001903/0.7737, allocations: 356 kB / 1.043 GB, free: 16.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.7738, allocations: 204 kB / 1.043 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02714/0.801, allocations: 11.12 MB / 1.054 GB, free: 5.215 MB / 0.5886 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.7727/1.574, allocations: 52.04 MB / 1.105 GB, free: 125.7 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/1.586, allocations: 5.923 MB / 1.111 GB, free: 124.8 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008474/1.595, allocations: 3.933 MB / 1.114 GB, free: 124.1 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/1.597, allocations: 2.201 MB / 1.117 GB, free: 121.7 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/1.597, allocations: 97.41 kB / 1.117 GB, free: 121.6 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=484): time 1.123e-05/1.597, allocations: 0 / 1.117 GB, free: 121.6 MB / 0.5887 GB Notification: Performance of matching and sorting (n=484): time 0.03081/1.628, allocations: 12.63 MB / 1.129 GB, free: 115.7 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.628, allocations: 360.2 kB / 1.129 GB, free: 115.3 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03131/1.659, allocations: 14.98 MB / 1.144 GB, free: 100.5 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001199/1.661, allocations: 137.7 kB / 1.144 GB, free: 100.3 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.007929/1.668, allocations: 5.949 MB / 1.15 GB, free: 94.77 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.002352/1.671, allocations: 1.723 MB / 1.152 GB, free: 93.06 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006955/1.672, allocations: 140 kB / 1.152 GB, free: 92.92 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.000509/1.672, allocations: 0.5985 MB / 1.152 GB, free: 92.32 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00766/1.68, allocations: 3.699 MB / 1.156 GB, free: 88.62 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009818/1.69, allocations: 5.97 MB / 1.162 GB, free: 81.86 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009636/1.699, allocations: 4.835 MB / 1.167 GB, free: 77.07 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.505e-05/1.699, allocations: 12 kB / 1.167 GB, free: 77.05 MB / 0.5887 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.027/1.726, allocations: 11.45 MB / 1.178 GB, free: 65.75 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000636/1.727, allocations: 1.353 MB / 1.179 GB, free: 63.84 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002078/1.727, allocations: 64 kB / 1.179 GB, free: 63.78 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/1.73, allocations: 1.024 MB / 1.18 GB, free: 62.71 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007794/1.738, allocations: 1.57 MB / 1.182 GB, free: 61.23 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02779/1.766, allocations: 33.08 MB / 1.214 GB, free: 25.75 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/1.779, allocations: 1.5 MB / 1.215 GB, free: 24.25 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/1.781, allocations: 296.7 kB / 1.216 GB, free: 23.96 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.781, allocations: 4 kB / 1.216 GB, free: 23.96 MB / 0.5887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02288/1.804, allocations: 10.36 MB / 1.226 GB, free: 13.78 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/1.804, allocations: 68.03 kB / 1.226 GB, free: 13.71 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/1.806, allocations: 0.9888 MB / 1.227 GB, free: 12.67 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007691/1.814, allocations: 1.571 MB / 1.228 GB, free: 11.19 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03478/1.849, allocations: 33.33 MB / 1.261 GB, free: 7.461 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/1.862, allocations: 1.411 MB / 1.262 GB, free: 6.043 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/1.864, allocations: 292 kB / 1.263 GB, free: 5.758 MB / 0.6199 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.01273/1.877, allocations: 5.414 MB / 1.268 GB, free: 436 kB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003584/1.88, allocations: 1.158 MB / 1.269 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02317/1.903, allocations: 8.591 MB / 1.277 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.528e-05/1.903, allocations: 50.61 kB / 1.277 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-05/1.904, allocations: 12 kB / 1.277 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01609/1.92, allocations: 6.534 MB / 1.284 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4387/2.358, allocations: 43.09 MB / 1.326 GB, free: 215.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-05/2.358, allocations: 10 kB / 1.326 GB, free: 215.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00673/2.365, allocations: 1.063 MB / 1.327 GB, free: 215.4 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002935/2.368, allocations: 0.9763 MB / 1.328 GB, free: 215.1 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009848/2.369, allocations: 156.8 kB / 1.328 GB, free: 215 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0287/2.398, allocations: 33.19 MB / 1.36 GB, free: 185.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.821e-05/2.398, allocations: 18.05 kB / 1.361 GB, free: 185.2 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02798/2.426, allocations: 12.22 MB / 1.372 GB, free: 180.2 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009214/2.435, allocations: 2.734 MB / 1.375 GB, free: 178.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004173/2.439, allocations: 134.1 kB / 1.375 GB, free: 178.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01048/2.45, allocations: 0.5959 MB / 1.376 GB, free: 178.5 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/2.451, allocations: 353.6 kB / 1.376 GB, free: 178.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001046/2.452, allocations: 196.3 kB / 1.376 GB, free: 178.4 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.02689/2.479, allocations: 11.16 MB / 1.387 GB, free: 172.7 MB / 0.6512 GB Notification: Performance of sort global known variables: time 1.507e-06/2.479, allocations: 3.938 kB / 1.387 GB, free: 172.7 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.02779/2.507, allocations: 6.214 MB / 1.393 GB, free: 167.1 MB / 0.6512 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.00302/2.51, allocations: 0.9649 MB / 1.394 GB, free: 166.4 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.03358/2.544, allocations: 18.69 MB / 1.413 GB, free: 147.1 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 2.151e-05/2.544, allocations: 5.438 kB / 1.413 GB, free: 147.1 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.009722/2.554, allocations: 5.7 MB / 1.418 GB, free: 141.2 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04455/2.598, allocations: 7.801 MB / 1.426 GB, free: 134.2 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06434/2.663, allocations: 33.47 MB / 1.458 GB, free: 100.7 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01654/2.679, allocations: 9.538 MB / 1.468 GB, free: 91.1 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.02692/2.706, allocations: 6.925 MB / 1.474 GB, free: 84.3 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003878/2.71, allocations: 0.8391 MB / 1.475 GB, free: 83.46 MB / 0.6512 GB Notification: Performance of SimCode: time 2.463e-06/2.71, allocations: 0 / 1.475 GB, free: 83.46 MB / 0.6512 GB Notification: Performance of Templates: time 1.002/3.712, allocations: 262 MB / 1.731 GB, free: 48.49 MB / 0.6512 GB