Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 184.3 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006891/0.0006892, allocations: 88.19 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.000313, allocations: 15.97 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1775, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.05498/0.2325, allocations: 85.36 MB / 0.9802 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03118/0.2637, allocations: 25.32 MB / 1.005 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004186/0.268, allocations: 103.4 kB / 1.005 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004702/0.2727, allocations: 1.53 MB / 1.006 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009816/0.2825, allocations: 3.695 MB / 1.01 GB, free: 15.79 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.008767/0.2913, allocations: 3.781 MB / 1.014 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01177/0.3031, allocations: 10.72 MB / 1.024 GB, free: 1.293 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003097/0.3062, allocations: 2.281 MB / 1.026 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004285/0.3105, allocations: 2.458 MB / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.3134, allocations: 2.302 MB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000341/0.3137, allocations: 148 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00658/0.3203, allocations: 3.198 MB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008069/0.3211, allocations: 0.6339 MB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.323, allocations: 1.648 MB / 1.037 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008366/0.3314, allocations: 7.048 MB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3314, allocations: 0 / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3314, allocations: 0 / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.879e-05/0.3315, allocations: 0 / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.005369/0.3369, allocations: 3.279 MB / 1.047 GB, free: 10.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3369, allocations: 8.031 kB / 1.047 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008297/0.3378, allocations: 375.9 kB / 1.047 GB, free: 9.723 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003665/0.3415, allocations: 2.552 MB / 1.05 GB, free: 7.094 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.951e-05/0.3416, allocations: 160.1 kB / 1.05 GB, free: 6.934 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.3418, allocations: 219.9 kB / 1.05 GB, free: 6.719 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.3454, allocations: 2.194 MB / 1.052 GB, free: 4.414 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.3454, allocations: 0 / 1.052 GB, free: 4.414 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.3456, allocations: 88 kB / 1.052 GB, free: 4.328 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.3457, allocations: 56 kB / 1.052 GB, free: 4.273 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.3483, allocations: 1.675 MB / 1.054 GB, free: 2.582 MB / 0.698 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.374/0.7223, allocations: 9.293 MB / 1.063 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.7241, allocations: 1.19 MB / 1.064 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.7251, allocations: 0.8256 MB / 1.065 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/0.7271, allocations: 2.924 MB / 1.068 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.7271, allocations: 49.39 kB / 1.068 GB, free: 141.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 3.908e-06/0.7271, allocations: 0.625 kB / 1.068 GB, free: 141.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.005827/0.733, allocations: 2.735 MB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.733, allocations: 94.69 kB / 1.071 GB, free: 140.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004219/0.7372, allocations: 2.245 MB / 1.073 GB, free: 140.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.7374, allocations: 53.92 kB / 1.073 GB, free: 140.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009103/0.7383, allocations: 1.197 MB / 1.074 GB, free: 139.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/0.7387, allocations: 0.5144 MB / 1.074 GB, free: 139 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.739, allocations: 163.6 kB / 1.075 GB, free: 138.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.739, allocations: 303.5 kB / 1.075 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.7401, allocations: 0.5702 MB / 1.075 GB, free: 138.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.7416, allocations: 0.9458 MB / 1.076 GB, free: 137.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.7437, allocations: 1.486 MB / 1.078 GB, free: 136.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.7438, allocations: 2.594 kB / 1.078 GB, free: 136.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00398/0.7478, allocations: 2.126 MB / 1.08 GB, free: 136 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.7479, allocations: 289.4 kB / 1.08 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.7479, allocations: 12.45 kB / 1.08 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.7489, allocations: 277.6 kB / 1.08 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.7502, allocations: 386 kB / 1.081 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/0.7539, allocations: 7.057 MB / 1.088 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.7559, allocations: 309 kB / 1.088 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.756, allocations: 74.55 kB / 1.088 GB, free: 128.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/0.756, allocations: 3.719 kB / 1.088 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002934/0.759, allocations: 1.818 MB / 1.09 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.759, allocations: 12.39 kB / 1.09 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004382/0.7595, allocations: 211.9 kB / 1.09 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.7605, allocations: 388.2 kB / 1.09 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/0.7652, allocations: 9.114 MB / 1.099 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.7671, allocations: 288.8 kB / 1.1 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.7673, allocations: 69.12 kB / 1.1 GB, free: 118.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001276/0.7686, allocations: 0.6625 MB / 1.1 GB, free: 118.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005748/0.7691, allocations: 253.1 kB / 1.101 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.773, allocations: 2.023 MB / 1.103 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001948/0.775, allocations: 1.654 MB / 1.104 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.775, allocations: 0 / 1.104 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000868/0.7758, allocations: 0.5429 MB / 1.105 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.7761, allocations: 27.88 kB / 1.105 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.7772, allocations: 132.1 kB / 1.105 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.7773, allocations: 108.5 kB / 1.105 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003159/0.7805, allocations: 1.945 MB / 1.107 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002802/0.7833, allocations: 2.607 MB / 1.109 GB, free: 113.1 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007073/0.784, allocations: 0.6733 MB / 1.11 GB, free: 112.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001769/0.7858, allocations: 1.511 MB / 1.112 GB, free: 112 MB / 0.698 GB Notification: Performance of Backend: time 3.61e-07/0.7858, allocations: 0 / 1.112 GB, free: 112 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006478/0.7923, allocations: 4.519 MB / 1.116 GB, free: 108.6 MB / 0.698 GB Notification: Performance of SimCode: time 0.008521/0.8009, allocations: 7.329 MB / 1.123 GB, free: 101.3 MB / 0.698 GB Notification: Performance of Templates: time 0.07791/0.8788, allocations: 66.83 MB / 1.188 GB, free: 34.97 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)