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.001241/0.001241, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001211/0.001211, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.839/1.839, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001537/0.001537, allocations: 67.91 kB / 0.673 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1947, allocations: 114.5 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.4009/0.5957, allocations: 65.57 MB / 0.8489 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02181/0.6175, allocations: 16.64 MB / 0.8651 GB, free: 9.762 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00318/0.6208, allocations: 65.75 kB / 0.8652 GB, free: 9.738 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004158/0.6249, allocations: 1.177 MB / 0.8663 GB, free: 9.082 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00769/0.6326, allocations: 2.347 MB / 0.8686 GB, free: 7.711 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00922/0.6419, allocations: 2.92 MB / 0.8715 GB, free: 6.168 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007515/0.6494, allocations: 4.432 MB / 0.8758 GB, free: 3.684 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/0.6521, allocations: 1.473 MB / 0.8772 GB, free: 2.762 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004308/0.6565, allocations: 1.624 MB / 0.8788 GB, free: 1.793 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/0.6591, allocations: 1.293 MB / 0.8801 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005917/0.6597, allocations: 182.8 kB / 0.8803 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006855/0.6666, allocations: 2.721 MB / 0.8829 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008049/0.6674, allocations: 488.5 kB / 0.8834 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.6697, allocations: 1.027 MB / 0.8844 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008415/0.6782, allocations: 4.511 MB / 0.8888 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6782, allocations: 0 / 0.8888 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6782, allocations: 5 kB / 0.8888 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.531e-05/0.6783, allocations: 0 / 0.8888 GB, free: 11.48 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.006438/0.6848, allocations: 2.385 MB / 0.8911 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6848, allocations: 16.83 kB / 0.8911 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000834/0.6857, allocations: 217 kB / 0.8913 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003529/0.6892, allocations: 1.545 MB / 0.8929 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.6893, allocations: 83.86 kB / 0.8929 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.6895, allocations: 114.2 kB / 0.893 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.6915, allocations: 1.107 MB / 0.8941 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.6915, allocations: 1.406 kB / 0.8941 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.6916, allocations: 47.03 kB / 0.8942 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.6917, allocations: 24.75 kB / 0.8942 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.6931, allocations: 0.8323 MB / 0.895 GB, free: 7.148 MB / 0.6856 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.008435/0.7016, allocations: 6.8 MB / 0.9016 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.7026, allocations: 0.7393 MB / 0.9024 GB, free: 360 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.7031, allocations: 358.3 kB / 0.9027 GB, free: 184 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.7043, allocations: 1.266 MB / 0.9039 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.7043, allocations: 46.69 kB / 0.904 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 3.356e-06/0.7043, allocations: 0 / 0.904 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.00241/0.7068, allocations: 1.175 MB / 0.9051 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.7068, allocations: 84.36 kB / 0.9052 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.7089, allocations: 1.506 MB / 0.9067 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.21e-05/0.709, allocations: 45.64 kB / 0.9067 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000573/0.7096, allocations: 0.7131 MB / 0.9074 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.7098, allocations: 256.2 kB / 0.9077 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.7101, allocations: 190.5 kB / 0.9079 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7102, allocations: 341.9 kB / 0.9082 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.7107, allocations: 284.7 kB / 0.9085 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.7114, allocations: 0.5025 MB / 0.9089 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.7124, allocations: 0.7146 MB / 0.9096 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.7124, allocations: 0 / 0.9096 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001826/0.7143, allocations: 1.02 MB / 0.9106 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.7143, allocations: 9.688 kB / 0.9106 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.7143, allocations: 8 kB / 0.9107 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.7146, allocations: 77.67 kB / 0.9107 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.7153, allocations: 191.7 kB / 0.9109 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.7176, allocations: 3.314 MB / 0.9141 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.7188, allocations: 102.9 kB / 0.9142 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.433e-05/0.7189, allocations: 44.05 kB / 0.9143 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009458/0.7199, allocations: 0.5811 MB / 0.9149 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006564/0.7205, allocations: 0.4894 MB / 0.9153 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001018/0.7216, allocations: 0.7107 MB / 0.916 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.7216, allocations: 3.938 kB / 0.916 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.001762/0.7233, allocations: 1.013 MB / 0.917 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.7234, allocations: 11.98 kB / 0.917 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.7234, allocations: 5.641 kB / 0.917 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.7236, allocations: 77.62 kB / 0.9171 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.7243, allocations: 190.1 kB / 0.9173 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.7265, allocations: 3.31 MB / 0.9205 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.7277, allocations: 97.64 kB / 0.9206 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.7278, allocations: 39.98 kB / 0.9207 GB, free: 13.19 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 (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.0002359/0.728, allocations: 233.1 kB / 0.9209 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.7283, allocations: 158.1 kB / 0.921 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.7302, allocations: 1.052 MB / 0.9221 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.7313, allocations: 0.7771 MB / 0.9228 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.7313, allocations: 0 / 0.9228 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/0.7319, allocations: 350.8 kB / 0.9231 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.7321, allocations: 15.94 kB / 0.9232 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.7327, allocations: 30.48 kB / 0.9232 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.7328, allocations: 52.58 kB / 0.9232 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001818/0.7346, allocations: 0.946 MB / 0.9242 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001785/0.7364, allocations: 1.383 MB / 0.9255 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004631/0.7369, allocations: 341.4 kB / 0.9258 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001493/0.7384, allocations: 1.04 MB / 0.9269 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of Backend: time 4.81e-07/0.7384, allocations: 0 / 0.9269 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005447/0.7439, allocations: 2.428 MB / 0.9292 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of SimCode: time 0.006579/0.7505, allocations: 3.808 MB / 0.9329 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of Templates: time 0.06249/0.813, allocations: 42.71 MB / 0.9747 GB, free: 6.297 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (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)