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.947/1.947, allocations: 288.4 MB / 304.3 MB, free: 8.074 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.0009104/0.0009105, allocations: 182.9 kB / 372.9 MB, free: 10.17 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.589/1.589, allocations: 205.4 MB / 0.6316 GB, free: 9.82 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.0007987/0.0007988, allocations: 83.05 kB / 0.745 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004536, allocations: 13.44 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2376, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.03758/0.2752, allocations: 45.34 MB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.2978, allocations: 12.99 MB / 1.038 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003276/0.3012, allocations: 55.69 kB / 1.038 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.3036, allocations: 0.6173 MB / 1.038 GB, free: 184 kB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006455/0.3101, allocations: 2.012 MB / 1.04 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.3138, allocations: 1.219 MB / 1.042 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006898/0.3207, allocations: 5.379 MB / 1.047 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.3231, allocations: 1.331 MB / 1.048 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/0.3263, allocations: 1.47 MB / 1.05 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.3287, allocations: 1.323 MB / 1.051 GB, free: 3.395 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.329, allocations: 88 kB / 1.051 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.3326, allocations: 1.637 MB / 1.052 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004976/0.3332, allocations: 454.2 kB / 1.053 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.3345, allocations: 0.9818 MB / 1.054 GB, free: 236 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.3385, allocations: 3.304 MB / 1.057 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3385, allocations: 0 / 1.057 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3385, allocations: 0 / 1.057 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.612e-05/0.3386, allocations: 0 / 1.057 GB, free: 12.92 MB / 0.6823 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.00482/0.3434, allocations: 2.184 MB / 1.059 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3434, allocations: 8.031 kB / 1.059 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005426/0.344, allocations: 214.6 kB / 1.059 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.3468, allocations: 1.713 MB / 1.061 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.113e-05/0.3469, allocations: 106.1 kB / 1.061 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.3472, allocations: 143.9 kB / 1.061 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.3492, allocations: 1.227 MB / 1.063 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.3492, allocations: 3.938 kB / 1.063 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.3493, allocations: 48 kB / 1.063 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.3494, allocations: 28 kB / 1.063 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.3509, allocations: 0.9334 MB / 1.064 GB, free: 6.137 MB / 0.6823 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.4529/0.8038, allocations: 7.247 MB / 1.071 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.8066, allocations: 1.094 MB / 1.072 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/0.8073, allocations: 465 kB / 1.072 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.8079, allocations: 0.5949 MB / 1.073 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008004/0.8087, allocations: 445.7 kB / 1.073 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 3.146e-06/0.8087, allocations: 0 / 1.073 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.006478/0.8152, allocations: 2.945 MB / 1.076 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.8152, allocations: 63.22 kB / 1.076 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/0.8179, allocations: 1.376 MB / 1.077 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.8181, allocations: 54.67 kB / 1.077 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006466/0.8187, allocations: 0.6784 MB / 1.078 GB, free: 82.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.819, allocations: 295.7 kB / 1.078 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.8191, allocations: 29.28 kB / 1.078 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8193, allocations: 357.6 kB / 1.079 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.8205, allocations: 0.5849 MB / 1.079 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.8219, allocations: 0.8845 MB / 1.08 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.824, allocations: 1.25 MB / 1.081 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.824, allocations: 2.281 kB / 1.081 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003593/0.8276, allocations: 1.835 MB / 1.083 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.8278, allocations: 266.5 kB / 1.083 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.8278, allocations: 7.766 kB / 1.084 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008013/0.8287, allocations: 266.9 kB / 1.084 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.8301, allocations: 294.4 kB / 1.084 GB, free: 79.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.8314, allocations: 1.583 MB / 1.086 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002985/0.8344, allocations: 181.8 kB / 1.086 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.8345, allocations: 58.2 kB / 1.086 GB, free: 78.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.8345, allocations: 5.375 kB / 1.086 GB, free: 78.29 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002716/0.8373, allocations: 1.673 MB / 1.087 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.8373, allocations: 8.281 kB / 1.087 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/0.8379, allocations: 255 kB / 1.088 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.8392, allocations: 277.4 kB / 1.088 GB, free: 77.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000953/0.8401, allocations: 0.9949 MB / 1.089 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/0.8429, allocations: 173.5 kB / 1.089 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.8431, allocations: 61.36 kB / 1.089 GB, free: 76.71 MB / 0.6823 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 (148): * Single equations (assignments): 145 * 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.0009529/0.844, allocations: 0.5024 MB / 1.09 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.8442, allocations: 147.8 kB / 1.09 GB, free: 76.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.846, allocations: 1.052 MB / 1.091 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/0.8474, allocations: 0.9585 MB / 1.092 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.8474, allocations: 0 / 1.092 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005925/0.848, allocations: 370.8 kB / 1.092 GB, free: 75.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.8482, allocations: 28.92 kB / 1.092 GB, free: 75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.8495, allocations: 88.56 kB / 1.092 GB, free: 74.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.8496, allocations: 59.12 kB / 1.092 GB, free: 74.97 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002436/0.852, allocations: 1.275 MB / 1.094 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002148/0.8542, allocations: 1.652 MB / 1.095 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006142/0.8548, allocations: 415.9 kB / 1.096 GB, free: 73.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001486/0.8563, allocations: 0.9152 MB / 1.096 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of Backend: time 5.41e-07/0.8563, allocations: 0 / 1.096 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006679/0.863, allocations: 2.54 MB / 1.099 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of SimCode: time 0.007938/0.871, allocations: 4.989 MB / 1.104 GB, free: 69.25 MB / 0.6823 GB Notification: Performance of Templates: time 0.06724/0.9382, allocations: 44.49 MB / 1.147 GB, free: 36.43 MB / 0.6823 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)