Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 113.7 kB / 16.38 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 187.5 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2113, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.397/0.6084, allocations: 40.53 MB / 0.8244 GB, free: 23.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.6254, allocations: 12.34 MB / 0.8364 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003881/0.6293, allocations: 56.12 kB / 0.8365 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.6321, allocations: 0.682 MB / 0.8372 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008242/0.6404, allocations: 2.085 MB / 0.8392 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004957/0.6454, allocations: 1.432 MB / 0.8406 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006985/0.6524, allocations: 3.547 MB / 0.8441 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.6545, allocations: 1.211 MB / 0.8452 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.6583, allocations: 1.295 MB / 0.8465 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.6609, allocations: 0.9911 MB / 0.8475 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004026/0.6613, allocations: 132.4 kB / 0.8476 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004601/0.6659, allocations: 1.629 MB / 0.8492 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005402/0.6665, allocations: 327.1 kB / 0.8495 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.6679, allocations: 0.7545 MB / 0.8502 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005129/0.673, allocations: 2.624 MB / 0.8528 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6731, allocations: 4.516 kB / 0.8528 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6731, allocations: 0 / 0.8528 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.406e-05/0.6731, allocations: 0 / 0.8528 GB, free: 6.965 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003315/0.6764, allocations: 1.751 MB / 0.8545 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.6765, allocations: 10.12 kB / 0.8545 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005228/0.677, allocations: 151.5 kB / 0.8547 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.679, allocations: 1.154 MB / 0.8558 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/0.679, allocations: 66.84 kB / 0.8559 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.6792, allocations: 90.84 kB / 0.856 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.6806, allocations: 0.9098 MB / 0.8568 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.6807, allocations: 6.109 kB / 0.8568 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/0.6808, allocations: 41.56 kB / 0.8569 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.6808, allocations: 22.62 kB / 0.8569 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.6819, allocations: 0.648 MB / 0.8575 GB, free: 4.266 MB / 0.6544 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.004818/0.6867, allocations: 4.297 MB / 0.8617 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008811/0.6876, allocations: 0.4953 MB / 0.8622 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.6881, allocations: 313.8 kB / 0.8625 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/0.6887, allocations: 0.6059 MB / 0.8631 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.6888, allocations: 38.47 kB / 0.8631 GB, free: 15.71 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 2.334e-06/0.6888, allocations: 0 / 0.8631 GB, free: 15.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.002679/0.6915, allocations: 1.217 MB / 0.8643 GB, free: 14.85 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.6915, allocations: 61.03 kB / 0.8644 GB, free: 14.78 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.6928, allocations: 0.8877 MB / 0.8653 GB, free: 14.27 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/0.6929, allocations: 39.05 kB / 0.8653 GB, free: 14.23 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/0.6933, allocations: 0.5118 MB / 0.8658 GB, free: 13.77 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.6935, allocations: 202 kB / 0.866 GB, free: 13.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.6938, allocations: 155.8 kB / 0.8661 GB, free: 13.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6939, allocations: 348.9 kB / 0.8665 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.6943, allocations: 210.5 kB / 0.8667 GB, free: 13.05 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.6949, allocations: 410.7 kB / 0.8671 GB, free: 12.72 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008632/0.6958, allocations: 0.5625 MB / 0.8676 GB, free: 12.35 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.6958, allocations: 1.375 kB / 0.8676 GB, free: 12.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001667/0.6975, allocations: 0.8627 MB / 0.8685 GB, free: 11.89 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.6975, allocations: 7.5 kB / 0.8685 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.6975, allocations: 5.469 kB / 0.8685 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/0.6981, allocations: 150.8 kB / 0.8686 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.6986, allocations: 141.2 kB / 0.8687 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/0.7025, allocations: 5.267 MB / 0.8739 GB, free: 6.434 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008493/0.7034, allocations: 83.22 kB / 0.874 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.7035, allocations: 30.69 kB / 0.874 GB, free: 6.367 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007412/0.7042, allocations: 444.2 kB / 0.8744 GB, free: 6.094 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005543/0.7048, allocations: 411.7 kB / 0.8748 GB, free: 5.766 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008674/0.7057, allocations: 0.5601 MB / 0.8754 GB, free: 5.391 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.207e-06/0.7057, allocations: 1.125 kB / 0.8754 GB, free: 5.391 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001563/0.7072, allocations: 0.8231 MB / 0.8762 GB, free: 4.949 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.7073, allocations: 10.58 kB / 0.8762 GB, free: 4.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.7073, allocations: 9.188 kB / 0.8762 GB, free: 4.941 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003409/0.7076, allocations: 125.6 kB / 0.8763 GB, free: 4.871 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.7081, allocations: 140.6 kB / 0.8764 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.7131, allocations: 6.425 MB / 0.8827 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.7142, allocations: 68.56 kB / 0.8828 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.7143, allocations: 29.83 kB / 0.8828 GB, free: 14.26 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000297/0.7146, allocations: 236.6 kB / 0.883 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.7148, allocations: 102.9 kB / 0.8831 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.7162, allocations: 0.6954 MB / 0.8838 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/0.7173, allocations: 0.6451 MB / 0.8844 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7173, allocations: 1.312 kB / 0.8844 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.7177, allocations: 247.6 kB / 0.8847 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.7179, allocations: 11.31 kB / 0.8847 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.7184, allocations: 28.64 kB / 0.8847 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.7185, allocations: 45.8 kB / 0.8848 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001586/0.7201, allocations: 0.7422 MB / 0.8855 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001405/0.7215, allocations: 0.9812 MB / 0.8864 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003371/0.7219, allocations: 218.2 kB / 0.8867 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009385/0.7228, allocations: 0.615 MB / 0.8873 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of Backend: time 2.1e-07/0.7228, allocations: 0 / 0.8873 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004826/0.7277, allocations: 2.19 MB / 0.8894 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of SimCode: time 0.00527/0.733, allocations: 2.847 MB / 0.8922 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of Templates: time 0.04738/0.7804, allocations: 27.62 MB / 0.9191 GB, free: 15.21 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)