Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 288.4 MB / 304.3 MB, free: 8.164 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.001119/0.00112, allocations: 176.4 kB / 372.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 0.6317 GB, free: 9.887 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.0008382/0.000838, allocations: 86.36 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004175, allocations: 15.97 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8866/1.09, allocations: 430 MB / 1.401 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.09, allocations: 119.1 kB / 1.401 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.009/3.099, allocations: 0.646 GB / 2.047 GB, free: 85.64 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.084e-06/3.099, allocations: 0 / 2.047 GB, free: 85.64 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001436/3.099, allocations: 47.94 kB / 2.047 GB, free: 85.59 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.00507/3.104, allocations: 2.314 MB / 2.049 GB, free: 83.21 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/3.104, allocations: 12.02 kB / 2.049 GB, free: 83.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004304/3.105, allocations: 206.6 kB / 2.049 GB, free: 83 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/3.108, allocations: 2.044 MB / 2.051 GB, free: 80.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-05/3.108, allocations: 100.8 kB / 2.051 GB, free: 80.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/3.108, allocations: 144.8 kB / 2.051 GB, free: 80.66 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/3.11, allocations: 1.212 MB / 2.053 GB, free: 79.39 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/3.11, allocations: 3.938 kB / 2.053 GB, free: 79.39 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-05/3.11, allocations: 44 kB / 2.053 GB, free: 79.34 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/3.11, allocations: 35.94 kB / 2.053 GB, free: 79.31 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/3.111, allocations: 0.9178 MB / 2.054 GB, free: 78.38 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.008729/3.12, allocations: 6.934 MB / 2.06 GB, free: 71.05 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/3.122, allocations: 1.085 MB / 2.061 GB, free: 69.96 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/3.123, allocations: 459.3 kB / 2.062 GB, free: 69.51 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000484/3.123, allocations: 0.6058 MB / 2.063 GB, free: 68.77 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005635/3.124, allocations: 444.2 kB / 2.063 GB, free: 68.32 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 2.594e-06/3.124, allocations: 0 / 2.063 GB, free: 68.32 MB / 0.9323 GB Notification: Performance of matching and sorting (n=82): time 0.005046/3.129, allocations: 2.926 MB / 2.066 GB, free: 65.28 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/3.129, allocations: 64.05 kB / 2.066 GB, free: 65.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/3.131, allocations: 1.365 MB / 2.067 GB, free: 63.82 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.865e-05/3.131, allocations: 53.7 kB / 2.067 GB, free: 63.77 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/3.131, allocations: 0.681 MB / 2.068 GB, free: 63.08 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/3.132, allocations: 295.8 kB / 2.068 GB, free: 62.79 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-05/3.132, allocations: 24 kB / 2.068 GB, free: 62.76 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/3.132, allocations: 361.9 kB / 2.069 GB, free: 62.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008059/3.133, allocations: 0.5583 MB / 2.069 GB, free: 61.84 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009296/3.133, allocations: 0.8655 MB / 2.07 GB, free: 60.87 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/3.135, allocations: 1.214 MB / 2.071 GB, free: 59.58 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/3.135, allocations: 0 / 2.071 GB, free: 59.58 MB / 0.9323 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002395/3.137, allocations: 1.766 MB / 2.073 GB, free: 57.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/3.137, allocations: 267.5 kB / 2.073 GB, free: 57.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/3.137, allocations: 8 kB / 2.073 GB, free: 57.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/3.138, allocations: 260.6 kB / 2.073 GB, free: 57.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/3.139, allocations: 271.6 kB / 2.074 GB, free: 56.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/3.14, allocations: 1.591 MB / 2.075 GB, free: 55.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/3.143, allocations: 155.5 kB / 2.075 GB, free: 55.14 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/3.143, allocations: 59.97 kB / 2.075 GB, free: 55.08 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/3.143, allocations: 4 kB / 2.075 GB, free: 55.07 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002199/3.145, allocations: 1.609 MB / 2.077 GB, free: 53.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/3.145, allocations: 8 kB / 2.077 GB, free: 53.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/3.146, allocations: 245.4 kB / 2.077 GB, free: 53.21 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/3.147, allocations: 255.6 kB / 2.077 GB, free: 52.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000836/3.148, allocations: 0.9975 MB / 2.078 GB, free: 51.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/3.15, allocations: 155.6 kB / 2.079 GB, free: 51.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/3.15, allocations: 55.97 kB / 2.079 GB, free: 51.73 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.0007974/3.151, allocations: 0.4968 MB / 2.079 GB, free: 51.22 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/3.151, allocations: 146.1 kB / 2.079 GB, free: 51.08 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/3.152, allocations: 1.066 MB / 2.08 GB, free: 49.99 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/3.152, allocations: 8 kB / 2.08 GB, free: 49.98 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/3.152, allocations: 0 / 2.08 GB, free: 49.98 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/3.153, allocations: 0.9592 MB / 2.081 GB, free: 48.98 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.003333/3.157, allocations: 2.817 MB / 2.084 GB, free: 46.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/3.157, allocations: 0 / 2.084 GB, free: 46.07 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006704/3.157, allocations: 147.8 kB / 2.084 GB, free: 45.92 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/3.158, allocations: 118.5 kB / 2.084 GB, free: 45.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/3.158, allocations: 28.11 kB / 2.084 GB, free: 45.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/3.16, allocations: 5.288 MB / 2.089 GB, free: 40.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/3.16, allocations: 0 / 2.089 GB, free: 40.05 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/3.162, allocations: 1.584 MB / 2.091 GB, free: 38.43 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/3.163, allocations: 359 kB / 2.091 GB, free: 38.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/3.163, allocations: 28 kB / 2.091 GB, free: 38.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/3.164, allocations: 91.75 kB / 2.091 GB, free: 37.94 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/3.165, allocations: 64.5 kB / 2.091 GB, free: 37.88 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/3.165, allocations: 27.98 kB / 2.092 GB, free: 37.85 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001156/3.166, allocations: 0.9075 MB / 2.092 GB, free: 36.95 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.71e-07/3.166, allocations: 4 kB / 2.092 GB, free: 36.94 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003149/3.169, allocations: 1.129 MB / 2.094 GB, free: 35.81 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.001377/3.17, allocations: 0.7917 MB / 2.094 GB, free: 35.04 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00337/3.174, allocations: 2.109 MB / 2.096 GB, free: 32.92 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/3.174, allocations: 8 kB / 2.096 GB, free: 32.91 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008572/3.175, allocations: 0.7925 MB / 2.097 GB, free: 32.08 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/3.178, allocations: 0.7651 MB / 2.098 GB, free: 31.33 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/3.183, allocations: 4.178 MB / 2.102 GB, free: 27.12 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/3.184, allocations: 1.274 MB / 2.103 GB, free: 25.82 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001637/3.185, allocations: 452.8 kB / 2.104 GB, free: 25.38 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/3.186, allocations: 127.4 kB / 2.104 GB, free: 25.25 MB / 0.9323 GB Notification: Performance of SimCode: time 6.31e-07/3.186, allocations: 0 / 2.104 GB, free: 25.25 MB / 0.9323 GB Notification: Performance of Templates: time 0.05645/3.242, allocations: 39.64 MB / 2.142 GB, free: 1.855 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1)