Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.275/2.275, allocations: 253.2 MB / 260.6 MB, free: 7.402 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 178.8 kB / 319.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.6 MB / 0.5708 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 92.94 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.728e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2051, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.953/2.158, allocations: 422.3 MB / 1.301 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003926/2.159, allocations: 107.6 kB / 1.301 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.728/4.887, allocations: 0.6274 GB / 1.929 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.063e-06/4.887, allocations: 0 / 1.929 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002434/4.887, allocations: 39.98 kB / 1.929 GB, free: 1.004 MB / 0.8698 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.7121/5.6, allocations: 2.016 MB / 1.931 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/5.6, allocations: 9.25 kB / 1.931 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/5.601, allocations: 209.6 kB / 1.931 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008047/5.609, allocations: 2.052 MB / 1.933 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/5.609, allocations: 35.33 kB / 1.933 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000484/5.61, allocations: 88.52 kB / 1.933 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002593/5.612, allocations: 0.8346 MB / 1.934 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/5.615, allocations: 1.022 MB / 1.935 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/5.616, allocations: 4.406 kB / 1.935 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/5.616, allocations: 2.344 kB / 1.935 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.468e-05/5.616, allocations: 33.08 kB / 1.935 GB, free: 145.6 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.02141/5.637, allocations: 6.713 MB / 1.941 GB, free: 143 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004923/5.642, allocations: 1.041 MB / 1.942 GB, free: 143 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/5.644, allocations: 428.1 kB / 1.943 GB, free: 143 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007928/5.644, allocations: 0.6047 MB / 1.943 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/5.646, allocations: 402.1 kB / 1.944 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 4.248e-06/5.646, allocations: 2.734 kB / 1.944 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82): time 0.01003/5.656, allocations: 2.235 MB / 1.946 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/5.656, allocations: 66.22 kB / 1.946 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/5.659, allocations: 1.055 MB / 1.947 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004973/5.659, allocations: 34.03 kB / 1.947 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/5.66, allocations: 0.6774 MB / 1.948 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006054/5.661, allocations: 287.1 kB / 1.948 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/5.661, allocations: 0 / 1.948 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000147/5.661, allocations: 356.9 kB / 1.948 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/5.662, allocations: 0.5216 MB / 1.949 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/5.664, allocations: 0.8216 MB / 1.95 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/5.667, allocations: 0.6925 MB / 1.95 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/5.667, allocations: 2.156 kB / 1.95 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.006357/5.673, allocations: 1.671 MB / 1.952 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000556/5.674, allocations: 2.29 MB / 1.954 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.454e-05/5.674, allocations: 7.5 kB / 1.954 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/5.675, allocations: 223.8 kB / 1.954 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/5.678, allocations: 270.3 kB / 1.955 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/5.68, allocations: 1.618 MB / 1.956 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004961/5.685, allocations: 124.5 kB / 1.956 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004514/5.686, allocations: 55.83 kB / 1.956 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/5.686, allocations: 10.06 kB / 1.956 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005121/5.691, allocations: 1.496 MB / 1.958 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.832e-05/5.691, allocations: 10.25 kB / 1.958 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009708/5.692, allocations: 216.2 kB / 1.958 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/5.694, allocations: 263.8 kB / 1.958 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/5.696, allocations: 1.014 MB / 1.959 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004731/5.701, allocations: 128.8 kB / 1.959 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/5.701, allocations: 57.02 kB / 1.96 GB, free: 136.2 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: seg.pipFil.Rgg.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow rate from port_a -> port_b" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * 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 {3 25} Notification: Performance of prepare postOptimizeDAE: time 0.000511/5.702, allocations: 139.6 kB / 1.96 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004891/5.702, allocations: 133 kB / 1.96 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003355/5.706, allocations: 1.003 MB / 1.961 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/5.706, allocations: 12.89 kB / 1.961 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/5.706, allocations: 2.141 kB / 1.961 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002696/5.709, allocations: 0.9152 MB / 1.962 GB, free: 135.7 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.008211/5.717, allocations: 2.66 MB / 1.964 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/5.717, allocations: 3.812 kB / 1.964 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/5.718, allocations: 145.7 kB / 1.964 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/5.719, allocations: 109 kB / 1.965 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/5.719, allocations: 23.34 kB / 1.965 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004517/5.724, allocations: 5.105 MB / 1.97 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/5.724, allocations: 9.219 kB / 1.97 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/5.728, allocations: 1.567 MB / 1.971 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/5.729, allocations: 359.9 kB / 1.971 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004883/5.73, allocations: 16.34 kB / 1.971 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/5.733, allocations: 81.77 kB / 1.971 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/5.733, allocations: 60.47 kB / 1.972 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/5.733, allocations: 35.48 kB / 1.972 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001822/5.735, allocations: 0.7726 MB / 1.972 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.3e-07/5.735, allocations: 0 / 1.972 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007022/5.742, allocations: 1.08 MB / 1.973 GB, free: 130.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (seg.port_b1.h_outflow,seg.port_a2.h_outflow,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) * 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,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002548/5.745, allocations: 0.8165 MB / 1.974 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006964/5.752, allocations: 2.022 MB / 1.976 GB, free: 130 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/5.752, allocations: 1.125 kB / 1.976 GB, free: 130 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/5.753, allocations: 0.7487 MB / 1.977 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005881/5.759, allocations: 0.6304 MB / 1.978 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008393/5.768, allocations: 2.904 MB / 1.98 GB, free: 129 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/5.769, allocations: 1.313 MB / 1.982 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003918/5.773, allocations: 0.4939 MB / 1.982 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/5.774, allocations: 97.16 kB / 1.982 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.283e-06/5.774, allocations: 0.5 kB / 1.982 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.08548/5.859, allocations: 34.54 MB / 2.016 GB, free: 127.1 MB / 0.8698 GB