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.001085/0.001085, allocations: 105.6 kB / 16.41 MB, free: 6.492 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.001135/0.001135, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 290.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 103.8 kB / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3734, allocations: 86.97 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06081/0.4343, allocations: 65.57 MB / 0.8311 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02272/0.457, allocations: 16.73 MB / 0.8475 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.4593, allocations: 67.62 kB / 0.8475 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.4627, allocations: 1.173 MB / 0.8487 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006018/0.4687, allocations: 2.416 MB / 0.851 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006809/0.4755, allocations: 2.863 MB / 0.8538 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005488/0.481, allocations: 4.453 MB / 0.8582 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.4832, allocations: 1.477 MB / 0.8596 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/0.4866, allocations: 1.652 MB / 0.8612 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.4887, allocations: 1.291 MB / 0.8625 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004529/0.4892, allocations: 184 kB / 0.8627 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005283/0.4945, allocations: 2.711 MB / 0.8653 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006312/0.4951, allocations: 482.3 kB / 0.8658 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.4967, allocations: 1.03 MB / 0.8668 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006915/0.5037, allocations: 4.488 MB / 0.8712 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5037, allocations: 0 / 0.8712 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5037, allocations: 0 / 0.8712 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.327e-05/0.5038, allocations: 0 / 0.8712 GB, free: 9.004 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.004798/0.5086, allocations: 2.395 MB / 0.8735 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5087, allocations: 8.031 kB / 0.8735 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/0.5093, allocations: 210.6 kB / 0.8737 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.5121, allocations: 1.566 MB / 0.8752 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/0.5122, allocations: 86.08 kB / 0.8753 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.5124, allocations: 104 kB / 0.8754 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.5143, allocations: 1.116 MB / 0.8765 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.5144, allocations: 0 / 0.8765 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/0.5145, allocations: 44 kB / 0.8766 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.5145, allocations: 24 kB / 0.8766 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.5159, allocations: 0.8316 MB / 0.8774 GB, free: 2.441 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.007916/0.5238, allocations: 6.811 MB / 0.884 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009685/0.5248, allocations: 0.7435 MB / 0.8848 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004914/0.5253, allocations: 358.2 kB / 0.8851 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.5264, allocations: 1.267 MB / 0.8863 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.5265, allocations: 43.16 kB / 0.8864 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 3.387e-06/0.5265, allocations: 0 / 0.8864 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.002207/0.5287, allocations: 1.168 MB / 0.8875 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5287, allocations: 93.7 kB / 0.8876 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.5308, allocations: 1.517 MB / 0.8891 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.5309, allocations: 41.7 kB / 0.8891 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.5315, allocations: 0.7015 MB / 0.8898 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.5317, allocations: 260.2 kB / 0.8901 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.532, allocations: 190.5 kB / 0.8903 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5321, allocations: 341.9 kB / 0.8906 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.5326, allocations: 296.7 kB / 0.8909 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.5332, allocations: 490.5 kB / 0.8913 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.5343, allocations: 0.7224 MB / 0.892 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.5343, allocations: 0 / 0.892 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001789/0.5361, allocations: 1.021 MB / 0.893 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5361, allocations: 8 kB / 0.893 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.5361, allocations: 4 kB / 0.893 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.5365, allocations: 81.61 kB / 0.8931 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.5371, allocations: 183.8 kB / 0.8933 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.5396, allocations: 3.316 MB / 0.8965 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000894/0.5405, allocations: 114.9 kB / 0.8966 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.5406, allocations: 43.98 kB / 0.8967 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000903/0.5415, allocations: 0.5761 MB / 0.8973 GB, free: 12.55 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006273/0.5421, allocations: 486.6 kB / 0.8977 GB, free: 12.01 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001031/0.5432, allocations: 0.7106 MB / 0.8984 GB, free: 11.26 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.5432, allocations: 0 / 0.8984 GB, free: 11.26 MB / 0.67 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.001747/0.545, allocations: 1.024 MB / 0.8994 GB, free: 10.21 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.545, allocations: 4 kB / 0.8994 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.545, allocations: 8 kB / 0.8994 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.5452, allocations: 65.69 kB / 0.8995 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.5458, allocations: 199.9 kB / 0.8997 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.5482, allocations: 3.301 MB / 0.9029 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009231/0.5491, allocations: 95.23 kB / 0.903 GB, free: 6.266 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.5492, allocations: 39.98 kB / 0.903 GB, free: 6.227 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.0002175/0.5494, allocations: 232.8 kB / 0.9032 GB, free: 5.992 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.5497, allocations: 158.1 kB / 0.9034 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.5515, allocations: 1.051 MB / 0.9044 GB, free: 4.781 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/0.5526, allocations: 0.7849 MB / 0.9052 GB, free: 3.965 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5526, allocations: 3.938 kB / 0.9052 GB, free: 3.961 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.5532, allocations: 338.9 kB / 0.9055 GB, free: 3.609 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.5534, allocations: 16 kB / 0.9055 GB, free: 3.594 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/0.554, allocations: 27.89 kB / 0.9056 GB, free: 3.566 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.5541, allocations: 56.58 kB / 0.9056 GB, free: 3.508 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001852/0.556, allocations: 0.9346 MB / 0.9065 GB, free: 2.562 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001804/0.5578, allocations: 1.406 MB / 0.9079 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004386/0.5583, allocations: 337.4 kB / 0.9082 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001499/0.5598, allocations: 1.052 MB / 0.9092 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of Backend: time 4.51e-07/0.5598, allocations: 0 / 0.9092 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005029/0.5648, allocations: 2.406 MB / 0.9116 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006268/0.5711, allocations: 3.818 MB / 0.9153 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of Templates: time 0.3639/0.935, allocations: 42.71 MB / 0.957 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)