Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.603/1.603, allocations: 287.4 MB / 303.2 MB, free: 8.34 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.001054/0.001055, allocations: 180.5 kB / 371.8 MB, free: 10.82 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.431/1.431, allocations: 205.4 MB / 0.6304 GB, free: 10.54 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.0007622/0.0007621, allocations: 103.8 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004321, allocations: 11.72 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2009, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.06091/0.2618, allocations: 64.68 MB / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02416/0.286, allocations: 16.4 MB / 1.058 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.2894, allocations: 59.62 kB / 1.059 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00396/0.2934, allocations: 0.9175 MB / 1.059 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006926/0.3004, allocations: 1.914 MB / 1.061 GB, free: 7.977 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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‘. Notification: Performance of NFTyping.typeClassSections: time 0.007493/0.3079, allocations: 2.22 MB / 1.063 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.5237/0.8315, allocations: 41.04 MB / 1.104 GB, free: 27.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02245/0.854, allocations: 13.11 MB / 1.116 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02124/0.8753, allocations: 8.914 MB / 1.125 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01945/0.8948, allocations: 9.459 MB / 1.134 GB, free: 19.99 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.004411/0.8993, allocations: 0.6615 MB / 1.135 GB, free: 19.99 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01404/0.9133, allocations: 2.644 MB / 1.138 GB, free: 19.35 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.006585/0.92, allocations: 2.814 MB / 1.14 GB, free: 17.39 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.008938/0.9289, allocations: 3.365 MB / 1.144 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.03201/0.961, allocations: 27.72 MB / 1.171 GB, free: 3.543 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.961, allocations: 4 kB / 1.171 GB, free: 3.539 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.326e-06/0.9611, allocations: 0 / 1.171 GB, free: 3.539 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001005/0.9621, allocations: 0 / 1.171 GB, free: 3.539 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: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.03659/0.9987, allocations: 13.63 MB / 1.184 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.9987, allocations: 8.031 kB / 1.184 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007797/1.007, allocations: 1.62 MB / 1.186 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03758/1.044, allocations: 17.27 MB / 1.202 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008378/1.045, allocations: 0.6453 MB / 1.203 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0036/1.049, allocations: 0.8841 MB / 1.204 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/1.084, allocations: 12.79 MB / 1.216 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006375/1.084, allocations: 27.77 kB / 1.216 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003307/1.088, allocations: 364 kB / 1.217 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002395/1.088, allocations: 204 kB / 1.217 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02928/1.117, allocations: 11.12 MB / 1.228 GB, free: 9.023 MB / 0.7605 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.09934/1.216, allocations: 52.08 MB / 1.279 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/1.228, allocations: 5.925 MB / 1.284 GB, free: 13.25 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006203/1.234, allocations: 3.927 MB / 1.288 GB, free: 9.316 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00219/1.236, allocations: 2.2 MB / 1.29 GB, free: 6.672 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.276e-05/1.236, allocations: 94.36 kB / 1.291 GB, free: 6.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=484): time 7.414e-06/1.236, allocations: 0 / 1.291 GB, free: 6.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=484): time 0.02442/1.261, allocations: 12.65 MB / 1.303 GB, free: 9.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/1.261, allocations: 360.2 kB / 1.303 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03366/1.295, allocations: 14.98 MB / 1.318 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001597/1.296, allocations: 133.7 kB / 1.318 GB, free: 10 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.008738/1.305, allocations: 5.955 MB / 1.324 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003142/1.308, allocations: 1.725 MB / 1.325 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007171/1.309, allocations: 140 kB / 1.326 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005781/1.309, allocations: 0.6037 MB / 1.326 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006282/1.316, allocations: 3.695 MB / 1.33 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009427/1.325, allocations: 5.981 MB / 1.336 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01655/1.342, allocations: 8.928 MB / 1.344 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.223e-05/1.342, allocations: 12 kB / 1.344 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.02329/1.365, allocations: 11.45 MB / 1.356 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008403/1.366, allocations: 1.345 MB / 1.357 GB, free: 84 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001973/1.366, allocations: 68 kB / 1.357 GB, free: 16 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/1.369, allocations: 1.022 MB / 1.358 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006339/1.375, allocations: 1.572 MB / 1.359 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02571/1.401, allocations: 33.12 MB / 1.392 GB, free: 9.605 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/1.414, allocations: 1.492 MB / 1.393 GB, free: 8.105 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.416, allocations: 288 kB / 1.394 GB, free: 7.824 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/1.416, allocations: 4 kB / 1.394 GB, free: 7.82 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01941/1.435, allocations: 10.35 MB / 1.404 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002721/1.435, allocations: 72.92 kB / 1.404 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/1.437, allocations: 0.9942 MB / 1.405 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00652/1.444, allocations: 1.576 MB / 1.406 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9565/2.4, allocations: 33.34 MB / 1.439 GB, free: 298.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01394/2.414, allocations: 1.409 MB / 1.44 GB, free: 298.1 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001926/2.416, allocations: 292.7 kB / 1.44 GB, free: 298.1 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (837): * Single equations (assignments): 807 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0138/2.43, allocations: 5.411 MB / 1.446 GB, free: 298 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004416/2.435, allocations: 1.161 MB / 1.447 GB, free: 298 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01994/2.454, allocations: 8.585 MB / 1.455 GB, free: 295.7 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0116/2.466, allocations: 6.532 MB / 1.462 GB, free: 293.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/2.466, allocations: 4.594 kB / 1.462 GB, free: 293.2 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009399/2.476, allocations: 2.633 MB / 1.464 GB, free: 292.4 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004966/2.481, allocations: 122.4 kB / 1.464 GB, free: 292.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009273/2.49, allocations: 0.5545 MB / 1.465 GB, free: 292.2 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001085/2.491, allocations: 335.8 kB / 1.465 GB, free: 292.2 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01829/2.509, allocations: 8.822 MB / 1.474 GB, free: 289.4 MB / 0.9637 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02394/2.533, allocations: 11.76 MB / 1.485 GB, free: 285 MB / 0.9637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004583/2.538, allocations: 3.228 MB / 1.488 GB, free: 283.8 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.02117/2.559, allocations: 10.57 MB / 1.499 GB, free: 280.2 MB / 0.9637 GB Notification: Performance of Backend: time 1.763e-06/2.559, allocations: 3.5 kB / 1.499 GB, free: 280.2 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.03921/2.598, allocations: 17.21 MB / 1.516 GB, free: 269.6 MB / 0.9637 GB Notification: Performance of SimCode: time 0.07997/2.678, allocations: 37.28 MB / 1.552 GB, free: 235.2 MB / 0.9637 GB Notification: Performance of Templates: time 0.9283/3.607, allocations: 264.3 MB / 1.81 GB, free: 314.2 MB / 0.9793 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)