Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.658/1.658, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009631/0.0009631, allocations: 187.4 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 0.6626 GB, free: 4.285 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008587/0.0008585, allocations: 102.5 kB / 0.7808 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005185, allocations: 12 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7309, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9242/1.655, allocations: 415.9 MB / 1.433 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/1.655, allocations: 130.4 kB / 1.433 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.472/3.128, allocations: 482.7 MB / 1.904 GB, free: 144 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.886e-06/3.128, allocations: 0 / 1.904 GB, free: 144 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002574/3.128, allocations: 46.25 kB / 1.904 GB, free: 144 MB / 0.948 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.006023/3.134, allocations: 2.244 MB / 1.906 GB, free: 142.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/3.134, allocations: 10.78 kB / 1.906 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009066/3.135, allocations: 215.6 kB / 1.906 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003977/3.139, allocations: 1.7 MB / 1.908 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/3.139, allocations: 83.05 kB / 1.908 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/3.139, allocations: 113.4 kB / 1.908 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/3.142, allocations: 1.079 MB / 1.909 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/3.142, allocations: 0 / 1.909 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/3.142, allocations: 43.66 kB / 1.909 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/3.142, allocations: 35.06 kB / 1.909 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/3.143, allocations: 0.7967 MB / 1.91 GB, free: 139.8 MB / 0.948 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.008064/3.151, allocations: 6.458 MB / 1.917 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/3.152, allocations: 0.5493 MB / 1.917 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/3.153, allocations: 343.8 kB / 1.917 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008202/3.153, allocations: 1.266 MB / 1.919 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/3.154, allocations: 45.95 kB / 1.919 GB, free: 132.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 3.096e-06/3.154, allocations: 0 / 1.919 GB, free: 132.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.002078/3.156, allocations: 1.156 MB / 1.92 GB, free: 131.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/3.156, allocations: 88.27 kB / 1.92 GB, free: 131.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/3.158, allocations: 1.502 MB / 1.921 GB, free: 130.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-05/3.158, allocations: 40.98 kB / 1.921 GB, free: 130.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/3.159, allocations: 0.7162 MB / 1.922 GB, free: 129.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/3.159, allocations: 241.6 kB / 1.922 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/3.159, allocations: 16 kB / 1.922 GB, free: 129.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/3.159, allocations: 343.6 kB / 1.923 GB, free: 129.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/3.159, allocations: 266.3 kB / 1.923 GB, free: 129.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/3.16, allocations: 0.4924 MB / 1.923 GB, free: 128.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/3.161, allocations: 0.691 MB / 1.924 GB, free: 128.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/3.161, allocations: 0 / 1.924 GB, free: 128.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00171/3.163, allocations: 0.9888 MB / 1.925 GB, free: 127.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.039e-05/3.163, allocations: 188.8 kB / 1.925 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/3.163, allocations: 7.219 kB / 1.925 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/3.163, allocations: 73.64 kB / 1.925 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/3.164, allocations: 188 kB / 1.925 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/3.165, allocations: 2.975 MB / 1.928 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/3.167, allocations: 148.7 kB / 1.929 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/3.167, allocations: 34.28 kB / 1.929 GB, free: 124.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/3.167, allocations: 3.688 kB / 1.929 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001306/3.168, allocations: 0.8176 MB / 1.929 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/3.168, allocations: 7.844 kB / 1.929 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/3.168, allocations: 66.05 kB / 1.929 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/3.169, allocations: 174 kB / 1.93 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/3.171, allocations: 2.963 MB / 1.932 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/3.172, allocations: 132.6 kB / 1.933 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.346e-05/3.172, allocations: 39.92 kB / 1.933 GB, free: 120.8 MB / 0.948 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 (99): * Single equations (assignments): 96 * 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.0009286/3.173, allocations: 457.6 kB / 1.933 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/3.173, allocations: 155.2 kB / 1.933 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/3.175, allocations: 0.988 MB / 1.934 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/3.175, allocations: 9.75 kB / 1.934 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/3.175, allocations: 3.969 kB / 1.934 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009469/3.176, allocations: 0.7841 MB / 1.935 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/3.18, allocations: 2.628 MB / 1.938 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/3.18, allocations: 3.812 kB / 1.938 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/3.181, allocations: 134.7 kB / 1.938 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/3.181, allocations: 72.06 kB / 1.938 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/3.181, allocations: 25.23 kB / 1.938 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/3.183, allocations: 2.973 MB / 1.941 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/3.183, allocations: 7.875 kB / 1.941 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/3.184, allocations: 1.392 MB / 1.942 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007888/3.185, allocations: 369.9 kB / 1.942 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/3.186, allocations: 19.34 kB / 1.942 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009339/3.187, allocations: 61.64 kB / 1.942 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/3.187, allocations: 54.89 kB / 1.943 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/3.187, allocations: 34.3 kB / 1.943 GB, free: 113.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00181/3.189, allocations: 1.047 MB / 1.944 GB, free: 112.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.22e-07/3.189, allocations: 4 kB / 1.944 GB, free: 112.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004034/3.193, allocations: 1.19 MB / 1.945 GB, free: 112.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (70): * Single equations (assignments): 61 * 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.003154/3.196, allocations: 1.263 MB / 1.946 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002427/3.198, allocations: 1.658 MB / 1.948 GB, free: 110.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/3.198, allocations: 7.656 kB / 1.948 GB, free: 110.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006527/3.199, allocations: 0.5889 MB / 1.948 GB, free: 110.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/3.204, allocations: 0.8153 MB / 1.949 GB, free: 109.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/3.209, allocations: 3.474 MB / 1.952 GB, free: 107.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/3.21, allocations: 1.273 MB / 1.954 GB, free: 106.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001616/3.211, allocations: 360.3 kB / 1.954 GB, free: 106.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/3.212, allocations: 132.8 kB / 1.954 GB, free: 106.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.382e-06/3.212, allocations: 0 / 1.954 GB, free: 106.3 MB / 0.948 GB Notification: Performance of Templates: time 0.06554/3.277, allocations: 41.32 MB / 1.994 GB, free: 74.3 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)