Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00119/0.00119, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001476/0.001475, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005146, allocations: 22.3 kB / 0.6736 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2388, allocations: 116.3 MB / 0.7872 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.05452/0.2934, allocations: 54.5 MB / 0.8404 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.3143, allocations: 14.38 MB / 0.8544 GB, free: 6.906 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.3173, allocations: 51.62 kB / 0.8545 GB, free: 6.855 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004005/0.3213, allocations: 1.077 MB / 0.8555 GB, free: 5.773 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007736/0.3291, allocations: 2.223 MB / 0.8577 GB, free: 3.547 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008516/0.3376, allocations: 2.776 MB / 0.8604 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005812/0.3435, allocations: 2.619 MB / 0.863 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.3457, allocations: 1.081 MB / 0.864 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.3485, allocations: 1.187 MB / 0.8652 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.3499, allocations: 0.875 MB / 0.866 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.35, allocations: 80 kB / 0.8661 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.3542, allocations: 1.943 MB / 0.868 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004389/0.3547, allocations: 346.7 kB / 0.8683 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.3553, allocations: 404.8 kB / 0.8687 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004433/0.3598, allocations: 3.207 MB / 0.8718 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3598, allocations: 0 / 0.8718 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3598, allocations: 3.938 kB / 0.8719 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.429e-05/0.3598, allocations: 0 / 0.8719 GB, free: 5.031 MB / 0.6856 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.003838/0.3637, allocations: 2.045 MB / 0.8738 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3637, allocations: 11.98 kB / 0.8739 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.3642, allocations: 213.6 kB / 0.8741 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.3666, allocations: 1.392 MB / 0.8754 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.3667, allocations: 82.08 kB / 0.8755 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.3669, allocations: 115.9 kB / 0.8756 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.3686, allocations: 1.093 MB / 0.8767 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.3686, allocations: 4 kB / 0.8767 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.3687, allocations: 44 kB / 0.8767 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.3687, allocations: 28 kB / 0.8767 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.37, allocations: 0.8199 MB / 0.8776 GB, free: 15.01 MB / 0.7012 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.008259/0.3783, allocations: 6.858 MB / 0.8842 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.3793, allocations: 0.739 MB / 0.885 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.3805, allocations: 1.275 MB / 0.8862 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.3806, allocations: 43.2 kB / 0.8863 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 2.865e-06/0.3806, allocations: 0 / 0.8863 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.002263/0.3828, allocations: 1.165 MB / 0.8874 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3829, allocations: 81.77 kB / 0.8875 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.3849, allocations: 1.528 MB / 0.889 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/0.385, allocations: 41.7 kB / 0.889 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/0.3856, allocations: 0.7052 MB / 0.8897 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.3859, allocations: 260.2 kB / 0.8899 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.3859, allocations: 20 kB / 0.89 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3861, allocations: 345.8 kB / 0.8903 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/0.3865, allocations: 277.9 kB / 0.8906 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.3871, allocations: 496.3 kB / 0.891 GB, free: 8 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.3877, allocations: 366.8 kB / 0.8914 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3877, allocations: 0 / 0.8914 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001614/0.3893, allocations: 1.001 MB / 0.8924 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005156/0.3899, allocations: 1.349 MB / 0.8937 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.3899, allocations: 4 kB / 0.8937 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/0.3902, allocations: 77.62 kB / 0.8937 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.391, allocations: 195.7 kB / 0.8939 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.3934, allocations: 2.985 MB / 0.8969 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.3947, allocations: 158.7 kB / 0.897 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.3948, allocations: 39.98 kB / 0.897 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.3948, allocations: 4 kB / 0.897 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001421/0.3962, allocations: 0.841 MB / 0.8979 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.3963, allocations: 8 kB / 0.8979 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.3964, allocations: 70.09 kB / 0.8979 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.3971, allocations: 183.8 kB / 0.8981 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.3994, allocations: 2.978 MB / 0.901 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.4008, allocations: 150.1 kB / 0.9012 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.885e-05/0.401, allocations: 36 kB / 0.9012 GB, free: 4.898 MB / 0.7169 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.0008765/0.4018, allocations: 460.8 kB / 0.9016 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.4021, allocations: 154.1 kB / 0.9018 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.4039, allocations: 1.048 MB / 0.9028 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.4039, allocations: 11.98 kB / 0.9028 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4039, allocations: 4 kB / 0.9028 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/0.405, allocations: 0.7771 MB / 0.9036 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004235/0.4092, allocations: 2.714 MB / 0.9062 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4092, allocations: 4.438 kB / 0.9062 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/0.4098, allocations: 143.8 kB / 0.9064 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.41, allocations: 69.69 kB / 0.9064 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.41, allocations: 19.98 kB / 0.9065 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.4123, allocations: 2.99 MB / 0.9094 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4123, allocations: 4 kB / 0.9094 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.4145, allocations: 1.624 MB / 0.911 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007914/0.4153, allocations: 398.8 kB / 0.9114 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.4155, allocations: 24.08 kB / 0.9114 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.4162, allocations: 55.81 kB / 0.9114 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.4163, allocations: 64.42 kB / 0.9115 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.4163, allocations: 35.92 kB / 0.9115 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001624/0.418, allocations: 1.084 MB / 0.9126 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.418, allocations: 0 / 0.9126 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003282/0.4213, allocations: 1.096 MB / 0.9137 GB, free: 7.457 MB / 0.7325 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.001836/0.4231, allocations: 0.8256 MB / 0.9145 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.4257, allocations: 1.7 MB / 0.9161 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.4257, allocations: 0 / 0.9161 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007341/0.4265, allocations: 0.5952 MB / 0.9167 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003937/0.4304, allocations: 0.7944 MB / 0.9175 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4256/0.8561, allocations: 3.445 MB / 0.9208 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/0.8575, allocations: 1.307 MB / 0.9221 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00199/0.8596, allocations: 369.2 kB / 0.9225 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.8599, allocations: 127 kB / 0.9226 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.064e-06/0.8599, allocations: 0 / 0.9226 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.06738/0.9273, allocations: 37.58 MB / 0.9593 GB, free: 113.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) Environment - environmentSimulation: