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 2.745/2.745, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.002273/0.002273, allocations: 174.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001139/0.001139, allocations: 108.9 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006552, allocations: 15.31 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2322, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.08342/0.3156, allocations: 54.5 MB / 1.031 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03118/0.3469, allocations: 14.39 MB / 1.046 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00289/0.3498, allocations: 51.62 kB / 1.046 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005395/0.3553, allocations: 1.082 MB / 1.047 GB, free: 6.184 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009793/0.3651, allocations: 2.214 MB / 1.049 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01221/0.3773, allocations: 2.779 MB / 1.051 GB, free: 1.23 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007095/0.3845, allocations: 2.634 MB / 1.054 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.387, allocations: 1.077 MB / 1.055 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/0.391, allocations: 1.191 MB / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/0.3934, allocations: 0.875 MB / 1.057 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004872/0.394, allocations: 76 kB / 1.057 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006808/0.4008, allocations: 1.935 MB / 1.059 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009487/0.4018, allocations: 346.7 kB / 1.059 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009212/0.4027, allocations: 408.8 kB / 1.06 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007305/0.41, allocations: 3.211 MB / 1.063 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4101, allocations: 0 / 1.063 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.875e-06/0.4101, allocations: 0 / 1.063 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.452e-05/0.4102, allocations: 0 / 1.063 GB, free: 5.441 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.005908/0.4161, allocations: 2.042 MB / 1.065 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4162, allocations: 8.031 kB / 1.065 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009674/0.4172, allocations: 221.5 kB / 1.065 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00435/0.4215, allocations: 1.399 MB / 1.067 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.4217, allocations: 82.08 kB / 1.067 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.422, allocations: 112 kB / 1.067 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.425, allocations: 1.093 MB / 1.068 GB, free: 324 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/0.4251, allocations: 0 / 1.068 GB, free: 324 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/0.4253, allocations: 48 kB / 1.068 GB, free: 276 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.4254, allocations: 24 kB / 1.068 GB, free: 252 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6303/1.056, allocations: 0.8182 MB / 1.069 GB, free: 89.09 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.01412/1.07, allocations: 6.839 MB / 1.075 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/1.072, allocations: 0.7522 MB / 1.076 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/1.073, allocations: 1.276 MB / 1.077 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/1.073, allocations: 39.23 kB / 1.077 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.807e-06/1.073, allocations: 0 / 1.077 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.003957/1.077, allocations: 1.164 MB / 1.078 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/1.077, allocations: 88.67 kB / 1.079 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003884/1.081, allocations: 1.528 MB / 1.08 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/1.082, allocations: 42.52 kB / 1.08 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008697/1.082, allocations: 0.7036 MB / 1.081 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004754/1.083, allocations: 256.5 kB / 1.081 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-05/1.083, allocations: 19.91 kB / 1.081 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.083, allocations: 341.3 kB / 1.081 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009102/1.084, allocations: 275.9 kB / 1.082 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.085, allocations: 499.1 kB / 1.082 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/1.086, allocations: 356.6 kB / 1.082 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/1.086, allocations: 1.344 kB / 1.082 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003148/1.089, allocations: 1.011 MB / 1.083 GB, free: 78.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003182/1.09, allocations: 1.352 MB / 1.085 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.774e-05/1.09, allocations: 5.312 kB / 1.085 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/1.09, allocations: 84.81 kB / 1.085 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.092, allocations: 187.5 kB / 1.085 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/1.095, allocations: 2.991 MB / 1.088 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/1.097, allocations: 148.8 kB / 1.088 GB, free: 74.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/1.097, allocations: 39.12 kB / 1.088 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.097, allocations: 3.719 kB / 1.088 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00261/1.1, allocations: 0.8408 MB / 1.089 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/1.1, allocations: 9.969 kB / 1.089 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/1.1, allocations: 66.47 kB / 1.089 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/1.101, allocations: 193.3 kB / 1.089 GB, free: 73.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/1.104, allocations: 2.978 MB / 1.092 GB, free: 70.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/1.106, allocations: 146.5 kB / 1.092 GB, free: 70.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/1.107, allocations: 38.34 kB / 1.092 GB, free: 70.82 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.001173/1.108, allocations: 452.1 kB / 1.093 GB, free: 70.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005069/1.108, allocations: 155.3 kB / 1.093 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/1.111, allocations: 1.052 MB / 1.094 GB, free: 69.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/1.111, allocations: 9.469 kB / 1.094 GB, free: 69.95 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.111, allocations: 5.922 kB / 1.094 GB, free: 69.95 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001801/1.113, allocations: 0.7771 MB / 1.095 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007777/1.121, allocations: 2.705 MB / 1.097 GB, free: 68.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.121, allocations: 6.719 kB / 1.097 GB, free: 68.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.122, allocations: 136.2 kB / 1.097 GB, free: 68.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003681/1.123, allocations: 78.06 kB / 1.098 GB, free: 68.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-05/1.123, allocations: 21.03 kB / 1.098 GB, free: 68.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/1.125, allocations: 2.996 MB / 1.1 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.125, allocations: 5.219 kB / 1.1 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/1.129, allocations: 1.632 MB / 1.102 GB, free: 63.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.13, allocations: 398.8 kB / 1.102 GB, free: 63.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/1.131, allocations: 17.25 kB / 1.102 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.132, allocations: 58.95 kB / 1.103 GB, free: 63.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/1.132, allocations: 63.91 kB / 1.103 GB, free: 63.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.132, allocations: 29.97 kB / 1.103 GB, free: 63.65 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002803/1.135, allocations: 1.083 MB / 1.104 GB, free: 63.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.7e-07/1.135, allocations: 0.875 kB / 1.104 GB, free: 63.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005134/1.14, allocations: 1.094 MB / 1.105 GB, free: 63.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 Backend phase and start with SimCode phase: time 0.002926/1.143, allocations: 0.8274 MB / 1.106 GB, free: 62.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004284/1.148, allocations: 1.696 MB / 1.107 GB, free: 61.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.148, allocations: 1.25 kB / 1.107 GB, free: 61.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/1.149, allocations: 0.5971 MB / 1.108 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007079/1.156, allocations: 0.7937 MB / 1.109 GB, free: 61.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007921/1.164, allocations: 3.46 MB / 1.112 GB, free: 59.22 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/1.165, allocations: 1.305 MB / 1.113 GB, free: 58.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002633/1.168, allocations: 371.4 kB / 1.114 GB, free: 58.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/1.169, allocations: 127.1 kB / 1.114 GB, free: 58.38 MB / 0.6823 GB Notification: Performance of SimCode: time 1.262e-06/1.169, allocations: 4 kB / 1.114 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of Templates: time 0.09417/1.263, allocations: 37.58 MB / 1.15 GB, free: 32.13 MB / 0.6823 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)