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.BoreholeOneUTube.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.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.284/2.284, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001352/0.001351, allocations: 178.6 kB / 326.3 MB, free: 2.871 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.242/2.242, 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.0009329/0.0009327, allocations: 93.94 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004688, allocations: 18.45 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2065, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.0774/0.284, allocations: 64.67 MB / 0.9627 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03411/0.3182, allocations: 16.42 MB / 0.9787 GB, free: 248 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.3211, allocations: 55.62 kB / 0.9788 GB, free: 192 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00451/0.3257, allocations: 0.9092 MB / 0.9796 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008158/0.3339, allocations: 1.921 MB / 0.9815 GB, free: 13.34 MB / 0.6355 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.009838/0.3437, allocations: 2.209 MB / 0.9837 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.07345/0.4172, allocations: 40.5 MB / 1.023 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02933/0.4466, allocations: 12.32 MB / 1.035 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02409/0.4708, allocations: 8.921 MB / 1.044 GB, free: 13.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02318/0.494, allocations: 9.463 MB / 1.053 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00436/0.4984, allocations: 0.6602 MB / 1.054 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01444/0.5129, allocations: 2.645 MB / 1.056 GB, free: 404 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.193/1.706, allocations: 2.81 MB / 1.059 GB, free: 48.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.008507/1.714, allocations: 3.367 MB / 1.062 GB, free: 48.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.04289/1.757, allocations: 27.72 MB / 1.09 GB, free: 44.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/1.757, allocations: 3.406 kB / 1.09 GB, free: 44.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.865e-06/1.757, allocations: 0 / 1.09 GB, free: 44.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0009869/1.758, allocations: 0 / 1.09 GB, free: 44.99 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.05438/1.813, allocations: 13.76 MB / 1.103 GB, free: 37.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.629e-05/1.813, allocations: 10.38 kB / 1.103 GB, free: 37.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/1.825, allocations: 1.629 MB / 1.105 GB, free: 36.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0545/1.879, allocations: 16.83 MB / 1.121 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009438/1.88, allocations: 0.6481 MB / 1.122 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004626/1.885, allocations: 0.8764 MB / 1.123 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04505/1.93, allocations: 12.79 MB / 1.135 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005925/1.93, allocations: 32.73 kB / 1.135 GB, free: 28.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003833/1.934, allocations: 355.3 kB / 1.135 GB, free: 28.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002051/1.935, allocations: 208.2 kB / 1.136 GB, free: 28.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03673/1.971, allocations: 11.12 MB / 1.146 GB, free: 26.19 MB / 0.698 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.1291/2.1, allocations: 52.08 MB / 1.197 GB, free: 2.426 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01845/2.119, allocations: 5.93 MB / 1.203 GB, free: 12.5 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01241/2.131, allocations: 3.927 MB / 1.207 GB, free: 8.559 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003734/2.135, allocations: 2.199 MB / 1.209 GB, free: 5.914 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/2.135, allocations: 94.36 kB / 1.209 GB, free: 5.812 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=484): time 8.867e-06/2.136, allocations: 0 / 1.209 GB, free: 5.812 MB / 0.7293 GB Notification: Performance of matching and sorting (n=484): time 0.04594/2.181, allocations: 12.63 MB / 1.221 GB, free: 8.773 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002237/2.182, allocations: 364.2 kB / 1.222 GB, free: 8.344 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05118/2.233, allocations: 14.97 MB / 1.236 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.002031/2.235, allocations: 137.7 kB / 1.237 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.01374/2.249, allocations: 5.956 MB / 1.242 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.004243/2.253, allocations: 1.719 MB / 1.244 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/2.254, allocations: 140 kB / 1.244 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0009268/2.255, allocations: 0.5997 MB / 1.245 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01254/2.268, allocations: 3.699 MB / 1.248 GB, free: 13.2 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01644/2.284, allocations: 5.98 MB / 1.254 GB, free: 6.434 MB / 0.7762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01574/2.3, allocations: 4.831 MB / 1.259 GB, free: 1.645 MB / 0.7762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.496e-05/2.3, allocations: 15.66 kB / 1.259 GB, free: 1.633 MB / 0.7762 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.04312/2.343, allocations: 11.45 MB / 1.27 GB, free: 6.324 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 0.001575/2.345, allocations: 1.349 MB / 1.271 GB, free: 4.426 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003933/2.346, allocations: 63.98 kB / 1.272 GB, free: 4.363 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004379/2.35, allocations: 1.024 MB / 1.273 GB, free: 3.285 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01237/2.362, allocations: 1.572 MB / 1.274 GB, free: 1.805 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04152/2.404, allocations: 33.1 MB / 1.306 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02156/2.426, allocations: 1.504 MB / 1.308 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002504/2.428, allocations: 288 kB / 1.308 GB, free: 12.46 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/2.428, allocations: 4 kB / 1.308 GB, free: 12.46 MB / 0.8387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03834/2.467, allocations: 10.36 MB / 1.318 GB, free: 2.277 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003737/2.467, allocations: 71.92 kB / 1.318 GB, free: 2.207 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003728/2.471, allocations: 0.9839 MB / 1.319 GB, free: 1.168 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01248/2.483, allocations: 1.572 MB / 1.321 GB, free: 15.69 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04164/2.525, allocations: 33.36 MB / 1.353 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02093/2.546, allocations: 1.411 MB / 1.355 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002635/2.549, allocations: 288 kB / 1.355 GB, free: 10.17 MB / 0.8855 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.01954/2.568, allocations: 5.415 MB / 1.36 GB, free: 4.836 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006131/2.574, allocations: 1.154 MB / 1.361 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03693/2.611, allocations: 8.605 MB / 1.37 GB, free: 11.07 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02421/2.636, allocations: 6.535 MB / 1.376 GB, free: 4.488 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.805e-05/2.636, allocations: 0 / 1.376 GB, free: 4.488 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01331/2.649, allocations: 2.633 MB / 1.379 GB, free: 1.82 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006572/2.656, allocations: 116 kB / 1.379 GB, free: 1.707 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01584/2.672, allocations: 0.5559 MB / 1.379 GB, free: 1.152 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002038/2.674, allocations: 327.3 kB / 1.38 GB, free: 0.832 MB / 0.9012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0361/2.71, allocations: 8.835 MB / 1.388 GB, free: 8.027 MB / 0.9168 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.7445/3.454, allocations: 11.76 MB / 1.4 GB, free: 310.1 MB / 0.9168 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008877/3.463, allocations: 3.23 MB / 1.403 GB, free: 310.1 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.03556/3.499, allocations: 10.57 MB / 1.413 GB, free: 309.5 MB / 0.9168 GB Notification: Performance of Backend: time 9.92e-07/3.499, allocations: 1.312 kB / 1.413 GB, free: 309.5 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.05603/3.555, allocations: 17.18 MB / 1.43 GB, free: 300.6 MB / 0.9168 GB Notification: Performance of SimCode: time 0.1259/3.681, allocations: 37.39 MB / 1.467 GB, free: 276.9 MB / 0.9168 GB Notification: Performance of Templates: time 0.6184/4.299, allocations: 263.8 MB / 1.724 GB, free: 15.29 MB / 0.9168 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)