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.001088/0.001089, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008083/0.008083, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7916/0.7916, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003168, allocations: 8.281 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3905, allocations: 81.58 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06236/0.4529, allocations: 63.87 MB / 0.6461 GB, free: 416 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02277/0.4757, allocations: 16.59 MB / 0.6623 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.4785, allocations: 59.62 kB / 0.6623 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.4822, allocations: 1.042 MB / 0.6634 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006515/0.4887, allocations: 2.13 MB / 0.6654 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00677/0.4955, allocations: 2.593 MB / 0.668 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006759/0.5023, allocations: 5.7 MB / 0.6735 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.5043, allocations: 1.187 MB / 0.6747 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/0.5069, allocations: 1.349 MB / 0.676 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.5091, allocations: 1.256 MB / 0.6772 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.5094, allocations: 83.94 kB / 0.6773 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004816/0.5143, allocations: 2.55 MB / 0.6798 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004739/0.5147, allocations: 370.4 kB / 0.6802 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.5158, allocations: 0.9305 MB / 0.6811 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00495/0.5208, allocations: 4.342 MB / 0.6853 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5208, allocations: 0 / 0.6853 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5208, allocations: 0 / 0.6853 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.5209, allocations: 4 kB / 0.6853 GB, free: 8.129 MB / 0.5137 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.003186/0.524, allocations: 2.045 MB / 0.6873 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5241, allocations: 12.03 kB / 0.6873 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.5245, allocations: 213.9 kB / 0.6875 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.5267, allocations: 1.526 MB / 0.689 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.5268, allocations: 82.08 kB / 0.6891 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.527, allocations: 111.9 kB / 0.6892 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.5288, allocations: 1.112 MB / 0.6903 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.5288, allocations: 4 kB / 0.6903 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.386e-05/0.5289, allocations: 44 kB / 0.6903 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.5289, allocations: 27.94 kB / 0.6904 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.5304, allocations: 0.8316 MB / 0.6912 GB, free: 1.945 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.007587/0.538, allocations: 6.812 MB / 0.6978 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/0.5389, allocations: 0.7441 MB / 0.6986 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005175/0.5394, allocations: 360.5 kB / 0.6989 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.5406, allocations: 1.286 MB / 0.7002 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.5406, allocations: 39.22 kB / 0.7002 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=72): time 2.404e-06/0.5406, allocations: 4 kB / 0.7002 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72): time 0.00216/0.5428, allocations: 1.168 MB / 0.7013 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.5429, allocations: 85.77 kB / 0.7014 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.5449, allocations: 1.512 MB / 0.7029 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.565e-05/0.545, allocations: 37.7 kB / 0.7029 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006101/0.5456, allocations: 0.7092 MB / 0.7036 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.5458, allocations: 256.2 kB / 0.7039 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.546, allocations: 81.67 kB / 0.704 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5461, allocations: 341.9 kB / 0.7043 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.5466, allocations: 281.9 kB / 0.7045 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.5472, allocations: 490.6 kB / 0.705 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.5482, allocations: 0.7145 MB / 0.7057 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5482, allocations: 8 kB / 0.7057 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001661/0.5499, allocations: 1.009 MB / 0.7067 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.55, allocations: 207.6 kB / 0.7069 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.5501, allocations: 4 kB / 0.7069 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/0.5503, allocations: 73.62 kB / 0.707 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.551, allocations: 195.7 kB / 0.7072 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.5532, allocations: 2.982 MB / 0.7101 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.5542, allocations: 139 kB / 0.7102 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/0.5543, allocations: 39.98 kB / 0.7102 GB, free: 12.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.5544, allocations: 4 kB / 0.7102 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001406/0.5558, allocations: 0.8486 MB / 0.7111 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.5558, allocations: 11.94 kB / 0.7111 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.5559, allocations: 62.12 kB / 0.7111 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/0.5566, allocations: 195.7 kB / 0.7113 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.5586, allocations: 2.957 MB / 0.7142 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009722/0.5596, allocations: 142.2 kB / 0.7144 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/0.5597, allocations: 43.98 kB / 0.7144 GB, free: 8.305 MB / 0.545 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006672/0.5604, allocations: 448.8 kB / 0.7148 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.5606, allocations: 158.1 kB / 0.715 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.5624, allocations: 1.053 MB / 0.716 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.5624, allocations: 8 kB / 0.716 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5624, allocations: 0 / 0.716 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/0.5635, allocations: 0.7888 MB / 0.7168 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.5676, allocations: 2.692 MB / 0.7194 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.5677, allocations: 4 kB / 0.7194 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.5682, allocations: 135.8 kB / 0.7195 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.5684, allocations: 73.67 kB / 0.7196 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.5685, allocations: 20 kB / 0.7196 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.5706, allocations: 2.989 MB / 0.7226 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5706, allocations: 4 kB / 0.7226 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.5725, allocations: 1.401 MB / 0.7239 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005824/0.5731, allocations: 386.7 kB / 0.7243 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.5733, allocations: 20 kB / 0.7243 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007068/0.5741, allocations: 59.8 kB / 0.7244 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.5742, allocations: 60.38 kB / 0.7244 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.5742, allocations: 35.98 kB / 0.7245 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001502/0.5757, allocations: 1.064 MB / 0.7255 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5757, allocations: 4 kB / 0.7255 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003353/0.5791, allocations: 1.08 MB / 0.7266 GB, free: 11.29 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002056/0.5812, allocations: 0.822 MB / 0.7274 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002894/0.5841, allocations: 1.703 MB / 0.729 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.036e-06/0.5841, allocations: 0 / 0.729 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008594/0.585, allocations: 0.5923 MB / 0.7296 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004913/0.5899, allocations: 0.8207 MB / 0.7304 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.5945, allocations: 3.588 MB / 0.7339 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008163/0.5953, allocations: 1.274 MB / 0.7352 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001361/0.5967, allocations: 371.6 kB / 0.7355 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.597, allocations: 127.4 kB / 0.7356 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.597, allocations: 0 / 0.7356 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of Templates: time 0.05932/0.6563, allocations: 38.15 MB / 0.7729 GB, free: 12.16 MB / 0.6075 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)