Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.793/1.793, allocations: 288.4 MB / 304.3 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 176.5 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 0.6316 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009437/0.0009436, allocations: 92.56 kB / 0.745 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004193, allocations: 15.31 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2095, allocations: 115.3 MB / 0.9808 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.06558/0.2751, allocations: 78.27 MB / 1.057 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.5304/0.8056, allocations: 23.86 MB / 1.08 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005881/0.8115, allocations: 99.08 kB / 1.081 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006082/0.8177, allocations: 1.328 MB / 1.082 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01601/0.8337, allocations: 3.362 MB / 1.085 GB, free: 13.86 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.01353/0.8473, allocations: 2.968 MB / 1.088 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.1335/0.9807, allocations: 79.79 MB / 1.166 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05481/1.036, allocations: 26.3 MB / 1.192 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04387/1.08, allocations: 17.18 MB / 1.208 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03854/1.118, allocations: 17.77 MB / 1.226 GB, free: 4.008 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.008422/1.127, allocations: 1.234 MB / 1.227 GB, free: 2.773 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02627/1.153, allocations: 4.108 MB / 1.231 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.01227/1.165, allocations: 4.985 MB / 1.236 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0372/1.202, allocations: 13.9 MB / 1.249 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0667/1.269, allocations: 52.44 MB / 1.301 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.269, allocations: 0 / 1.301 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.439e-06/1.269, allocations: 4 kB / 1.301 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001905/1.271, allocations: 2.406 kB / 1.301 GB, free: 8.539 MB / 0.8386 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.06834/1.34, allocations: 25.2 MB / 1.325 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.34, allocations: 8.031 kB / 1.325 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/1.357, allocations: 3.03 MB / 1.328 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07109/1.428, allocations: 31.9 MB / 1.359 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001555/1.429, allocations: 1.303 MB / 1.361 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007671/1.437, allocations: 1.777 MB / 1.362 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06994/1.507, allocations: 26.52 MB / 1.388 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001052/1.508, allocations: 59.47 kB / 1.388 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00634/1.514, allocations: 0.707 MB / 1.389 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000391/1.515, allocations: 424 kB / 1.389 GB, free: 13.81 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05629/1.571, allocations: 23.57 MB / 1.412 GB, free: 6.215 MB / 0.948 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.23/2.801, allocations: 103.4 MB / 1.513 GB, free: 242.6 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02342/2.824, allocations: 13.42 MB / 1.527 GB, free: 235.4 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01747/2.842, allocations: 9.964 MB / 1.536 GB, free: 230.4 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002936/2.845, allocations: 2.643 MB / 1.539 GB, free: 227.5 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/2.845, allocations: 157 kB / 1.539 GB, free: 227.4 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01467/2.86, allocations: 1.07 MB / 1.54 GB, free: 227 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=1034): time 4.223e-05/2.86, allocations: 0 / 1.54 GB, free: 227 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1034): time 0.05547/2.915, allocations: 27.19 MB / 1.567 GB, free: 204.9 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/2.916, allocations: 155.5 kB / 1.567 GB, free: 204.8 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05226/2.968, allocations: 24.96 MB / 1.591 GB, free: 180 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.00301/2.971, allocations: 245.7 kB / 1.591 GB, free: 179.8 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.01419/2.985, allocations: 10.91 MB / 1.602 GB, free: 169.2 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.006025/2.991, allocations: 3.679 MB / 1.606 GB, free: 165.6 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002896/2.994, allocations: 304 kB / 1.606 GB, free: 165.3 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.001277/2.995, allocations: 0.9468 MB / 1.607 GB, free: 164.3 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01543/3.011, allocations: 7.989 MB / 1.615 GB, free: 156.3 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01939/3.03, allocations: 11.87 MB / 1.626 GB, free: 143.2 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03164/3.062, allocations: 19.25 MB / 1.645 GB, free: 122.7 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/3.062, allocations: 20 kB / 1.645 GB, free: 122.7 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.05443/3.117, allocations: 24.08 MB / 1.669 GB, free: 98.41 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001513/3.118, allocations: 2.566 MB / 1.671 GB, free: 94.71 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003515/3.119, allocations: 116 kB / 1.671 GB, free: 94.6 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004285/3.123, allocations: 2.111 MB / 1.673 GB, free: 92.36 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01395/3.137, allocations: 3.526 MB / 1.677 GB, free: 88.83 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03712/3.174, allocations: 66.68 MB / 1.742 GB, free: 16.79 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02423/3.198, allocations: 2.235 MB / 1.744 GB, free: 14.55 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003503/3.202, allocations: 0.5936 MB / 1.745 GB, free: 13.95 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/3.202, allocations: 5.094 kB / 1.745 GB, free: 13.95 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04856/3.25, allocations: 22.16 MB / 1.766 GB, free: 7.59 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004638/3.251, allocations: 112 kB / 1.766 GB, free: 7.48 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004291/3.255, allocations: 2.029 MB / 1.768 GB, free: 5.32 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01521/3.27, allocations: 3.526 MB / 1.772 GB, free: 1.789 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008/4.279, allocations: 68.29 MB / 1.838 GB, free: 299.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02769/4.306, allocations: 2.198 MB / 1.841 GB, free: 299.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004281/4.311, allocations: 0.5949 MB / 1.841 GB, free: 299.2 MB / 1.026 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.02762/4.338, allocations: 9.919 MB / 1.851 GB, free: 297.9 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007001/4.345, allocations: 2.051 MB / 1.853 GB, free: 297.9 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04245/4.388, allocations: 17.93 MB / 1.87 GB, free: 291 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03168/4.419, allocations: 14.42 MB / 1.884 GB, free: 285.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.382e-05/4.42, allocations: 3.969 kB / 1.884 GB, free: 285.5 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01571/4.435, allocations: 4.668 MB / 1.889 GB, free: 283.4 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008418/4.444, allocations: 242.4 kB / 1.889 GB, free: 283.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0178/4.462, allocations: 1.143 MB / 1.89 GB, free: 283.1 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002939/4.465, allocations: 0.68 MB / 1.891 GB, free: 283 MB / 1.026 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04363/4.508, allocations: 19.12 MB / 1.91 GB, free: 276 MB / 1.026 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04542/4.554, allocations: 25.26 MB / 1.934 GB, free: 258 MB / 1.026 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01051/4.564, allocations: 7.168 MB / 1.941 GB, free: 250.8 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03643/4.601, allocations: 17.63 MB / 1.959 GB, free: 233.3 MB / 1.026 GB Notification: Performance of Backend: time 1.142e-06/4.601, allocations: 0 / 1.959 GB, free: 233.3 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.07486/4.676, allocations: 35.05 MB / 1.993 GB, free: 197.6 MB / 1.026 GB Notification: Performance of SimCode: time 0.1373/4.813, allocations: 69.35 MB / 2.061 GB, free: 128.5 MB / 1.026 GB Notification: Performance of Templates: time 1.187/6, allocations: 498.5 MB / 2.547 GB, free: 47.21 MB / 1.058 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1)