Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.092/2.092, allocations: 251.1 MB / 266.7 MB, free: 11.66 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.00137/0.00137, allocations: 182.2 kB / 326.2 MB, free: 2.887 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.321/2.321, allocations: 205.4 MB / 0.5772 GB, free: 21.21 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.0009108/0.0009107, allocations: 84.11 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004774, allocations: 18.94 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2351/0.4409, allocations: 142.3 MB / 1.038 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004186/0.4414, allocations: 119.9 kB / 1.039 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6604/1.102, allocations: 22.23 MB / 1.06 GB, free: 147.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/1.102, allocations: 5.062 kB / 1.06 GB, free: 147.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.938e-05/1.102, allocations: 11.34 kB / 1.06 GB, free: 147.5 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001838/1.104, allocations: 0.8427 MB / 1.061 GB, free: 147 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.104, allocations: 13.98 kB / 1.061 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/1.104, allocations: 71.38 kB / 1.061 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000832/1.105, allocations: 440.6 kB / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/1.105, allocations: 38.31 kB / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/1.105, allocations: 48.53 kB / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/1.106, allocations: 428.9 kB / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/1.106, allocations: 4.266 kB / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/1.106, allocations: 20.69 kB / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/1.106, allocations: 11.38 kB / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/1.108, allocations: 374.5 kB / 1.063 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/1.112, allocations: 1.544 MB / 1.064 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/1.113, allocations: 336.8 kB / 1.064 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/1.114, allocations: 360.7 kB / 1.065 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/1.114, allocations: 2.938 kB / 1.065 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.114, allocations: 44.48 kB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 3.587e-06/1.114, allocations: 0 / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.001511/1.115, allocations: 0.5003 MB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/1.115, allocations: 58.02 kB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008397/1.116, allocations: 482.4 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/1.116, allocations: 35.92 kB / 1.066 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/1.117, allocations: 272.4 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/1.117, allocations: 152.7 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/1.117, allocations: 3.25 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.117, allocations: 361.4 kB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/1.117, allocations: 123.7 kB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/1.118, allocations: 132.9 kB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/1.118, allocations: 139.8 kB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.118, allocations: 0 / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001205/1.12, allocations: 404.5 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.12, allocations: 12 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.12, allocations: 0.6094 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/1.12, allocations: 5.344 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.121, allocations: 130.5 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.121, allocations: 2.344 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/1.121, allocations: 48.73 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/1.121, allocations: 21.66 kB / 1.068 GB, free: 145.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003995/1.122, allocations: 191.8 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.122, allocations: 55.75 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/1.122, allocations: 63.09 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.122, allocations: 4 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/1.122, allocations: 5.469 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/1.122, allocations: 1.406 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/1.124, allocations: 0.5729 MB / 1.068 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.124, allocations: 4 kB / 1.068 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/1.125, allocations: 125.5 kB / 1.069 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.125, allocations: 5.125 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/1.125, allocations: 7.188 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/1.125, allocations: 6.203 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.125, allocations: 0 / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/1.127, allocations: 0.6625 MB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/1.127, allocations: 136.1 kB / 1.069 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.127, allocations: 10.5 kB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/1.128, allocations: 23.98 kB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.128, allocations: 24.33 kB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/1.128, allocations: 11.47 kB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006899/1.128, allocations: 349.7 kB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.264e-06/1.128, allocations: 0.8438 kB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008029/1.129, allocations: 161.4 kB / 1.07 GB, free: 144.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005771/1.13, allocations: 265.6 kB / 1.07 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001175/1.131, allocations: 325.6 kB / 1.07 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.131, allocations: 3.812 kB / 1.07 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000534/1.132, allocations: 188.2 kB / 1.071 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.133, allocations: 113.2 kB / 1.071 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/1.137, allocations: 1.447 MB / 1.072 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/1.139, allocations: 0.8671 MB / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007531/1.14, allocations: 53.36 kB / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/1.14, allocations: 34.66 kB / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.593e-06/1.14, allocations: 0 / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of Templates: time 0.02913/1.169, allocations: 7.071 MB / 1.08 GB, free: 142.3 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)