Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 183.2 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.295/2.295, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009394/0.0009394, allocations: 94.69 kB / 0.6812 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004562, allocations: 11.94 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1977, allocations: 106.3 MB / 0.8991 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.06728/0.2651, allocations: 37.34 MB / 0.9355 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02655/0.2917, allocations: 11.51 MB / 0.9468 GB, free: 16.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.2943, allocations: 47.69 kB / 0.9468 GB, free: 16.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.2974, allocations: 496.9 kB / 0.9473 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008595/0.3061, allocations: 1.615 MB / 0.9489 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006192/0.3123, allocations: 1.036 MB / 0.9499 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007778/0.3201, allocations: 3.959 MB / 0.9537 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002647/0.3228, allocations: 0.9071 MB / 0.9546 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.3267, allocations: 1.034 MB / 0.9556 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002673/0.3294, allocations: 0.8944 MB / 0.9565 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.3299, allocations: 52 kB / 0.9566 GB, free: 6.316 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005322/0.3352, allocations: 1.209 MB / 0.9577 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007161/0.336, allocations: 234.9 kB / 0.958 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008025/0.3368, allocations: 301 kB / 0.9582 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004788/0.3417, allocations: 1.902 MB / 0.9601 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.3417, allocations: 0 / 0.9601 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.357e-06/0.3417, allocations: 0 / 0.9601 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.199e-05/0.3418, allocations: 0 / 0.9601 GB, free: 2.668 MB / 0.6042 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.005008/0.3468, allocations: 1.491 MB / 0.9616 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3469, allocations: 8.031 kB / 0.9616 GB, free: 1.113 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008833/0.3478, allocations: 167.1 kB / 0.9617 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.3516, allocations: 1.095 MB / 0.9628 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3518, allocations: 66 kB / 0.9629 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003391/0.3522, allocations: 99.73 kB / 0.963 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/0.3556, allocations: 0.8895 MB / 0.9638 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/0.3557, allocations: 7.922 kB / 0.9638 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.3559, allocations: 36 kB / 0.9639 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.163e-05/0.356, allocations: 24 kB / 0.9639 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.3587, allocations: 0.6402 MB / 0.9645 GB, free: 14.02 MB / 0.6198 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.0115/0.3703, allocations: 4.277 MB / 0.9687 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.3724, allocations: 0.501 MB / 0.9692 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.3737, allocations: 318.8 kB / 0.9695 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.3749, allocations: 0.6057 MB / 0.9701 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.461e-05/0.375, allocations: 43.12 kB / 0.9701 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 4.869e-06/0.3751, allocations: 0 / 0.9701 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.005661/0.3807, allocations: 1.209 MB / 0.9713 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.3808, allocations: 59.97 kB / 0.9714 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/0.3834, allocations: 0.8674 MB / 0.9722 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000196/0.3837, allocations: 37.7 kB / 0.9722 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008511/0.3846, allocations: 0.5151 MB / 0.9727 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/0.385, allocations: 201.1 kB / 0.9729 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.3851, allocations: 16 kB / 0.9729 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.3853, allocations: 333.9 kB / 0.9733 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/0.3862, allocations: 205.9 kB / 0.9735 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.3874, allocations: 402.2 kB / 0.9738 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.3885, allocations: 271.1 kB / 0.9741 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.3885, allocations: 4 kB / 0.9741 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003783/0.3923, allocations: 0.8465 MB / 0.9749 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002184/0.3926, allocations: 192 kB / 0.9751 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/0.3926, allocations: 4 kB / 0.9751 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.394, allocations: 163.4 kB / 0.9753 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.3954, allocations: 143.7 kB / 0.9754 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00702/0.4024, allocations: 4.818 MB / 0.9801 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.4047, allocations: 111.3 kB / 0.9802 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.4049, allocations: 35.98 kB / 0.9803 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.405, allocations: 4 kB / 0.9803 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003015/0.408, allocations: 0.7096 MB / 0.981 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.498e-05/0.4081, allocations: 8 kB / 0.981 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007397/0.4088, allocations: 123.3 kB / 0.9811 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.4102, allocations: 139.8 kB / 0.9812 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009018/0.4193, allocations: 5.83 MB / 0.9869 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.4214, allocations: 111.5 kB / 0.987 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.4217, allocations: 35.98 kB / 0.987 GB, free: 5.199 MB / 0.6355 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.001195/0.4229, allocations: 364.9 kB / 0.9874 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004501/0.4233, allocations: 102.8 kB / 0.9875 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.4263, allocations: 0.7108 MB / 0.9882 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.4264, allocations: 4 kB / 0.9882 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.4264, allocations: 4 kB / 0.9882 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002269/0.4287, allocations: 0.6456 MB / 0.9888 GB, free: 3.316 MB / 0.6355 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.006451/0.4352, allocations: 1.804 MB / 0.9906 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.4352, allocations: 4 kB / 0.9906 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.4363, allocations: 87.89 kB / 0.9907 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007825/0.4371, allocations: 135.5 kB / 0.9908 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.541e-05/0.4372, allocations: 12 kB / 0.9908 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00689/0.4441, allocations: 4.815 MB / 0.9955 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4442, allocations: 0 / 0.9955 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003727/0.4479, allocations: 1.026 MB / 0.9965 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009947/0.449, allocations: 267.6 kB / 0.9968 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.4493, allocations: 12 kB / 0.9968 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.451, allocations: 63.88 kB / 0.9968 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.4512, allocations: 56.38 kB / 0.9969 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.4513, allocations: 19.98 kB / 0.9969 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001933/0.4533, allocations: 0.598 MB / 0.9975 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.82e-07/0.4533, allocations: 0 / 0.9975 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004922/0.4583, allocations: 0.7054 MB / 0.9982 GB, free: 9.117 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00183/0.4601, allocations: 446.6 kB / 0.9986 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005305/0.4655, allocations: 1.765 MB / 1 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.4655, allocations: 0 / 1 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.4672, allocations: 0.6125 MB / 1.001 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006845/0.4741, allocations: 0.545 MB / 1.001 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007503/0.4817, allocations: 2.448 MB / 1.004 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.4831, allocations: 1.089 MB / 1.005 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002083/0.4852, allocations: 222.1 kB / 1.005 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.4857, allocations: 83.41 kB / 1.005 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/0.4857, allocations: 0 / 1.005 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of Templates: time 0.0871/0.5728, allocations: 23 MB / 1.028 GB, free: 10.96 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)