Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.506/2.506, allocations: 287.5 MB / 303.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 178 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009691/0.0009684, allocations: 98.38 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007247/0.0007248, allocations: 12.62 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2058, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.487, allocations: 429.8 MB / 1.399 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/1.488, allocations: 125 kB / 1.399 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.418/4.906, allocations: 0.646 GB / 2.045 GB, free: 88.98 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.845e-06/4.906, allocations: 0 / 2.045 GB, free: 88.98 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003648/4.906, allocations: 47.92 kB / 2.045 GB, free: 88.93 MB / 0.9323 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.01406/4.92, allocations: 2.31 MB / 2.047 GB, free: 86.56 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/4.92, allocations: 8.031 kB / 2.047 GB, free: 86.55 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/4.922, allocations: 206.6 kB / 2.048 GB, free: 86.35 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009629/4.932, allocations: 2.044 MB / 2.05 GB, free: 84.25 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/4.932, allocations: 106.5 kB / 2.05 GB, free: 84.14 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007585/4.933, allocations: 144.8 kB / 2.05 GB, free: 84 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/4.937, allocations: 1.208 MB / 2.051 GB, free: 82.73 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.763e-05/4.937, allocations: 7.938 kB / 2.051 GB, free: 82.73 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/4.937, allocations: 44 kB / 2.051 GB, free: 82.68 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.778e-05/4.937, allocations: 31.94 kB / 2.051 GB, free: 82.65 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004071/4.942, allocations: 0.9178 MB / 2.052 GB, free: 81.73 MB / 0.9323 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.02086/4.963, allocations: 6.939 MB / 2.059 GB, free: 74.39 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/4.967, allocations: 1.085 MB / 2.06 GB, free: 73.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/4.968, allocations: 455.3 kB / 2.06 GB, free: 72.85 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007218/4.969, allocations: 0.598 MB / 2.061 GB, free: 72.12 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/4.97, allocations: 448.2 kB / 2.061 GB, free: 71.67 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 4.128e-06/4.97, allocations: 3.938 kB / 2.061 GB, free: 71.67 MB / 0.9323 GB Notification: Performance of matching and sorting (n=82): time 0.00976/4.98, allocations: 2.928 MB / 2.064 GB, free: 68.63 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/4.98, allocations: 64.05 kB / 2.064 GB, free: 68.55 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/4.983, allocations: 1.357 MB / 2.066 GB, free: 67.18 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004779/4.983, allocations: 53.7 kB / 2.066 GB, free: 67.12 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009816/4.984, allocations: 0.681 MB / 2.066 GB, free: 66.43 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005099/4.985, allocations: 303.7 kB / 2.067 GB, free: 66.13 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/4.985, allocations: 28 kB / 2.067 GB, free: 66.11 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001155/4.985, allocations: 361.9 kB / 2.067 GB, free: 65.75 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/4.987, allocations: 0.5544 MB / 2.067 GB, free: 65.19 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/4.988, allocations: 0.8694 MB / 2.068 GB, free: 64.21 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/4.991, allocations: 1.214 MB / 2.07 GB, free: 62.92 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/4.991, allocations: 4 kB / 2.07 GB, free: 62.91 MB / 0.9323 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00508/4.996, allocations: 1.765 MB / 2.071 GB, free: 61.13 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/4.996, allocations: 261.8 kB / 2.071 GB, free: 60.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/4.996, allocations: 11.88 kB / 2.072 GB, free: 60.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/4.998, allocations: 264.9 kB / 2.072 GB, free: 60.53 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/5, allocations: 271.6 kB / 2.072 GB, free: 60.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/5.002, allocations: 1.583 MB / 2.074 GB, free: 58.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00474/5.007, allocations: 159.6 kB / 2.074 GB, free: 58.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004692/5.008, allocations: 59.97 kB / 2.074 GB, free: 58.42 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/5.008, allocations: 4 kB / 2.074 GB, free: 58.41 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004353/5.012, allocations: 1.601 MB / 2.075 GB, free: 56.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/5.012, allocations: 8 kB / 2.075 GB, free: 56.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009216/5.013, allocations: 252.7 kB / 2.076 GB, free: 56.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/5.015, allocations: 259.6 kB / 2.076 GB, free: 56.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/5.017, allocations: 0.9974 MB / 2.077 GB, free: 55.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/5.022, allocations: 155.6 kB / 2.077 GB, free: 55.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005657/5.023, allocations: 59.97 kB / 2.077 GB, free: 55.06 MB / 0.9323 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.001694/5.024, allocations: 0.4915 MB / 2.077 GB, free: 54.56 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005315/5.025, allocations: 150.1 kB / 2.078 GB, free: 54.41 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/5.028, allocations: 1.066 MB / 2.079 GB, free: 53.32 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/5.028, allocations: 8 kB / 2.079 GB, free: 53.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/5.028, allocations: 4 kB / 2.079 GB, free: 53.31 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002368/5.03, allocations: 0.9517 MB / 2.08 GB, free: 52.32 MB / 0.9323 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.00724/5.038, allocations: 2.82 MB / 2.082 GB, free: 49.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/5.038, allocations: 4 kB / 2.082 GB, free: 49.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/5.039, allocations: 151.7 kB / 2.083 GB, free: 49.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/5.04, allocations: 118.6 kB / 2.083 GB, free: 49.12 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/5.04, allocations: 31.98 kB / 2.083 GB, free: 49.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004242/5.044, allocations: 5.269 MB / 2.088 GB, free: 43.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/5.044, allocations: 32 / 2.088 GB, free: 43.41 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/5.048, allocations: 1.588 MB / 2.089 GB, free: 41.78 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/5.049, allocations: 367 kB / 2.09 GB, free: 41.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005178/5.05, allocations: 20 kB / 2.09 GB, free: 41.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/5.053, allocations: 95.75 kB / 2.09 GB, free: 41.29 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/5.053, allocations: 56.56 kB / 2.09 GB, free: 41.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/5.053, allocations: 31.98 kB / 2.09 GB, free: 41.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00192/5.055, allocations: 0.9153 MB / 2.091 GB, free: 40.29 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.22e-07/5.055, allocations: 0 / 2.091 GB, free: 40.29 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005467/5.06, allocations: 1.129 MB / 2.092 GB, free: 39.16 MB / 0.9323 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.002152/5.063, allocations: 0.7833 MB / 2.093 GB, free: 38.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006488/5.069, allocations: 2.12 MB / 2.095 GB, free: 36.27 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/5.069, allocations: 0 / 2.095 GB, free: 36.27 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/5.071, allocations: 0.7972 MB / 2.096 GB, free: 35.44 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007285/5.078, allocations: 0.7679 MB / 2.096 GB, free: 34.68 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008883/5.087, allocations: 4.179 MB / 2.1 GB, free: 30.47 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009135/5.088, allocations: 1.27 MB / 2.102 GB, free: 29.18 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003092/5.091, allocations: 456.8 kB / 2.102 GB, free: 28.72 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/5.092, allocations: 119.4 kB / 2.102 GB, free: 28.61 MB / 0.9323 GB Notification: Performance of SimCode: time 1.714e-06/5.092, allocations: 0 / 2.102 GB, free: 28.61 MB / 0.9323 GB Notification: Performance of Templates: time 0.0953/5.187, allocations: 39.2 MB / 2.14 GB, free: 5.703 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1)