Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.3 MB / 303.2 MB, free: 8.203 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.001045/0.001045, allocations: 177 kB / 371.8 MB, free: 10.29 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.711/1.711, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009551/0.0009551, allocations: 101.6 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.00045, allocations: 12 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2696, allocations: 115.3 MB / 0.9795 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.06447/0.3341, allocations: 71.55 MB / 1.049 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6712/1.005, allocations: 21.69 MB / 1.071 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005096/1.01, allocations: 96.53 kB / 1.071 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006891/1.017, allocations: 1.617 MB / 1.072 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01462/1.032, allocations: 3.871 MB / 1.076 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01243/1.045, allocations: 3.775 MB / 1.08 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01186/1.056, allocations: 4.898 MB / 1.084 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005801/1.062, allocations: 2.09 MB / 1.086 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007393/1.07, allocations: 2.125 MB / 1.089 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/1.075, allocations: 1.589 MB / 1.09 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001347/1.076, allocations: 147.7 kB / 1.09 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01042/1.087, allocations: 2.415 MB / 1.093 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002023/1.089, allocations: 0.573 MB / 1.093 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003754/1.093, allocations: 0.6998 MB / 1.094 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01462/1.107, allocations: 5.343 MB / 1.099 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.107, allocations: 0 / 1.099 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.013e-06/1.107, allocations: 4 kB / 1.099 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002534/1.107, allocations: 1.219 kB / 1.099 GB, free: 10.9 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: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01025/1.118, allocations: 3.283 MB / 1.102 GB, free: 25.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.118, allocations: 8.938 kB / 1.102 GB, free: 25.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/1.12, allocations: 377 kB / 1.103 GB, free: 25.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00756/1.128, allocations: 2.352 MB / 1.105 GB, free: 24.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/1.128, allocations: 167.4 kB / 1.105 GB, free: 24.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009473/1.129, allocations: 222 kB / 1.105 GB, free: 24.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006422/1.135, allocations: 2.156 MB / 1.107 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/1.135, allocations: 3.188 kB / 1.107 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000347/1.136, allocations: 92.42 kB / 1.107 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/1.136, allocations: 48.31 kB / 1.108 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/1.14, allocations: 1.665 MB / 1.109 GB, free: 24.2 MB / 0.698 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.01788/1.158, allocations: 9.362 MB / 1.118 GB, free: 19.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/1.16, allocations: 1.178 MB / 1.119 GB, free: 19.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00332/1.163, allocations: 2.924 MB / 1.122 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.29e-05/1.163, allocations: 56.28 kB / 1.122 GB, free: 15.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 4.258e-06/1.163, allocations: 0 / 1.122 GB, free: 15.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.007922/1.171, allocations: 2.708 MB / 1.125 GB, free: 14.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.171, allocations: 95.17 kB / 1.125 GB, free: 14.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007069/1.178, allocations: 2.308 MB / 1.127 GB, free: 14.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004488/1.179, allocations: 56.23 kB / 1.127 GB, free: 14.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/1.18, allocations: 1.184 MB / 1.129 GB, free: 13.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000793/1.181, allocations: 0.5136 MB / 1.129 GB, free: 13.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/1.181, allocations: 37.09 kB / 1.129 GB, free: 13.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002442/1.181, allocations: 381.7 kB / 1.129 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/1.183, allocations: 0.5575 MB / 1.13 GB, free: 12.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/1.185, allocations: 0.9254 MB / 1.131 GB, free: 12.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/1.187, allocations: 0.7097 MB / 1.132 GB, free: 12.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/1.187, allocations: 2.375 kB / 1.132 GB, free: 12.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005947/1.193, allocations: 2.1 MB / 1.134 GB, free: 11.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001075/1.194, allocations: 2.715 MB / 1.136 GB, free: 9.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.436e-05/1.194, allocations: 9.562 kB / 1.136 GB, free: 9.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/1.196, allocations: 276 kB / 1.137 GB, free: 8.949 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/1.197, allocations: 387.9 kB / 1.137 GB, free: 8.902 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005986/1.203, allocations: 7.075 MB / 1.144 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/1.207, allocations: 314.5 kB / 1.144 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/1.207, allocations: 83.86 kB / 1.144 GB, free: 2.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/1.207, allocations: 4.594 kB / 1.144 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004355/1.212, allocations: 1.797 MB / 1.146 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/1.212, allocations: 9.219 kB / 1.146 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/1.212, allocations: 207.6 kB / 1.146 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.214, allocations: 389.2 kB / 1.147 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008133/1.222, allocations: 9.135 MB / 1.156 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/1.226, allocations: 300.2 kB / 1.156 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004615/1.226, allocations: 70.2 kB / 1.156 GB, free: 9.191 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002591/1.229, allocations: 0.6505 MB / 1.156 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.23, allocations: 256 kB / 1.157 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004617/1.235, allocations: 2.019 MB / 1.159 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/1.235, allocations: 19.77 kB / 1.159 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.235, allocations: 0 / 1.159 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002345/1.237, allocations: 1.648 MB / 1.16 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009219/1.246, allocations: 4.392 MB / 1.165 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/1.246, allocations: 0 / 1.165 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.247, allocations: 273.3 kB / 1.165 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005465/1.248, allocations: 226.6 kB / 1.165 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/1.248, allocations: 39.08 kB / 1.165 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007062/1.255, allocations: 7.092 MB / 1.172 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.255, allocations: 5.719 kB / 1.172 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008483/1.264, allocations: 2.71 MB / 1.175 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003478/1.267, allocations: 0.6194 MB / 1.175 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001395/1.269, allocations: 38.05 kB / 1.175 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003074/1.272, allocations: 134.6 kB / 1.175 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/1.272, allocations: 110.6 kB / 1.176 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/1.272, allocations: 59.12 kB / 1.176 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004567/1.277, allocations: 1.557 MB / 1.177 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.51e-07/1.277, allocations: 0 / 1.177 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01272/1.29, allocations: 1.881 MB / 1.179 GB, free: 13.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005125/1.295, allocations: 1.107 MB / 1.18 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.305, allocations: 3.719 MB / 1.184 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/1.306, allocations: 0 / 1.184 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003232/1.309, allocations: 1.233 MB / 1.185 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/1.323, allocations: 1.302 MB / 1.186 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/1.339, allocations: 6.044 MB / 1.192 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/1.341, allocations: 1.789 MB / 1.194 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005044/1.347, allocations: 0.6047 MB / 1.194 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000851/1.347, allocations: 211.4 kB / 1.195 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of SimCode: time 1.343e-06/1.347, allocations: 0 / 1.195 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.1234/1.471, allocations: 60.82 MB / 1.254 GB, free: 2.105 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)