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.459/2.459, allocations: 252.6 MB / 265.2 MB, free: 5.73 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.001421/0.001421, allocations: 185.5 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001152/0.001151, allocations: 92.06 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.059e-05/4.078e-05, allocations: 4 kB / 0.7912 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.202, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.847/2.049, allocations: 422.1 MB / 1.307 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/2.049, allocations: 103.2 kB / 1.307 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.407/5.456, allocations: 0.6305 GB / 1.938 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.813e-06/5.456, allocations: 1.594 kB / 1.938 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003026/5.457, allocations: 39.56 kB / 1.938 GB, free: 145.8 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.00982/5.467, allocations: 2.028 MB / 1.94 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001005/5.467, allocations: 8.906 kB / 1.94 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/5.469, allocations: 208.3 kB / 1.94 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008755/5.478, allocations: 2.057 MB / 1.942 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/5.478, allocations: 99.97 kB / 1.942 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006112/5.479, allocations: 139.1 kB / 1.942 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/5.482, allocations: 1.183 MB / 1.943 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-05/5.483, allocations: 5.25 kB / 1.943 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/5.483, allocations: 48.98 kB / 1.943 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/5.483, allocations: 33.91 kB / 1.943 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/5.486, allocations: 0.8943 MB / 1.944 GB, free: 144.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 preOpt removeSimpleEquations (simulation): time 0.02021/5.506, allocations: 6.948 MB / 1.951 GB, free: 142 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/5.511, allocations: 1.069 MB / 1.952 GB, free: 142 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/5.512, allocations: 455.5 kB / 1.953 GB, free: 142 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007576/5.513, allocations: 0.5999 MB / 1.953 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/5.514, allocations: 429.7 kB / 1.954 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 3.897e-06/5.514, allocations: 1.125 kB / 1.954 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82): time 0.008308/5.522, allocations: 2.281 MB / 1.956 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/5.522, allocations: 60.75 kB / 1.956 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003111/5.525, allocations: 1.232 MB / 1.957 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005004/5.526, allocations: 68.98 kB / 1.957 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009987/5.527, allocations: 0.6784 MB / 1.958 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005715/5.528, allocations: 297.5 kB / 1.958 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/5.528, allocations: 26.09 kB / 1.958 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001242/5.528, allocations: 357.2 kB / 1.958 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/5.53, allocations: 0.5452 MB / 1.959 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/5.532, allocations: 0.8556 MB / 1.96 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/5.534, allocations: 0.6736 MB / 1.96 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/5.534, allocations: 2.25 kB / 1.96 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.005107/5.539, allocations: 1.747 MB / 1.962 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004975/5.539, allocations: 2.305 MB / 1.964 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.833e-05/5.539, allocations: 6.781 kB / 1.964 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/5.541, allocations: 265.3 kB / 1.965 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/5.544, allocations: 266.7 kB / 1.965 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/5.546, allocations: 1.578 MB / 1.966 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005195/5.551, allocations: 163.7 kB / 1.967 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005136/5.551, allocations: 61.56 kB / 1.967 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/5.551, allocations: 3.625 kB / 1.967 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005113/5.556, allocations: 1.595 MB / 1.968 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.306e-05/5.557, allocations: 7.625 kB / 1.968 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/5.558, allocations: 249.1 kB / 1.968 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/5.561, allocations: 258.1 kB / 1.969 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/5.562, allocations: 0.9926 MB / 1.97 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/5.567, allocations: 162.9 kB / 1.97 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005208/5.568, allocations: 59.47 kB / 1.97 GB, free: 135.2 MB / 0.8698 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 () * 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.0005294/5.569, allocations: 183.5 kB / 1.97 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006491/5.569, allocations: 147 kB / 1.97 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/5.572, allocations: 1.051 MB / 1.971 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/5.572, allocations: 10.75 kB / 1.971 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/5.572, allocations: 2.188 kB / 1.971 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002273/5.575, allocations: 0.9353 MB / 1.972 GB, free: 134.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.007589/5.582, allocations: 2.832 MB / 1.975 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/5.582, allocations: 8.328 kB / 1.975 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/5.584, allocations: 139.9 kB / 1.975 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005369/5.585, allocations: 117.9 kB / 1.975 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/5.585, allocations: 36.34 kB / 1.975 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004658/5.59, allocations: 5.247 MB / 1.98 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/5.59, allocations: 2.625 kB / 1.98 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004479/5.594, allocations: 1.615 MB / 1.982 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/5.596, allocations: 367.6 kB / 1.982 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007757/5.597, allocations: 23.56 kB / 1.982 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/5.6, allocations: 97.88 kB / 1.982 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/5.6, allocations: 57.41 kB / 1.982 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/5.6, allocations: 35.55 kB / 1.982 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002559/5.603, allocations: 0.9289 MB / 1.983 GB, free: 129 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.02e-07/5.603, allocations: 0 / 1.983 GB, free: 129 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007824/5.611, allocations: 1.136 MB / 1.984 GB, free: 128.9 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,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002931/5.614, allocations: 0.8185 MB / 1.985 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007456/5.621, allocations: 2.12 MB / 1.987 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/5.621, allocations: 0 / 1.987 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001779/5.623, allocations: 0.79 MB / 1.988 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006888/5.63, allocations: 0.7781 MB / 1.989 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008134/5.638, allocations: 2.985 MB / 1.992 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009817/5.639, allocations: 1.304 MB / 1.993 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003927/5.643, allocations: 0.5216 MB / 1.994 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006493/5.644, allocations: 103.9 kB / 1.994 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.733e-06/5.644, allocations: 0 / 1.994 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.1376/5.782, allocations: 42.15 MB / 2.035 GB, free: 125.2 MB / 0.8698 GB