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.BoreholeDynamics.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.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.2/2.2, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001335/0.001335, allocations: 178.2 kB / 326.3 MB, free: 2.848 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.357/2.357, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.0009516/0.0009515, allocations: 99.5 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004577, allocations: 11.84 kB / 0.7958 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1972, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 1.09/1.287, allocations: 270 MB / 1.163 GB, free: 8.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1287/1.416, allocations: 65.6 MB / 1.227 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01664/1.433, allocations: 310.1 kB / 1.228 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01725/1.45, allocations: 3.346 MB / 1.231 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.04317/1.493, allocations: 9.785 MB / 1.24 GB, free: 9.012 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.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.02931/1.523, allocations: 6.272 MB / 1.247 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 1.922/3.445, allocations: 234.5 MB / 1.476 GB, free: 16.29 MB / 0.9168 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1659/3.611, allocations: 72.4 MB / 1.546 GB, free: 21.01 MB / 0.9324 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1356/3.747, allocations: 52.09 MB / 1.597 GB, free: 14.83 MB / 0.9324 GB Notification: Performance of NFSimplifyModel.simplify: time 0.14/3.887, allocations: 53.2 MB / 1.649 GB, free: 4.785 MB / 0.9637 GB Notification: Performance of NFPackage.collectConstants: time 0.02638/3.913, allocations: 3.68 MB / 1.653 GB, free: 1.105 MB / 0.9637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06943/3.983, allocations: 7.993 MB / 1.66 GB, free: 10.2 MB / 0.9793 GB Notification: Performance of NFScalarize.scalarize: time 0.0412/4.024, allocations: 14.92 MB / 1.675 GB, free: 15.94 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.05255/4.077, allocations: 18.77 MB / 1.693 GB, free: 5.137 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 2.048/6.124, allocations: 150.9 MB / 1.841 GB, free: 87.38 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/6.125, allocations: 0 / 1.841 GB, free: 87.38 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.645e-06/6.125, allocations: 0.9844 kB / 1.841 GB, free: 87.38 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.005084/6.13, allocations: 0 / 1.841 GB, free: 87.38 MB / 1.089 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.2847/6.414, allocations: 75.84 MB / 1.915 GB, free: 54.62 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 8.02e-05/6.414, allocations: 7.812 kB / 1.915 GB, free: 54.62 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06451/6.479, allocations: 9.136 MB / 1.924 GB, free: 50.11 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3392/6.818, allocations: 94.42 MB / 2.016 GB, free: 23.05 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006333/6.825, allocations: 3.812 MB / 2.02 GB, free: 22.95 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02891/6.854, allocations: 5.107 MB / 2.025 GB, free: 22.91 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2881/7.142, allocations: 76.16 MB / 2.099 GB, free: 7.016 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.005145/7.147, allocations: 148.1 kB / 2.099 GB, free: 6.922 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02714/7.174, allocations: 2.068 MB / 2.101 GB, free: 4.871 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0026/7.177, allocations: 1.467 MB / 2.103 GB, free: 3.426 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2528/7.43, allocations: 65.62 MB / 2.167 GB, free: 2.203 MB / 1.183 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 2.507/9.937, allocations: 372.7 MB / 2.531 GB, free: 285.2 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1378/10.07, allocations: 40.62 MB / 2.57 GB, free: 264.5 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1202/10.19, allocations: 37.28 MB / 2.607 GB, free: 232.6 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/10.21, allocations: 5.25 MB / 2.612 GB, free: 226.4 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/10.21, allocations: 369.4 kB / 2.612 GB, free: 226 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05167/10.26, allocations: 5.293 MB / 2.617 GB, free: 221.5 MB / 1.292 GB Notification: Performance of pre-optimization done (n=2661): time 7.922e-05/10.26, allocations: 0 / 2.617 GB, free: 221.5 MB / 1.292 GB Notification: Performance of matching and sorting (n=2661): time 0.2221/10.48, allocations: 68.18 MB / 2.684 GB, free: 151.9 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000333/10.48, allocations: 0.8264 MB / 2.685 GB, free: 151 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2292/10.71, allocations: 80.04 MB / 2.763 GB, free: 71.74 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.009351/10.72, allocations: 0.5954 MB / 2.763 GB, free: 71.14 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.06164/10.78, allocations: 35.77 MB / 2.798 GB, free: 36.7 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.01817/10.8, allocations: 9.464 MB / 2.808 GB, free: 27.3 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01013/10.81, allocations: 0.7969 MB / 2.808 GB, free: 26.51 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 5.633e-05/10.81, allocations: 305.1 kB / 2.809 GB, free: 26.21 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06335/10.87, allocations: 21.23 MB / 2.829 GB, free: 4.953 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784/12.66, allocations: 32.95 MB / 2.862 GB, free: 483.9 MB / 1.293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08/12.74, allocations: 27.53 MB / 2.889 GB, free: 478.6 MB / 1.293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004683/12.74, allocations: 67.34 kB / 2.889 GB, free: 478.6 MB / 1.293 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.2222/12.96, allocations: 68.36 MB / 2.955 GB, free: 454.4 MB / 1.293 GB Notification: Performance of prepare postOptimizeDAE: time 0.005508/12.97, allocations: 7.584 MB / 2.963 GB, free: 443.7 MB / 1.293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001918/12.97, allocations: 354.8 kB / 2.963 GB, free: 443.3 MB / 1.293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08327/13.05, allocations: 43.64 MB / 3.006 GB, free: 401.6 MB / 1.293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05629/13.11, allocations: 7.78 MB / 3.013 GB, free: 394.8 MB / 1.293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1551/13.26, allocations: 123.8 MB / 3.134 GB, free: 266.4 MB / 1.293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1007/13.36, allocations: 6.172 MB / 3.14 GB, free: 260.4 MB / 1.293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01102/13.37, allocations: 1.621 MB / 3.142 GB, free: 258.8 MB / 1.293 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/13.37, allocations: 0 / 3.142 GB, free: 258.8 MB / 1.293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1935/13.57, allocations: 62.54 MB / 3.203 GB, free: 195.8 MB / 1.293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001841/13.57, allocations: 348 kB / 3.203 GB, free: 195.4 MB / 1.293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08043/13.65, allocations: 41.26 MB / 3.243 GB, free: 153.6 MB / 1.293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08643/13.74, allocations: 7.78 MB / 3.251 GB, free: 145.8 MB / 1.293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1779/13.91, allocations: 127.4 MB / 3.376 GB, free: 9.926 MB / 1.293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09708/14.01, allocations: 6.106 MB / 3.381 GB, free: 3.988 MB / 1.293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.9768/14.99, allocations: 1.611 MB / 3.383 GB, free: 411.1 MB / 1.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 64 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 60 {(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,(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: 4 {32 530,1 4,1 4,12 228} Notification: Performance of prepare postOptimizeDAE: time 0.08959/15.08, allocations: 29.51 MB / 3.412 GB, free: 410.9 MB / 1.293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02837/15.11, allocations: 6.298 MB / 3.418 GB, free: 410.9 MB / 1.293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1916/15.3, allocations: 51.89 MB / 3.469 GB, free: 399.6 MB / 1.293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1356/15.43, allocations: 40.13 MB / 3.508 GB, free: 384.4 MB / 1.293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001833/15.43, allocations: 0 / 3.508 GB, free: 384.4 MB / 1.293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05747/15.49, allocations: 13.39 MB / 3.521 GB, free: 377.2 MB / 1.293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02999/15.52, allocations: 0.5242 MB / 3.521 GB, free: 376.8 MB / 1.293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07991/15.6, allocations: 3.392 MB / 3.525 GB, free: 376.3 MB / 1.293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009191/15.61, allocations: 1.562 MB / 3.526 GB, free: 376.1 MB / 1.293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2148/15.83, allocations: 56.53 MB / 3.582 GB, free: 330.2 MB / 1.293 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1842/16.01, allocations: 63.66 MB / 3.644 GB, free: 266.4 MB / 1.293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.04397/16.05, allocations: 18.46 MB / 3.662 GB, free: 247.9 MB / 1.293 GB Notification: Performance of sorting global known variables: time 0.1657/16.22, allocations: 56.79 MB / 3.717 GB, free: 191.4 MB / 1.293 GB Notification: Performance of Backend: time 1.122e-06/16.22, allocations: 0 / 3.717 GB, free: 191.4 MB / 1.293 GB Notification: Performance of simCode: created initialization part: time 0.2747/16.49, allocations: 85.19 MB / 3.8 GB, free: 105.4 MB / 1.293 GB Notification: Performance of SimCode: time 1.702/18.2, allocations: 210.5 MB / 4.006 GB, free: 320.8 MB / 1.293 GB Notification: Performance of Templates: time 6.685/24.88, allocations: 1.426 GB / 5.432 GB, free: 290 MB / 1.308 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1)