Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009897/0.0009897, allocations: 184.4 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007061/0.0007061, allocations: 99.66 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 12.84 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1838, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.78/0.9639, allocations: 422.4 MB / 1.314 GB, free: 9.863 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.9642, allocations: 117 kB / 1.314 GB, free: 9.797 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.865/2.829, allocations: 0.6286 GB / 1.942 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.214e-06/2.829, allocations: 0 / 1.942 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000285/2.829, allocations: 43.36 kB / 1.942 GB, free: 148.7 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.007358/2.837, allocations: 2.308 MB / 1.945 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/2.837, allocations: 10.81 kB / 1.945 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/2.838, allocations: 210.6 kB / 1.945 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004838/2.843, allocations: 2.036 MB / 1.947 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/2.843, allocations: 102.5 kB / 1.947 GB, free: 144 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004183/2.843, allocations: 140.8 kB / 1.947 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/2.845, allocations: 1.207 MB / 1.948 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/2.845, allocations: 7.875 kB / 1.948 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/2.845, allocations: 48 kB / 1.948 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/2.845, allocations: 28 kB / 1.948 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/2.847, allocations: 0.9178 MB / 1.949 GB, free: 141.6 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.008691/2.855, allocations: 6.919 MB / 1.956 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/2.858, allocations: 1.089 MB / 1.957 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/2.858, allocations: 454 kB / 1.958 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004597/2.859, allocations: 0.6026 MB / 1.958 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005192/2.859, allocations: 436.3 kB / 1.959 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/2.859, allocations: 0 / 1.959 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.004605/2.864, allocations: 2.923 MB / 1.961 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/2.864, allocations: 60.06 kB / 1.961 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/2.865, allocations: 1.361 MB / 1.963 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.314e-05/2.865, allocations: 57.64 kB / 1.963 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/2.866, allocations: 0.6841 MB / 1.964 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/2.866, allocations: 297.8 kB / 1.964 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/2.866, allocations: 24 kB / 1.964 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.852e-05/2.866, allocations: 357.9 kB / 1.964 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007404/2.867, allocations: 0.5622 MB / 1.965 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008415/2.868, allocations: 0.8678 MB / 1.966 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/2.869, allocations: 1.213 MB / 1.967 GB, free: 123 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/2.869, allocations: 0 / 1.967 GB, free: 123 MB / 0.8855 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002229/2.871, allocations: 1.768 MB / 1.968 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.441e-05/2.871, allocations: 263.1 kB / 1.969 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/2.871, allocations: 11.41 kB / 1.969 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/2.872, allocations: 262.8 kB / 1.969 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/2.873, allocations: 275.1 kB / 1.969 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009487/2.874, allocations: 1.575 MB / 1.971 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/2.876, allocations: 163 kB / 1.971 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/2.876, allocations: 59.97 kB / 1.971 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/2.876, allocations: 0 / 1.971 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002065/2.878, allocations: 1.609 MB / 1.973 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/2.878, allocations: 8.781 kB / 1.973 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/2.879, allocations: 252.9 kB / 1.973 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/2.88, allocations: 259.6 kB / 1.973 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007714/2.881, allocations: 0.9895 MB / 1.974 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/2.883, allocations: 155.6 kB / 1.974 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/2.883, allocations: 51.98 kB / 1.974 GB, free: 115.2 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 {3 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008555/2.884, allocations: 0.5007 MB / 1.975 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/2.884, allocations: 150.1 kB / 1.975 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/2.885, allocations: 1.058 MB / 1.976 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/2.885, allocations: 8 kB / 1.976 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/2.885, allocations: 4 kB / 1.976 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/2.886, allocations: 0.9565 MB / 1.977 GB, free: 112.4 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.003184/2.89, allocations: 2.819 MB / 1.98 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/2.89, allocations: 0 / 1.98 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/2.89, allocations: 143.8 kB / 1.98 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/2.891, allocations: 129.8 kB / 1.98 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/2.891, allocations: 23.98 kB / 1.98 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/2.893, allocations: 5.258 MB / 1.985 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/2.893, allocations: 7.969 kB / 1.985 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/2.895, allocations: 1.588 MB / 1.987 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/2.896, allocations: 355.1 kB / 1.987 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/2.896, allocations: 27.98 kB / 1.987 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/2.897, allocations: 95.75 kB / 1.987 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/2.897, allocations: 52.52 kB / 1.987 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/2.897, allocations: 31.98 kB / 1.987 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001089/2.898, allocations: 0.9114 MB / 1.988 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/2.898, allocations: 4 kB / 1.988 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002818/2.901, allocations: 1.121 MB / 1.989 GB, free: 99.31 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.001402/2.902, allocations: 0.7995 MB / 1.99 GB, free: 98.61 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003256/2.906, allocations: 2.112 MB / 1.992 GB, free: 96.49 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/2.906, allocations: 0 / 1.992 GB, free: 96.49 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009/2.907, allocations: 0.7986 MB / 1.993 GB, free: 95.65 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/2.91, allocations: 0.767 MB / 1.993 GB, free: 94.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/2.915, allocations: 4.185 MB / 1.998 GB, free: 90.79 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/2.916, allocations: 1.274 MB / 1.999 GB, free: 89.48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001695/2.917, allocations: 454.9 kB / 1.999 GB, free: 89.05 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/2.918, allocations: 115.4 kB / 1.999 GB, free: 88.94 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/2.918, allocations: 4 kB / 1.999 GB, free: 88.94 MB / 0.8855 GB Notification: Performance of Templates: time 0.04921/2.967, allocations: 39.51 MB / 2.038 GB, free: 49.87 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1)