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.Examples.BoreholeDynamics.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.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001182/0.001182, allocations: 178.2 kB / 326.5 MB, free: 2.688 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.572/1.572, allocations: 205 MB / 0.5767 GB, free: 20.98 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.0007997/0.0007996, allocations: 95.86 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 11.8 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1841, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.6944/0.8785, allocations: 290.1 MB / 1.18 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.09418/0.9728, allocations: 70.12 MB / 1.249 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01752/0.9903, allocations: 326.1 kB / 1.249 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01537/1.006, allocations: 4.067 MB / 1.253 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.03592/1.042, allocations: 11.77 MB / 1.264 GB, free: 1.18 MB / 0.7761 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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‘. [/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.02316/1.065, allocations: 8.494 MB / 1.273 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 1.523/2.588, allocations: 273.6 MB / 1.54 GB, free: 16.75 MB / 0.9168 GB Notification: Performance of NFFlatten.resolveConnections: time 0.168/2.756, allocations: 79.96 MB / 1.618 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1347/2.89, allocations: 52.94 MB / 1.67 GB, free: 2.016 MB / 0.9793 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1228/3.013, allocations: 56.32 MB / 1.725 GB, free: 13.82 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.02754/3.041, allocations: 3.684 MB / 1.728 GB, free: 10.14 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07178/3.113, allocations: 9.922 MB / 1.738 GB, free: 0.7695 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.03979/3.153, allocations: 15.54 MB / 1.753 GB, free: 1.512 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.1272/3.28, allocations: 43.34 MB / 1.795 GB, free: 7.641 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 1.557/4.837, allocations: 171 MB / 1.962 GB, free: 57.25 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/4.837, allocations: 0 / 1.962 GB, free: 57.25 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.795e-06/4.837, allocations: 2.531 kB / 1.962 GB, free: 57.25 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.005963/4.843, allocations: 0 / 1.962 GB, free: 57.25 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12889 * Number of variables: 12889 Notification: Performance of Generate backend data structure: time 0.2071/5.05, allocations: 75 MB / 2.036 GB, free: 16.57 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/5.05, allocations: 15.67 kB / 2.036 GB, free: 16.56 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05721/5.108, allocations: 9.131 MB / 2.045 GB, free: 12.05 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2257/5.333, allocations: 96.92 MB / 2.139 GB, free: 13.61 MB / 1.136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004903/5.338, allocations: 3.808 MB / 2.143 GB, free: 11.9 MB / 1.136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02383/5.362, allocations: 5.098 MB / 2.148 GB, free: 10.23 MB / 1.136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2243/5.586, allocations: 76.56 MB / 2.223 GB, free: 1.445 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003148/5.59, allocations: 148.2 kB / 2.223 GB, free: 1.352 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.979/6.569, allocations: 2.075 MB / 2.225 GB, free: 405.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001481/6.57, allocations: 1.459 MB / 2.226 GB, free: 405.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1507/6.721, allocations: 66.01 MB / 2.291 GB, free: 397.8 MB / 1.198 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.488/7.209, allocations: 372.7 MB / 2.655 GB, free: 40.05 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 1.08/8.289, allocations: 40.75 MB / 2.694 GB, free: 352.9 MB / 1.199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05395/8.343, allocations: 25.9 MB / 2.72 GB, free: 352.5 MB / 1.199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006159/8.349, allocations: 5.251 MB / 2.725 GB, free: 347.2 MB / 1.199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006839/8.35, allocations: 369.5 kB / 2.725 GB, free: 347.1 MB / 1.199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04625/8.396, allocations: 5.289 MB / 2.73 GB, free: 347.1 MB / 1.199 GB Notification: Performance of pre-optimization done (n=2661): time 0.0001704/8.396, allocations: 1.312 kB / 2.73 GB, free: 347.1 MB / 1.199 GB Notification: Performance of matching and sorting (n=2661): time 0.1506/8.547, allocations: 68.47 MB / 2.797 GB, free: 331.8 MB / 1.199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002421/8.547, allocations: 0.8239 MB / 2.798 GB, free: 331.1 MB / 1.199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1796/8.727, allocations: 80.58 MB / 2.877 GB, free: 302.3 MB / 1.199 GB Notification: Performance of collectPreVariables (initialization): time 0.007433/8.734, allocations: 0.5954 MB / 2.877 GB, free: 301.7 MB / 1.199 GB Notification: Performance of collectInitialEqns (initialization): time 0.04572/8.78, allocations: 35.78 MB / 2.912 GB, free: 270.5 MB / 1.199 GB Notification: Performance of collectInitialBindings (initialization): time 0.01526/8.795, allocations: 9.459 MB / 2.922 GB, free: 262 MB / 1.199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01284/8.808, allocations: 3.755 MB / 2.925 GB, free: 258.8 MB / 1.199 GB Notification: Performance of setup shared object (initialization): time 4.684e-05/8.808, allocations: 305 kB / 2.925 GB, free: 258.5 MB / 1.199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0409/8.849, allocations: 21.42 MB / 2.946 GB, free: 240.8 MB / 1.199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05174/8.901, allocations: 33.14 MB / 2.979 GB, free: 204.7 MB / 1.199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07192/8.973, allocations: 51.32 MB / 3.029 GB, free: 150 MB / 1.199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002678/8.973, allocations: 73.31 kB / 3.029 GB, free: 150 MB / 1.199 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1399/9.113, allocations: 68.77 MB / 3.096 GB, free: 80.67 MB / 1.199 GB Notification: Performance of prepare postOptimizeDAE: time 0.003077/9.116, allocations: 7.582 MB / 3.103 GB, free: 69.69 MB / 1.199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008381/9.117, allocations: 360 kB / 3.104 GB, free: 69.34 MB / 1.199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6672/9.784, allocations: 43.46 MB / 3.146 GB, free: 325.5 MB / 1.199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03111/9.815, allocations: 7.771 MB / 3.154 GB, free: 325.5 MB / 1.199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09926/9.915, allocations: 123.9 MB / 3.275 GB, free: 242.4 MB / 1.199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07393/9.989, allocations: 6.17 MB / 3.281 GB, free: 241.7 MB / 1.199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01128/10, allocations: 1.616 MB / 3.282 GB, free: 241.4 MB / 1.199 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/10, allocations: 3.969 kB / 3.282 GB, free: 241.4 MB / 1.199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1295/10.13, allocations: 62.89 MB / 3.344 GB, free: 217.1 MB / 1.199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001348/10.13, allocations: 357.2 kB / 3.344 GB, free: 217.1 MB / 1.199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04921/10.18, allocations: 41.66 MB / 3.385 GB, free: 179.5 MB / 1.199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02995/10.21, allocations: 7.779 MB / 3.392 GB, free: 172.8 MB / 1.199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09746/10.31, allocations: 127.5 MB / 3.517 GB, free: 46.8 MB / 1.199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06507/10.37, allocations: 6.106 MB / 3.523 GB, free: 42.67 MB / 1.199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009952/10.38, allocations: 1.614 MB / 3.525 GB, free: 41.11 MB / 1.199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1088 * 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 (4218): * Single equations (assignments): 4114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 64 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 60 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(32,530), (1,4), (1,4), (11,229)} Notification: Performance of prepare postOptimizeDAE: time 0.07527/10.46, allocations: 29.51 MB / 3.553 GB, free: 14.3 MB / 1.199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02972/10.49, allocations: 6.298 MB / 3.56 GB, free: 10.8 MB / 1.199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7681/11.26, allocations: 52.03 MB / 3.61 GB, free: 290.5 MB / 1.199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07738/11.33, allocations: 40.3 MB / 3.65 GB, free: 280.9 MB / 1.199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001275/11.33, allocations: 3.75 kB / 3.65 GB, free: 280.9 MB / 1.199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04712/11.38, allocations: 12.44 MB / 3.662 GB, free: 277.2 MB / 1.199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02597/11.41, allocations: 0.5335 MB / 3.662 GB, free: 276.9 MB / 1.199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04915/11.46, allocations: 3.393 MB / 3.666 GB, free: 276.4 MB / 1.199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007346/11.46, allocations: 1.557 MB / 3.667 GB, free: 276.2 MB / 1.199 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1173/11.58, allocations: 56.73 MB / 3.723 GB, free: 258.9 MB / 1.199 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1232/11.7, allocations: 63.92 MB / 3.785 GB, free: 220.2 MB / 1.199 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02802/11.73, allocations: 18.6 MB / 3.803 GB, free: 201.6 MB / 1.199 GB Notification: Performance of sorting global known variables: time 0.1228/11.85, allocations: 57.32 MB / 3.859 GB, free: 144.6 MB / 1.199 GB Notification: Performance of Backend: time 9.92e-07/11.85, allocations: 3.938 kB / 3.859 GB, free: 144.6 MB / 1.199 GB Notification: Performance of simCode: created initialization part: time 0.1793/12.03, allocations: 85.66 MB / 3.943 GB, free: 58.7 MB / 1.199 GB Notification: Performance of SimCode: time 1.103/13.14, allocations: 216 MB / 4.154 GB, free: 225 MB / 1.23 GB Notification: Performance of Templates: time 3.916/17.05, allocations: 1.462 GB / 5.616 GB, free: 264.1 MB / 1.324 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1)