Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.637/1.637, allocations: 287.4 MB / 303.2 MB, free: 8.316 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.0009945/0.0009945, allocations: 174.2 kB / 371.8 MB, free: 10.83 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.532/1.532, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0007823/0.0007822, allocations: 98.98 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.000413, allocations: 15.94 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.02942/0.2155, allocations: 37.33 MB / 1.016 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01631/0.2318, allocations: 11.55 MB / 1.027 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.2339, allocations: 47.69 kB / 1.027 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.2358, allocations: 492.9 kB / 1.028 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.2414, allocations: 1.634 MB / 1.029 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.2454, allocations: 1.075 MB / 1.03 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005553/0.251, allocations: 3.953 MB / 1.034 GB, free: 4 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.2528, allocations: 0.9664 MB / 1.035 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.2551, allocations: 1.031 MB / 1.036 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.2566, allocations: 0.8945 MB / 1.037 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.2569, allocations: 56 kB / 1.037 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.2597, allocations: 1.209 MB / 1.038 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.2601, allocations: 231 kB / 1.038 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004834/0.2606, allocations: 301 kB / 1.039 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.263, allocations: 1.925 MB / 1.04 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.263, allocations: 0 / 1.04 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.673e-06/0.263, allocations: 0 / 1.04 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.437e-05/0.2631, allocations: 0 / 1.04 GB, free: 13.35 MB / 0.6667 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.002782/0.2659, allocations: 1.48 MB / 1.042 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.2659, allocations: 8.031 kB / 1.042 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/0.2664, allocations: 155.2 kB / 1.042 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.2683, allocations: 1.138 MB / 1.043 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.2684, allocations: 73.98 kB / 1.043 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.2686, allocations: 92 kB / 1.043 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.2701, allocations: 0.8973 MB / 1.044 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.2701, allocations: 7.844 kB / 1.044 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.2702, allocations: 36 kB / 1.044 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.2702, allocations: 20 kB / 1.044 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.2714, allocations: 0.6441 MB / 1.045 GB, free: 8.676 MB / 0.6667 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.005411/0.2768, allocations: 4.289 MB / 1.049 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/0.2777, allocations: 0.497 MB / 1.05 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.2782, allocations: 310.4 kB / 1.05 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/0.2788, allocations: 0.6104 MB / 1.05 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2789, allocations: 39.12 kB / 1.051 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.346e-06/0.2789, allocations: 0 / 1.051 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.00257/0.2815, allocations: 1.22 MB / 1.052 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.2815, allocations: 55.97 kB / 1.052 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.2828, allocations: 0.8675 MB / 1.053 GB, free: 236 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.2829, allocations: 37.7 kB / 1.053 GB, free: 192 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.2833, allocations: 0.519 MB / 1.053 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.2836, allocations: 201.2 kB / 1.053 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.2836, allocations: 19.94 kB / 1.053 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2837, allocations: 341.9 kB / 1.054 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.2841, allocations: 201.9 kB / 1.054 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.2846, allocations: 398.3 kB / 1.054 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.2853, allocations: 0.5642 MB / 1.055 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2854, allocations: 0 / 1.055 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001558/0.2869, allocations: 0.8389 MB / 1.056 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.287, allocations: 191.9 kB / 1.056 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.2871, allocations: 8 kB / 1.056 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.2877, allocations: 151.3 kB / 1.056 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.2882, allocations: 139.8 kB / 1.056 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/0.2916, allocations: 4.833 MB / 1.061 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/0.2926, allocations: 117.6 kB / 1.061 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.584e-05/0.2927, allocations: 35.98 kB / 1.061 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.2927, allocations: 4 kB / 1.061 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/0.294, allocations: 0.7056 MB / 1.062 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.294, allocations: 4 kB / 1.062 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.2943, allocations: 123.4 kB / 1.062 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.2948, allocations: 144.1 kB / 1.062 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3928/0.6877, allocations: 5.821 MB / 1.068 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.6889, allocations: 109.2 kB / 1.068 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.4e-05/0.689, allocations: 31.72 kB / 1.068 GB, free: 85.7 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006747/0.6896, allocations: 375.5 kB / 1.068 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.6898, allocations: 104.2 kB / 1.068 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.6913, allocations: 0.6999 MB / 1.069 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008923/0.6922, allocations: 0.643 MB / 1.07 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6922, allocations: 1.094 kB / 1.07 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.6926, allocations: 269.7 kB / 1.07 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.6927, allocations: 11.95 kB / 1.07 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005542/0.6933, allocations: 52.42 kB / 1.07 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.6934, allocations: 47.97 kB / 1.07 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001464/0.6949, allocations: 0.7533 MB / 1.071 GB, free: 84.97 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001183/0.6961, allocations: 0.9856 MB / 1.072 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000321/0.6964, allocations: 213.6 kB / 1.072 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008317/0.6972, allocations: 0.5928 MB / 1.072 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of Backend: time 4.81e-07/0.6972, allocations: 0 / 1.072 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003626/0.7009, allocations: 2.153 MB / 1.074 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of SimCode: time 0.004893/0.7058, allocations: 3.298 MB / 1.078 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of Templates: time 0.04517/0.751, allocations: 25.73 MB / 1.103 GB, free: 73.3 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)