Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.001255, allocations: 171.7 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4682/0.4682, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 348.4 MB, free: 5.004 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000787/0.000787, allocations: 94.64 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 16 kB / 0.4901 GB, free: 7.965 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3151, allocations: 71.01 MB / 0.5595 GB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8968/1.212, allocations: 391.8 MB / 0.9421 GB, free: 232.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/1.212, allocations: 133.9 kB / 0.9422 GB, free: 232.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.041/4.253, allocations: 1.035 GB / 1.977 GB, free: 53.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/4.253, allocations: 0 / 1.977 GB, free: 53.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002833/4.253, allocations: 79.97 kB / 1.977 GB, free: 53.94 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.009264/4.263, allocations: 3.571 MB / 1.981 GB, free: 52.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/4.263, allocations: 7.656 kB / 1.981 GB, free: 52.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/4.264, allocations: 376.2 kB / 1.981 GB, free: 52.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005642/4.27, allocations: 2.891 MB / 1.984 GB, free: 51.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/4.27, allocations: 165.2 kB / 1.984 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/4.27, allocations: 217 kB / 1.985 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003398/4.274, allocations: 2.124 MB / 1.987 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.588e-05/4.274, allocations: 13.44 kB / 1.987 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/4.274, allocations: 86.38 kB / 1.987 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/4.274, allocations: 50.38 kB / 1.987 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002525/4.276, allocations: 1.606 MB / 1.988 GB, free: 51.14 MB / 0.6355 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.01166/4.288, allocations: 8.803 MB / 1.997 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/4.29, allocations: 1.348 MB / 1.998 GB, free: 48.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009806/4.291, allocations: 0.8654 MB / 1.999 GB, free: 48.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/4.292, allocations: 2.918 MB / 2.002 GB, free: 44.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/4.292, allocations: 50.86 kB / 2.002 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=148): time 4.358e-06/4.292, allocations: 5.688 kB / 2.002 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=148): time 0.004937/4.297, allocations: 2.767 MB / 2.005 GB, free: 43.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/4.297, allocations: 98.48 kB / 2.005 GB, free: 43.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004647/4.302, allocations: 2.199 MB / 2.007 GB, free: 43.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001697/4.302, allocations: 53.39 kB / 2.007 GB, free: 43.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009304/4.303, allocations: 1.199 MB / 2.008 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/4.304, allocations: 0.512 MB / 2.009 GB, free: 42.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/4.304, allocations: 33.38 kB / 2.009 GB, free: 42.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001076/4.304, allocations: 370.7 kB / 2.009 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008218/4.305, allocations: 0.5283 MB / 2.01 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/4.306, allocations: 0.9097 MB / 2.01 GB, free: 42.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/4.308, allocations: 1.426 MB / 2.012 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/4.308, allocations: 5 kB / 2.012 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003541/4.311, allocations: 1.995 MB / 2.014 GB, free: 41.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/4.311, allocations: 294.4 kB / 2.014 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/4.311, allocations: 14.03 kB / 2.014 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008266/4.312, allocations: 266.6 kB / 2.014 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/4.313, allocations: 351.2 kB / 2.015 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/4.317, allocations: 7.059 MB / 2.022 GB, free: 34.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/4.319, allocations: 274.8 kB / 2.022 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/4.319, allocations: 72.58 kB / 2.022 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/4.319, allocations: 3.906 kB / 2.022 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002544/4.322, allocations: 1.701 MB / 2.024 GB, free: 34.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/4.322, allocations: 11.42 kB / 2.024 GB, free: 34.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004224/4.322, allocations: 212.7 kB / 2.024 GB, free: 34.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/4.323, allocations: 352 kB / 2.024 GB, free: 34.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/4.328, allocations: 8.975 MB / 2.033 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/4.331, allocations: 260 kB / 2.033 GB, free: 26.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/4.331, allocations: 73.2 kB / 2.033 GB, free: 26.65 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002405/4.333, allocations: 0.6497 MB / 2.034 GB, free: 42.46 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008215/4.334, allocations: 255.1 kB / 2.034 GB, free: 42.33 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/4.338, allocations: 2.032 MB / 2.036 GB, free: 42.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/4.338, allocations: 27.75 kB / 2.036 GB, free: 42.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/4.338, allocations: 0 / 2.036 GB, free: 42.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00215/4.34, allocations: 1.665 MB / 2.038 GB, free: 41.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007527/4.348, allocations: 4.483 MB / 2.042 GB, free: 41.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/4.348, allocations: 5.547 kB / 2.042 GB, free: 41.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/4.349, allocations: 276.6 kB / 2.042 GB, free: 41.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004474/4.349, allocations: 221.5 kB / 2.043 GB, free: 41.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-05/4.349, allocations: 38.72 kB / 2.043 GB, free: 41.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/4.354, allocations: 7.059 MB / 2.049 GB, free: 34.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/4.354, allocations: 3.844 kB / 2.049 GB, free: 34.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004058/4.358, allocations: 2.696 MB / 2.052 GB, free: 34.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/4.359, allocations: 0.5555 MB / 2.053 GB, free: 34.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006356/4.36, allocations: 39.16 kB / 2.053 GB, free: 34.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/4.362, allocations: 152.4 kB / 2.053 GB, free: 34.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/4.362, allocations: 106.1 kB / 2.053 GB, free: 34.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/4.362, allocations: 54.3 kB / 2.053 GB, free: 34.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002599/4.365, allocations: 1.492 MB / 2.054 GB, free: 33.87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/4.365, allocations: 0 / 2.054 GB, free: 33.87 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006724/4.371, allocations: 1.961 MB / 2.056 GB, free: 33.56 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003927/4.375, allocations: 1.718 MB / 2.058 GB, free: 33.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005433/4.381, allocations: 3.585 MB / 2.062 GB, free: 31.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/4.381, allocations: 2.688 kB / 2.062 GB, free: 31.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/4.382, allocations: 1.242 MB / 2.063 GB, free: 31.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007362/4.39, allocations: 1.35 MB / 2.064 GB, free: 31.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008731/4.398, allocations: 6.105 MB / 2.07 GB, free: 28.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/4.4, allocations: 1.742 MB / 2.072 GB, free: 27.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002867/4.403, allocations: 0.5868 MB / 2.072 GB, free: 27.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/4.404, allocations: 213.8 kB / 2.073 GB, free: 27.59 MB / 0.6511 GB Notification: Performance of SimCode: time 7.12e-07/4.404, allocations: 0 / 2.073 GB, free: 27.59 MB / 0.6511 GB Notification: Performance of Templates: time 0.409/4.813, allocations: 65.01 MB / 2.136 GB, free: 69.72 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)