Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001134/0.001134, allocations: 113.3 kB / 16.42 MB, free: 6.496 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.001153/0.001153, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 285.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9359/0.9359, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 99.86 kB / 0.6822 GB, free: 6.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3689, allocations: 86.97 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.05755/0.4265, allocations: 65.57 MB / 0.8311 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0208/0.4474, allocations: 16.71 MB / 0.8475 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.4492, allocations: 67.62 kB / 0.8475 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.452, allocations: 1.177 MB / 0.8487 GB, free: 72 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.457, allocations: 2.349 MB / 0.851 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.463, allocations: 2.875 MB / 0.8538 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004811/0.4678, allocations: 4.438 MB / 0.8581 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.4698, allocations: 1.465 MB / 0.8595 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.473, allocations: 1.652 MB / 0.8612 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.4749, allocations: 1.303 MB / 0.8624 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003922/0.4753, allocations: 184 kB / 0.8626 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004783/0.4801, allocations: 2.699 MB / 0.8652 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000528/0.4807, allocations: 482.3 kB / 0.8657 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.4818, allocations: 1.03 MB / 0.8667 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005554/0.4873, allocations: 4.484 MB / 0.8711 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4874, allocations: 0 / 0.8711 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4874, allocations: 0 / 0.8711 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.794e-05/0.4874, allocations: 4 kB / 0.8711 GB, free: 9.062 MB / 0.6387 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.003758/0.4912, allocations: 2.391 MB / 0.8734 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4912, allocations: 8.031 kB / 0.8734 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005004/0.4917, allocations: 206.6 kB / 0.8736 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.4941, allocations: 1.572 MB / 0.8752 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.4942, allocations: 86.02 kB / 0.8752 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.4944, allocations: 112 kB / 0.8753 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.4962, allocations: 1.108 MB / 0.8764 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.4962, allocations: 0 / 0.8764 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-05/0.4963, allocations: 44 kB / 0.8765 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.4963, allocations: 32 kB / 0.8765 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.4977, allocations: 0.8277 MB / 0.8773 GB, free: 2.5 MB / 0.6387 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.008118/0.5058, allocations: 6.811 MB / 0.884 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009026/0.5067, allocations: 0.7498 MB / 0.8847 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.5072, allocations: 351.4 kB / 0.885 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.5083, allocations: 1.267 MB / 0.8863 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.5083, allocations: 43.16 kB / 0.8863 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.845e-06/0.5083, allocations: 4 kB / 0.8863 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.002087/0.5104, allocations: 1.168 MB / 0.8875 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.5105, allocations: 89.7 kB / 0.8875 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.5123, allocations: 1.513 MB / 0.889 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.5124, allocations: 41.7 kB / 0.8891 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/0.5129, allocations: 0.7092 MB / 0.8897 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.5131, allocations: 252.2 kB / 0.89 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.5133, allocations: 194.5 kB / 0.8902 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5135, allocations: 341.9 kB / 0.8905 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.5139, allocations: 288.7 kB / 0.8908 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.5145, allocations: 497.5 kB / 0.8913 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009661/0.5155, allocations: 0.7146 MB / 0.8919 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.5155, allocations: 7.984 kB / 0.892 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001628/0.5171, allocations: 1.016 MB / 0.8929 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5171, allocations: 8 kB / 0.893 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.5172, allocations: 7.938 kB / 0.893 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/0.5174, allocations: 78.05 kB / 0.893 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.5181, allocations: 191.8 kB / 0.8932 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.5203, allocations: 3.32 MB / 0.8965 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008564/0.5212, allocations: 106.9 kB / 0.8966 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.5213, allocations: 39.98 kB / 0.8966 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008599/0.5221, allocations: 0.5839 MB / 0.8972 GB, free: 12.61 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005878/0.5227, allocations: 482.6 kB / 0.8976 GB, free: 12.07 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009472/0.5237, allocations: 0.7145 MB / 0.8983 GB, free: 11.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.504e-06/0.5237, allocations: 0 / 0.8983 GB, free: 11.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.001542/0.5253, allocations: 1.016 MB / 0.8993 GB, free: 10.28 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.5253, allocations: 4.438 kB / 0.8993 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.5253, allocations: 12 kB / 0.8993 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.5255, allocations: 69.69 kB / 0.8994 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.5261, allocations: 195.7 kB / 0.8996 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.5282, allocations: 3.305 MB / 0.9028 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/0.5291, allocations: 91.23 kB / 0.9029 GB, free: 6.328 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.5292, allocations: 40.05 kB / 0.9029 GB, free: 6.289 MB / 0.67 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.0002083/0.5294, allocations: 240.7 kB / 0.9032 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.5296, allocations: 154.1 kB / 0.9033 GB, free: 5.895 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.5313, allocations: 1.05 MB / 0.9043 GB, free: 4.836 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/0.5324, allocations: 0.7849 MB / 0.9051 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5324, allocations: 0 / 0.9051 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/0.5329, allocations: 346.8 kB / 0.9054 GB, free: 3.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.5331, allocations: 16 kB / 0.9055 GB, free: 3.645 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.5336, allocations: 27.83 kB / 0.9055 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.5337, allocations: 48.58 kB / 0.9055 GB, free: 3.566 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001713/0.5354, allocations: 0.9347 MB / 0.9064 GB, free: 2.621 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001708/0.5371, allocations: 1.41 MB / 0.9078 GB, free: 1.188 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004188/0.5376, allocations: 337.4 kB / 0.9081 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001339/0.5389, allocations: 1.052 MB / 0.9092 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of Backend: time 2.1e-07/0.5389, allocations: 0 / 0.9092 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004707/0.5436, allocations: 2.398 MB / 0.9115 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006424/0.5501, allocations: 3.815 MB / 0.9152 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of Templates: time 0.3622/0.9123, allocations: 42.71 MB / 0.9569 GB, free: 179.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)