Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007653/0.0007653, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008055/0.0008055, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7385/0.7385, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002862, allocations: 8 kB / 0.5034 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3427, allocations: 81.58 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.05608/0.3989, allocations: 60.31 MB / 0.642 GB, free: 4.086 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.4179, allocations: 15.49 MB / 0.6571 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.4198, allocations: 59.62 kB / 0.6572 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.4223, allocations: 0.908 MB / 0.6581 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.4267, allocations: 1.9 MB / 0.6599 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.4317, allocations: 2.169 MB / 0.6621 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00509/0.4368, allocations: 4.88 MB / 0.6668 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.4385, allocations: 1.069 MB / 0.6679 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.4407, allocations: 1.303 MB / 0.6691 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.4423, allocations: 1.186 MB / 0.6703 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.4426, allocations: 76 kB / 0.6704 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.4464, allocations: 2.028 MB / 0.6723 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004216/0.4468, allocations: 358.5 kB / 0.6727 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.4473, allocations: 404.8 kB / 0.6731 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.4505, allocations: 3.25 MB / 0.6762 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4505, allocations: 0 / 0.6762 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4505, allocations: 0 / 0.6762 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.597e-05/0.4505, allocations: 0 / 0.6762 GB, free: 0.9688 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003344/0.4539, allocations: 2.072 MB / 0.6783 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.4539, allocations: 12.03 kB / 0.6783 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.4544, allocations: 213.5 kB / 0.6785 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.4567, allocations: 1.457 MB / 0.6799 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.4568, allocations: 90.06 kB / 0.68 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.4569, allocations: 116 kB / 0.6801 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.4587, allocations: 1.097 MB / 0.6812 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.4587, allocations: 3.938 kB / 0.6812 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.4588, allocations: 44 kB / 0.6812 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.4589, allocations: 28 kB / 0.6812 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.4603, allocations: 0.82 MB / 0.682 GB, free: 10.84 MB / 0.5137 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.00699/0.4673, allocations: 6.808 MB / 0.6887 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008819/0.4681, allocations: 0.7401 MB / 0.6894 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.4686, allocations: 348.5 kB / 0.6898 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000984/0.4696, allocations: 1.282 MB / 0.691 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.4697, allocations: 39.22 kB / 0.691 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 2.244e-06/0.4697, allocations: 0 / 0.691 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.001934/0.4716, allocations: 1.179 MB / 0.6922 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.4717, allocations: 85.77 kB / 0.6923 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.4735, allocations: 1.489 MB / 0.6937 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.4735, allocations: 45.64 kB / 0.6938 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005381/0.4741, allocations: 0.7092 MB / 0.6945 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.4743, allocations: 260.2 kB / 0.6947 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.4743, allocations: 20 kB / 0.6947 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4744, allocations: 345.9 kB / 0.6951 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.4749, allocations: 273.9 kB / 0.6953 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.4755, allocations: 486.5 kB / 0.6958 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.476, allocations: 358.9 kB / 0.6961 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.476, allocations: 0 / 0.6961 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001515/0.4775, allocations: 1.009 MB / 0.6971 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/0.4777, allocations: 192.1 kB / 0.6973 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.4777, allocations: 4 kB / 0.6973 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/0.4779, allocations: 77.67 kB / 0.6974 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.4786, allocations: 195.7 kB / 0.6976 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.4806, allocations: 2.97 MB / 0.7005 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/0.4815, allocations: 151 kB / 0.7006 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.4815, allocations: 35.98 kB / 0.7006 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.4816, allocations: 6.344 kB / 0.7006 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001322/0.4829, allocations: 0.841 MB / 0.7015 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4829, allocations: 7.984 kB / 0.7015 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.4831, allocations: 65.69 kB / 0.7015 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.4837, allocations: 191.7 kB / 0.7017 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.4856, allocations: 2.965 MB / 0.7046 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/0.4864, allocations: 139.1 kB / 0.7047 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.4864, allocations: 39.98 kB / 0.7048 GB, free: 1.746 MB / 0.5294 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 (107): * Single equations (assignments): 104 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005384/0.487, allocations: 444.9 kB / 0.7052 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.4872, allocations: 162 kB / 0.7054 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.4888, allocations: 1.039 MB / 0.7064 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.4889, allocations: 11.98 kB / 0.7064 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4889, allocations: 3.953 kB / 0.7064 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.4899, allocations: 0.781 MB / 0.7072 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/0.4936, allocations: 2.695 MB / 0.7098 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4937, allocations: 4.438 kB / 0.7098 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/0.4942, allocations: 139.8 kB / 0.7099 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.4944, allocations: 73.62 kB / 0.71 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.4944, allocations: 27.98 kB / 0.71 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.4964, allocations: 2.974 MB / 0.7129 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4964, allocations: 4 kB / 0.7129 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.4982, allocations: 1.397 MB / 0.7143 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.4986, allocations: 382.7 kB / 0.7147 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.4988, allocations: 23.98 kB / 0.7147 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.4995, allocations: 55.81 kB / 0.7147 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.4996, allocations: 68.38 kB / 0.7148 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.4996, allocations: 27.98 kB / 0.7148 GB, free: 6.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001335/0.501, allocations: 1.053 MB / 0.7159 GB, free: 5.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.501, allocations: 0 / 0.7159 GB, free: 5.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002469/0.5034, allocations: 1.076 MB / 0.7169 GB, free: 4.762 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/0.5048, allocations: 0.776 MB / 0.7177 GB, free: 3.992 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.507, allocations: 1.688 MB / 0.7193 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.507, allocations: 4.375 kB / 0.7193 GB, free: 2.238 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.5077, allocations: 0.5941 MB / 0.7199 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/0.5109, allocations: 0.7986 MB / 0.7207 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.5149, allocations: 3.479 MB / 0.7241 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/0.5156, allocations: 1.277 MB / 0.7253 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00114/0.5168, allocations: 375.6 kB / 0.7257 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.5171, allocations: 119.4 kB / 0.7258 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.5171, allocations: 0 / 0.7258 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.05144/0.5685, allocations: 36.5 MB / 0.7614 GB, free: 7.48 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)