Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.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.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.418/2.418, allocations: 287.9 MB / 302.9 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001461/0.001461, allocations: 186.6 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.6301 GB, free: 10.35 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001017, allocations: 96.42 kB / 0.7434 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004619, allocations: 15 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1536, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.0468/0.2005, allocations: 41.1 MB / 1.019 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02242/0.2229, allocations: 12.02 MB / 1.031 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.2251, allocations: 55.62 kB / 1.031 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002644/0.2278, allocations: 0.7657 MB / 1.031 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007883/0.2357, allocations: 2.218 MB / 1.034 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006382/0.2421, allocations: 1.63 MB / 1.035 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006006/0.2481, allocations: 2.862 MB / 1.038 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.2507, allocations: 1.236 MB / 1.039 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003243/0.2539, allocations: 1.316 MB / 1.04 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.2559, allocations: 0.9922 MB / 1.041 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000359/0.2563, allocations: 88 kB / 1.042 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003881/0.2602, allocations: 1.268 MB / 1.043 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007297/0.261, allocations: 434.5 kB / 1.043 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007966/0.2618, allocations: 432.8 kB / 1.044 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005308/0.2671, allocations: 3.167 MB / 1.047 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.075e-06/0.2672, allocations: 0 / 1.047 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.564e-06/0.2672, allocations: 0 / 1.047 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.726e-05/0.2672, allocations: 0 / 1.047 GB, free: 6.422 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.006155/0.2734, allocations: 2.172 MB / 1.049 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2734, allocations: 8.031 kB / 1.049 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000795/0.2742, allocations: 217.6 kB / 1.049 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004273/0.2785, allocations: 1.653 MB / 1.051 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.2787, allocations: 102.2 kB / 1.051 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.279, allocations: 136 kB / 1.051 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.282, allocations: 1.216 MB / 1.052 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/0.2821, allocations: 7.906 kB / 1.052 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.2822, allocations: 47.98 kB / 1.052 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.2823, allocations: 31.94 kB / 1.052 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.2847, allocations: 0.9374 MB / 1.053 GB, free: 15.71 MB / 0.6823 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.01536/0.3001, allocations: 7.253 MB / 1.06 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.3036, allocations: 1.096 MB / 1.061 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000834/0.3045, allocations: 0.598 MB / 1.062 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.3055, allocations: 440.2 kB / 1.062 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 4.137e-06/0.3055, allocations: 4 kB / 1.062 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.008024/0.3136, allocations: 2.937 MB / 1.065 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.3137, allocations: 68.06 kB / 1.065 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/0.3163, allocations: 1.412 MB / 1.067 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.3166, allocations: 53.7 kB / 1.067 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008932/0.3175, allocations: 0.6769 MB / 1.067 GB, free: 436 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000456/0.318, allocations: 299.8 kB / 1.068 GB, free: 132 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3181, allocations: 24 kB / 1.068 GB, free: 108 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.5065/0.8246, allocations: 361.9 kB / 1.068 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.8265, allocations: 0.567 MB / 1.068 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.8283, allocations: 0.8742 MB / 1.069 GB, free: 87.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.8301, allocations: 0.6987 MB / 1.07 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.8301, allocations: 1.031 kB / 1.07 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004529/0.8347, allocations: 1.815 MB / 1.072 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004827/0.8352, allocations: 2.308 MB / 1.074 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.759e-05/0.8352, allocations: 7.172 kB / 1.074 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.8363, allocations: 250.2 kB / 1.074 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.8383, allocations: 294.4 kB / 1.075 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.8402, allocations: 1.589 MB / 1.076 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/0.8438, allocations: 171.4 kB / 1.076 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/0.8441, allocations: 56.91 kB / 1.076 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8441, allocations: 4.219 kB / 1.076 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004193/0.8483, allocations: 1.671 MB / 1.078 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.81e-05/0.8484, allocations: 8.156 kB / 1.078 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009171/0.8493, allocations: 254.3 kB / 1.078 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.8512, allocations: 271.7 kB / 1.078 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.8526, allocations: 1.004 MB / 1.079 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/0.8561, allocations: 171.8 kB / 1.08 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000296/0.8565, allocations: 57.36 kB / 1.08 GB, free: 80.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.seg.TBouCon.iSam,seg.TBouCon.iSam,$PRE.seg.TBouCon.UOld,seg.TBouCon.UOld,$PRE.seg.TBouCon.QAve_flow,seg.TBouCon.QAve_flow,$whenCondition1,$PRE.seg.TBouCon.port.T,seg.TBouCon.port.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 26} Notification: Performance of prepare postOptimizeDAE: time 0.001191/0.8577, allocations: 0.4969 MB / 1.08 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003983/0.8581, allocations: 147.6 kB / 1.08 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.8608, allocations: 1.071 MB / 1.081 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.8608, allocations: 10.67 kB / 1.081 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.8608, allocations: 3.328 kB / 1.081 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001999/0.8628, allocations: 0.9499 MB / 1.082 GB, free: 79.32 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.006109/0.869, allocations: 2.857 MB / 1.085 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.869, allocations: 3.172 kB / 1.085 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.8701, allocations: 143.2 kB / 1.085 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/0.8706, allocations: 122.3 kB / 1.085 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.8707, allocations: 26.83 kB / 1.085 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004339/0.8751, allocations: 5.3 MB / 1.091 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.8751, allocations: 1.375 kB / 1.091 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.8785, allocations: 1.659 MB / 1.092 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009997/0.8795, allocations: 375.6 kB / 1.092 GB, free: 71.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/0.8799, allocations: 26.67 kB / 1.093 GB, free: 71.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/0.8819, allocations: 101.3 kB / 1.093 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.8821, allocations: 60.2 kB / 1.093 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.8822, allocations: 30.39 kB / 1.093 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001934/0.8842, allocations: 0.9442 MB / 1.094 GB, free: 71.26 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.369e-06/0.8842, allocations: 2.562 kB / 1.094 GB, free: 71.26 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004763/0.889, allocations: 1.088 MB / 1.095 GB, free: 71.19 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (seg.pipFil.vol1.dynBal.U,seg.pipFil.vol2.dynBal.U,seg.pipFil.capFil1.T,seg.pipFil.capFil2.T,seg.soi.T[1],seg.soi.T[2],seg.soi.T[3],seg.soi.T[4],seg.soi.T[5],seg.soi.T[6],seg.soi.T[7],seg.soi.T[8],seg.soi.T[9],seg.TBouCon.U) * Number of discrete variables: 5 ($whenCondition1,seg.TBouCon.QAve_flow,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.iSam) * Number of discrete states: 2 (seg.TBouCon.iSam,seg.TBouCon.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001457/0.8905, allocations: 0.5436 MB / 1.095 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005937/0.8965, allocations: 2.177 MB / 1.097 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.948e-06/0.8965, allocations: 0 / 1.097 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.8981, allocations: 0.7958 MB / 1.098 GB, free: 69.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/0.9027, allocations: 0.7558 MB / 1.099 GB, free: 69.56 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007777/0.9105, allocations: 4.074 MB / 1.103 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.9118, allocations: 1.309 MB / 1.104 GB, free: 66.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002743/0.9146, allocations: 460.3 kB / 1.105 GB, free: 66.22 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/0.9152, allocations: 121.4 kB / 1.105 GB, free: 66.21 MB / 0.6823 GB Notification: Performance of SimCode: time 1.762e-06/0.9152, allocations: 0 / 1.105 GB, free: 66.21 MB / 0.6823 GB Notification: Performance of Templates: time 0.07707/0.9923, allocations: 37.25 MB / 1.141 GB, free: 41.63 MB / 0.6823 GB