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.101/2.101, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 197.8 kB / 325.6 MB, free: 2.836 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.261/2.261, allocations: 205.4 MB / 0.5766 GB, free: 21.08 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.001139/0.001139, allocations: 94.42 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000608/0.0006082, allocations: 11.72 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2004, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/1.454, allocations: 422.2 MB / 1.311 GB, free: 13.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/1.455, allocations: 115 kB / 1.311 GB, free: 13.81 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.357/4.812, allocations: 0.6323 GB / 1.944 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.304e-06/4.812, allocations: 0 / 1.944 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002244/4.812, allocations: 39.28 kB / 1.944 GB, free: 149.4 MB / 0.8855 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.009621/4.822, allocations: 2.333 MB / 1.946 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/4.822, allocations: 12.03 kB / 1.946 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/4.823, allocations: 209.6 kB / 1.946 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006977/4.83, allocations: 2.067 MB / 1.948 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/4.83, allocations: 102 kB / 1.948 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004773/4.831, allocations: 143.9 kB / 1.948 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/4.834, allocations: 1.196 MB / 1.95 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-05/4.834, allocations: 2.719 kB / 1.95 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/4.834, allocations: 43.98 kB / 1.95 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/4.834, allocations: 35.94 kB / 1.95 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/4.836, allocations: 0.9139 MB / 1.951 GB, free: 142.3 MB / 0.8855 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.01783/4.854, allocations: 6.95 MB / 1.957 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004423/4.859, allocations: 1.076 MB / 1.958 GB, free: 134 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000807/4.86, allocations: 0.6004 MB / 1.959 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/4.861, allocations: 435.3 kB / 1.959 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 3.666e-06/4.861, allocations: 0 / 1.959 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.008871/4.87, allocations: 2.923 MB / 1.962 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/4.87, allocations: 65.66 kB / 1.962 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/4.872, allocations: 1.248 MB / 1.963 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000417/4.873, allocations: 53.7 kB / 1.964 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007632/4.873, allocations: 0.6815 MB / 1.964 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004402/4.874, allocations: 304.2 kB / 1.965 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/4.874, allocations: 28 kB / 1.965 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001147/4.874, allocations: 356.2 kB / 1.965 GB, free: 127 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/4.876, allocations: 0.5583 MB / 1.965 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/4.877, allocations: 0.8636 MB / 1.966 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/4.879, allocations: 0.6791 MB / 1.967 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/4.879, allocations: 7.703 kB / 1.967 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004555/4.883, allocations: 1.761 MB / 1.969 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004969/4.884, allocations: 2.302 MB / 1.971 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/4.884, allocations: 10.81 kB / 1.971 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/4.885, allocations: 256.6 kB / 1.971 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/4.888, allocations: 270.8 kB / 1.971 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/4.89, allocations: 1.585 MB / 1.973 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/4.894, allocations: 155.2 kB / 1.973 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/4.895, allocations: 55.98 kB / 1.973 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/4.895, allocations: 7.938 kB / 1.973 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004036/4.899, allocations: 1.616 MB / 1.975 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/4.899, allocations: 12.34 kB / 1.975 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008963/4.9, allocations: 248.9 kB / 1.975 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/4.902, allocations: 259.6 kB / 1.975 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/4.904, allocations: 0.9934 MB / 1.976 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/4.908, allocations: 147.6 kB / 1.976 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/4.908, allocations: 59.97 kB / 1.976 GB, free: 114.9 MB / 0.8855 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 (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 {2 26} Notification: Performance of prepare postOptimizeDAE: time 0.001234/4.91, allocations: 0.4929 MB / 1.977 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/4.91, allocations: 146.1 kB / 1.977 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/4.913, allocations: 1.062 MB / 1.978 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/4.913, allocations: 11.98 kB / 1.978 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/4.913, allocations: 0 / 1.978 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001955/4.915, allocations: 0.9557 MB / 1.979 GB, free: 112.2 MB / 0.8855 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.00605/4.921, allocations: 2.829 MB / 1.982 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/4.921, allocations: 0 / 1.982 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/4.922, allocations: 149.6 kB / 1.982 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/4.923, allocations: 126.6 kB / 1.982 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/4.923, allocations: 27.94 kB / 1.982 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/4.927, allocations: 5.289 MB / 1.987 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/4.927, allocations: 0 / 1.987 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/4.931, allocations: 1.648 MB / 1.989 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/4.932, allocations: 371 kB / 1.989 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/4.932, allocations: 27.92 kB / 1.989 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/4.935, allocations: 91.75 kB / 1.989 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/4.935, allocations: 56.58 kB / 1.989 GB, free: 101 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-05/4.935, allocations: 31.98 kB / 1.989 GB, free: 101 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001877/4.937, allocations: 0.9427 MB / 1.99 GB, free: 100 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.11e-07/4.937, allocations: 0 / 1.99 GB, free: 100 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004993/4.942, allocations: 1.14 MB / 1.991 GB, free: 98.9 MB / 0.8855 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.002153/4.944, allocations: 0.812 MB / 1.992 GB, free: 98.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005827/4.95, allocations: 2.089 MB / 1.994 GB, free: 96.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/4.95, allocations: 4.062 kB / 1.994 GB, free: 96.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/4.952, allocations: 0.8002 MB / 1.995 GB, free: 95.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006276/4.958, allocations: 0.771 MB / 1.996 GB, free: 94.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00817/4.966, allocations: 4.169 MB / 2 GB, free: 90.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009593/4.967, allocations: 1.309 MB / 2.001 GB, free: 89.07 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002818/4.97, allocations: 454.7 kB / 2.002 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006384/4.971, allocations: 127.4 kB / 2.002 GB, free: 88.52 MB / 0.8855 GB Notification: Performance of SimCode: time 1.182e-06/4.971, allocations: 0 / 2.002 GB, free: 88.52 MB / 0.8855 GB Notification: Performance of Templates: time 0.09043/5.061, allocations: 39.26 MB / 2.04 GB, free: 49.63 MB / 0.8855 GB