Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.69/1.69, allocations: 287.4 MB / 303.2 MB, free: 8.242 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.001186/0.001186, allocations: 176.1 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.425/1.425, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0007984/0.0007984, allocations: 97.41 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003646, allocations: 11.78 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1952, 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.BaseClasses.Examples.InternalHEXOneUTube): time 0.05513/0.2504, allocations: 60.31 MB / 1.038 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02402/0.2744, allocations: 15.51 MB / 1.053 GB, free: 156 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/0.2776, allocations: 55.62 kB / 1.053 GB, free: 100 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003886/0.2816, allocations: 0.9012 MB / 1.054 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006754/0.2884, allocations: 1.906 MB / 1.056 GB, free: 13.28 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.00708/0.2955, allocations: 2.245 MB / 1.058 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006688/0.3022, allocations: 4.947 MB / 1.063 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.3045, allocations: 1.171 MB / 1.064 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/0.3078, allocations: 1.311 MB / 1.066 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.3103, allocations: 1.178 MB / 1.067 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005224/0.3109, allocations: 80 kB / 1.067 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005393/0.3163, allocations: 2.044 MB / 1.069 GB, free: 288 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.4235/0.7398, allocations: 356.1 kB / 1.069 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.741, allocations: 406.1 kB / 1.07 GB, free: 29.43 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007147/0.7481, allocations: 3.261 MB / 1.073 GB, free: 29.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.7482, allocations: 0 / 1.073 GB, free: 29.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.554e-06/0.7482, allocations: 0.7031 kB / 1.073 GB, free: 29.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.808e-05/0.7482, allocations: 0 / 1.073 GB, free: 29.35 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004629/0.7529, allocations: 2.047 MB / 1.075 GB, free: 28.24 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.7529, allocations: 8.5 kB / 1.075 GB, free: 28.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004892/0.7534, allocations: 214 kB / 1.075 GB, free: 28.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.7561, allocations: 1.515 MB / 1.076 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/0.7562, allocations: 84.33 kB / 1.076 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.7564, allocations: 110.1 kB / 1.077 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.7586, allocations: 1.103 MB / 1.078 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.7587, allocations: 0.9688 kB / 1.078 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.7588, allocations: 44.69 kB / 1.078 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.7588, allocations: 25.22 kB / 1.078 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.7607, allocations: 0.8183 MB / 1.079 GB, free: 27.53 MB / 0.6823 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.008917/0.7696, allocations: 6.821 MB / 1.085 GB, free: 23.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000978/0.7706, allocations: 0.736 MB / 1.086 GB, free: 23.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.7712, allocations: 364.7 kB / 1.086 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000946/0.7721, allocations: 1.276 MB / 1.088 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.7722, allocations: 43.8 kB / 1.088 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.297e-06/0.7722, allocations: 2.734 kB / 1.088 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002533/0.7747, allocations: 1.172 MB / 1.089 GB, free: 21.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.7748, allocations: 89.42 kB / 1.089 GB, free: 21.37 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.7771, allocations: 1.484 MB / 1.09 GB, free: 21.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/0.7772, allocations: 40.98 kB / 1.09 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000571/0.7778, allocations: 0.7018 MB / 1.091 GB, free: 20.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.7781, allocations: 256.2 kB / 1.091 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.7781, allocations: 18.25 kB / 1.091 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.7782, allocations: 343.6 kB / 1.092 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.7787, allocations: 275.6 kB / 1.092 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.7793, allocations: 0.491 MB / 1.092 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.7804, allocations: 0.7123 MB / 1.093 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7804, allocations: 0.8438 kB / 1.093 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001702/0.7821, allocations: 1.013 MB / 1.094 GB, free: 20 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.468e-05/0.7822, allocations: 189.3 kB / 1.094 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.7822, allocations: 5.094 kB / 1.094 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.7825, allocations: 76.98 kB / 1.094 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/0.7832, allocations: 193.5 kB / 1.094 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.785, allocations: 2.972 MB / 1.097 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.7863, allocations: 154.4 kB / 1.097 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.7864, allocations: 39.06 kB / 1.098 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.7864, allocations: 4.906 kB / 1.098 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00137/0.7878, allocations: 0.8345 MB / 1.098 GB, free: 17.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.7878, allocations: 12.61 kB / 1.098 GB, free: 17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.788, allocations: 76.34 kB / 1.098 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.7886, allocations: 187.7 kB / 1.099 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.7902, allocations: 2.963 MB / 1.101 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.7915, allocations: 145.3 kB / 1.102 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/0.7916, allocations: 37 kB / 1.102 GB, free: 14.25 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009412/0.7926, allocations: 453.5 kB / 1.102 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.7929, allocations: 158.4 kB / 1.102 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.7947, allocations: 1.044 MB / 1.103 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.7957, allocations: 0.7793 MB / 1.104 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7958, allocations: 4.531 kB / 1.104 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/0.7965, allocations: 383.4 kB / 1.104 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.7967, allocations: 14.33 kB / 1.104 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/0.7973, allocations: 56.95 kB / 1.104 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.7974, allocations: 47.02 kB / 1.105 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001778/0.7992, allocations: 0.9456 MB / 1.105 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001719/0.801, allocations: 1.394 MB / 1.107 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004258/0.8014, allocations: 336.1 kB / 1.107 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001617/0.803, allocations: 1.024 MB / 1.108 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of Backend: time 1.002e-06/0.803, allocations: 0 / 1.108 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005722/0.8088, allocations: 2.358 MB / 1.11 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of SimCode: time 0.007372/0.8162, allocations: 4.337 MB / 1.115 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of Templates: time 0.06625/0.8825, allocations: 40.06 MB / 1.154 GB, free: 8.562 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)