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 1.843/1.843, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.001579/0.001579, allocations: 181.1 kB / 371.8 MB, free: 10.81 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.506/1.506, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0007704/0.0007703, allocations: 97.05 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004307, allocations: 16.19 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2401, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.03748/0.2776, allocations: 45.35 MB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02141/0.2991, allocations: 12.98 MB / 1.036 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002687/0.3018, allocations: 59.62 kB / 1.036 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.3042, allocations: 0.6134 MB / 1.037 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006378/0.3106, allocations: 1.886 MB / 1.039 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004031/0.3147, allocations: 1.214 MB / 1.04 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006757/0.3215, allocations: 5.365 MB / 1.045 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/0.3241, allocations: 1.335 MB / 1.046 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.3276, allocations: 1.435 MB / 1.048 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.3303, allocations: 1.327 MB / 1.049 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006/0.3309, allocations: 88 kB / 1.049 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.3346, allocations: 1.376 MB / 1.051 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007451/0.3354, allocations: 450.3 kB / 1.051 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009325/0.3363, allocations: 436.8 kB / 1.051 GB, free: 2.078 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004043/0.3404, allocations: 3.23 MB / 1.055 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3404, allocations: 0 / 1.055 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3404, allocations: 0 / 1.055 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001042/0.3405, allocations: 0 / 1.055 GB, free: 14.84 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.005536/0.3461, allocations: 2.176 MB / 1.057 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3461, allocations: 8.031 kB / 1.057 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007458/0.3469, allocations: 210.6 kB / 1.057 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003384/0.3503, allocations: 1.718 MB / 1.059 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.414e-05/0.3504, allocations: 102.2 kB / 1.059 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003416/0.3507, allocations: 139.9 kB / 1.059 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.353, allocations: 1.231 MB / 1.06 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.3531, allocations: 7.938 kB / 1.06 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.3532, allocations: 44 kB / 1.06 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.3532, allocations: 31.98 kB / 1.06 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.355, allocations: 0.9373 MB / 1.061 GB, free: 8.059 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.01076/0.3657, allocations: 7.253 MB / 1.068 GB, free: 356 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4329/0.7987, allocations: 1.097 MB / 1.069 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008699/0.7996, allocations: 460.8 kB / 1.07 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.8003, allocations: 0.602 MB / 1.07 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009898/0.8013, allocations: 441.3 kB / 1.071 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 5.791e-06/0.8013, allocations: 0.9688 kB / 1.071 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.008632/0.81, allocations: 2.945 MB / 1.074 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.8101, allocations: 62.94 kB / 1.074 GB, free: 86.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.8131, allocations: 1.379 MB / 1.075 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002955/0.8134, allocations: 53.48 kB / 1.075 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/0.8141, allocations: 0.6766 MB / 1.076 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.8145, allocations: 291.4 kB / 1.076 GB, free: 84.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.8146, allocations: 34.28 kB / 1.076 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.8148, allocations: 357.6 kB / 1.076 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.8159, allocations: 0.582 MB / 1.077 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.8172, allocations: 0.8894 MB / 1.078 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.8192, allocations: 1.243 MB / 1.079 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.8192, allocations: 3.906 kB / 1.079 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003575/0.8228, allocations: 1.838 MB / 1.081 GB, free: 82.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.8229, allocations: 272.4 kB / 1.081 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.823, allocations: 7.5 kB / 1.081 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008162/0.8238, allocations: 262.8 kB / 1.081 GB, free: 81.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.8254, allocations: 290.5 kB / 1.082 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.8268, allocations: 1.583 MB / 1.083 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/0.8298, allocations: 181.9 kB / 1.083 GB, free: 80.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.8299, allocations: 58.05 kB / 1.083 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.83, allocations: 4.219 kB / 1.083 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002826/0.8328, allocations: 1.678 MB / 1.085 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.8328, allocations: 11.56 kB / 1.085 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005857/0.8334, allocations: 251.3 kB / 1.085 GB, free: 79.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.8346, allocations: 273.4 kB / 1.085 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009183/0.8355, allocations: 0.9962 MB / 1.086 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.8383, allocations: 173.2 kB / 1.087 GB, free: 78.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.8384, allocations: 61.88 kB / 1.087 GB, free: 78.69 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.0009889/0.8394, allocations: 0.5024 MB / 1.087 GB, free: 78.31 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.8396, allocations: 148.7 kB / 1.087 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.8415, allocations: 1.06 MB / 1.088 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00136/0.8429, allocations: 0.9505 MB / 1.089 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.8429, allocations: 0 / 1.089 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006626/0.8436, allocations: 370.8 kB / 1.09 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.8438, allocations: 33.25 kB / 1.09 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.8451, allocations: 91.08 kB / 1.09 GB, free: 76.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.8452, allocations: 58.86 kB / 1.09 GB, free: 76.94 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002618/0.8479, allocations: 1.28 MB / 1.091 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002306/0.8502, allocations: 1.65 MB / 1.093 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007543/0.851, allocations: 419.9 kB / 1.093 GB, free: 75.44 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002163/0.8531, allocations: 0.9148 MB / 1.094 GB, free: 75.06 MB / 0.6823 GB Notification: Performance of Backend: time 9.42e-07/0.8531, allocations: 0 / 1.094 GB, free: 75.06 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00721/0.8604, allocations: 2.505 MB / 1.096 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of SimCode: time 0.008205/0.8686, allocations: 4.985 MB / 1.101 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of Templates: time 0.07056/0.9392, allocations: 44.11 MB / 1.144 GB, free: 40.22 MB / 0.6823 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)