Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.108/2.108, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001337/0.001336, allocations: 180.6 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009461/0.000946, allocations: 90.38 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004785, allocations: 11.97 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 106.3 MB / 0.8995 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.09658/0.3136, allocations: 78.25 MB / 0.9759 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04899/0.3626, allocations: 23.89 MB / 0.9993 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004767/0.3675, allocations: 103.3 kB / 0.9994 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006327/0.3738, allocations: 1.297 MB / 1.001 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01455/0.3884, allocations: 3.171 MB / 1.004 GB, free: 6.473 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02158/0.4101, allocations: 2.876 MB / 1.007 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 1.447/1.857, allocations: 79.23 MB / 1.084 GB, free: 13.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05648/1.914, allocations: 24.57 MB / 1.108 GB, free: 9.496 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04546/1.959, allocations: 17.15 MB / 1.125 GB, free: 9.492 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04147/2.001, allocations: 17.77 MB / 1.142 GB, free: 5.859 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.008854/2.01, allocations: 1.236 MB / 1.143 GB, free: 5.859 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02536/2.035, allocations: 3.522 MB / 1.147 GB, free: 5.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.01301/2.048, allocations: 4.99 MB / 1.152 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01583/2.064, allocations: 6.295 MB / 1.158 GB, free: 16 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.08542/2.15, allocations: 52.25 MB / 1.209 GB, free: 2.312 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/2.15, allocations: 3 kB / 1.209 GB, free: 2.312 MB / 0.7449 GB Notification: Performance of FrontEnd: time 5.791e-06/2.15, allocations: 4 kB / 1.209 GB, free: 2.309 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 0.001648/2.151, allocations: 0 / 1.209 GB, free: 2.309 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.1076/2.259, allocations: 25.46 MB / 1.234 GB, free: 11.15 MB / 0.7762 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/2.259, allocations: 8.031 kB / 1.234 GB, free: 11.14 MB / 0.7762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0186/2.278, allocations: 3.031 MB / 1.237 GB, free: 8.082 MB / 0.7762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1007/2.378, allocations: 31.17 MB / 1.267 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002397/2.381, allocations: 1.307 MB / 1.268 GB, free: 14.12 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008871/2.39, allocations: 1.769 MB / 1.27 GB, free: 12.36 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1007/2.491, allocations: 26.52 MB / 1.296 GB, free: 1.375 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00123/2.492, allocations: 59.52 kB / 1.296 GB, free: 1.316 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007047/2.499, allocations: 0.707 MB / 1.297 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005007/2.499, allocations: 420 kB / 1.297 GB, free: 204 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08431/2.584, allocations: 23.57 MB / 1.32 GB, free: 8.598 MB / 0.8543 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 1.727/4.311, allocations: 103.4 MB / 1.421 GB, free: 271.1 MB / 0.9325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05313/4.364, allocations: 13.42 MB / 1.434 GB, free: 270.8 MB / 0.9325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03525/4.399, allocations: 9.963 MB / 1.444 GB, free: 270.6 MB / 0.9325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005856/4.405, allocations: 2.641 MB / 1.446 GB, free: 267.8 MB / 0.9325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003726/4.406, allocations: 163.5 kB / 1.447 GB, free: 267.8 MB / 0.9325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01999/4.426, allocations: 1.061 MB / 1.448 GB, free: 267.8 MB / 0.9325 GB Notification: Performance of pre-optimization done (n=1034): time 5.219e-05/4.426, allocations: 0 / 1.448 GB, free: 267.8 MB / 0.9325 GB Notification: Performance of matching and sorting (n=1034): time 0.1152/4.541, allocations: 27.16 MB / 1.474 GB, free: 259.9 MB / 0.9325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/4.541, allocations: 156.8 kB / 1.474 GB, free: 259.8 MB / 0.9325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08509/4.626, allocations: 24.97 MB / 1.499 GB, free: 246.1 MB / 0.9325 GB Notification: Performance of collectPreVariables (initialization): time 0.003191/4.63, allocations: 241.7 kB / 1.499 GB, free: 245.8 MB / 0.9325 GB Notification: Performance of collectInitialEqns (initialization): time 0.01832/4.648, allocations: 10.92 MB / 1.51 GB, free: 235.4 MB / 0.9325 GB Notification: Performance of collectInitialBindings (initialization): time 0.006965/4.655, allocations: 3.674 MB / 1.513 GB, free: 231.8 MB / 0.9325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003505/4.658, allocations: 308 kB / 1.513 GB, free: 231.5 MB / 0.9325 GB Notification: Performance of setup shared object (initialization): time 0.00179/4.66, allocations: 0.9391 MB / 1.514 GB, free: 230.6 MB / 0.9325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02342/4.684, allocations: 7.987 MB / 1.522 GB, free: 222.6 MB / 0.9325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02742/4.711, allocations: 11.88 MB / 1.534 GB, free: 209.5 MB / 0.9325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02845/4.74, allocations: 10.27 MB / 1.544 GB, free: 199.4 MB / 0.9325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/4.74, allocations: 24 kB / 1.544 GB, free: 199.4 MB / 0.9325 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.07705/4.817, allocations: 24.08 MB / 1.567 GB, free: 175.1 MB / 0.9325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001632/4.819, allocations: 2.567 MB / 1.57 GB, free: 171.4 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004974/4.819, allocations: 112 kB / 1.57 GB, free: 171.3 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007411/4.827, allocations: 2.111 MB / 1.572 GB, free: 169.1 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02542/4.852, allocations: 3.527 MB / 1.575 GB, free: 165.5 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06305/4.915, allocations: 66.68 MB / 1.641 GB, free: 93.5 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03597/4.951, allocations: 2.226 MB / 1.643 GB, free: 91.27 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003964/4.955, allocations: 0.5948 MB / 1.643 GB, free: 90.68 MB / 0.9325 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/4.955, allocations: 0 / 1.643 GB, free: 90.68 MB / 0.9325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06775/5.023, allocations: 22.17 MB / 1.665 GB, free: 68.31 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004508/5.024, allocations: 109 kB / 1.665 GB, free: 68.2 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006358/5.03, allocations: 2.029 MB / 1.667 GB, free: 66.05 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02535/5.055, allocations: 3.531 MB / 1.671 GB, free: 62.51 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1063/5.162, allocations: 68.29 MB / 1.737 GB, free: 4.738 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03708/5.199, allocations: 2.2 MB / 1.739 GB, free: 2.535 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004183/5.203, allocations: 0.5975 MB / 1.74 GB, free: 1.938 MB / 0.9482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (1820): * Single equations (assignments): 1769 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.03173/5.235, allocations: 9.914 MB / 1.75 GB, free: 8.004 MB / 0.9638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009827/5.245, allocations: 2.053 MB / 1.752 GB, free: 5.926 MB / 0.9638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06887/5.314, allocations: 17.96 MB / 1.769 GB, free: 3.828 MB / 0.9794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7527/6.066, allocations: 14.42 MB / 1.783 GB, free: 298.5 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.214e-05/6.066, allocations: 0.8125 kB / 1.783 GB, free: 298.5 MB / 0.9794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01985/6.086, allocations: 4.671 MB / 1.788 GB, free: 298.4 MB / 0.9794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009534/6.096, allocations: 244.2 kB / 1.788 GB, free: 298.4 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02558/6.121, allocations: 1.139 MB / 1.789 GB, free: 298.4 MB / 0.9794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003609/6.125, allocations: 0.6745 MB / 1.79 GB, free: 298.4 MB / 0.9794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0735/6.199, allocations: 19.13 MB / 1.809 GB, free: 297.6 MB / 0.9794 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06981/6.269, allocations: 25.25 MB / 1.833 GB, free: 289.2 MB / 0.9794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01704/6.286, allocations: 7.166 MB / 1.84 GB, free: 286.5 MB / 0.9794 GB Notification: Performance of sorting global known variables: time 0.0508/6.336, allocations: 17.64 MB / 1.857 GB, free: 280.2 MB / 0.9794 GB Notification: Performance of Backend: time 1.122e-06/6.337, allocations: 4.562 kB / 1.857 GB, free: 280.2 MB / 0.9794 GB Notification: Performance of simCode: created initialization part: time 0.09443/6.431, allocations: 34.97 MB / 1.892 GB, free: 248.4 MB / 0.9794 GB Notification: Performance of SimCode: time 0.2813/6.712, allocations: 69.51 MB / 1.959 GB, free: 179.7 MB / 0.9794 GB Notification: Performance of Templates: time 1.843/8.555, allocations: 492.7 MB / 2.441 GB, free: 58.35 MB / 0.995 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1)