Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.736/1.736, allocations: 288.4 MB / 304.3 MB, free: 8.031 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.0009888/0.0009887, allocations: 178.1 kB / 372.9 MB, free: 10.15 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.694/1.694, allocations: 205.4 MB / 0.6317 GB, free: 9.922 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.0007808/0.000781, allocations: 104.1 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004111, allocations: 16.8 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2366, allocations: 115.3 MB / 0.9808 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7802/1.017, allocations: 148.8 MB / 1.126 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/1.017, allocations: 109.2 kB / 1.126 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04959/1.067, allocations: 22.24 MB / 1.148 GB, free: 24.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/1.067, allocations: 7.938 kB / 1.148 GB, free: 24.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.378e-05/1.067, allocations: 15.47 kB / 1.148 GB, free: 24.86 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.001097/1.068, allocations: 0.8384 MB / 1.149 GB, free: 24.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/1.068, allocations: 7.688 kB / 1.149 GB, free: 24.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.712e-05/1.068, allocations: 74.78 kB / 1.149 GB, free: 24.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/1.069, allocations: 447.2 kB / 1.149 GB, free: 23.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/1.069, allocations: 42.39 kB / 1.149 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/1.069, allocations: 45.16 kB / 1.149 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/1.069, allocations: 431.9 kB / 1.15 GB, free: 23.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/1.069, allocations: 4.156 kB / 1.15 GB, free: 23.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/1.069, allocations: 20.56 kB / 1.15 GB, free: 23.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/1.069, allocations: 11.62 kB / 1.15 GB, free: 23.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/1.07, allocations: 381 kB / 1.15 GB, free: 23.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/1.072, allocations: 1.539 MB / 1.152 GB, free: 22.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/1.072, allocations: 347.2 kB / 1.152 GB, free: 22.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004144/1.073, allocations: 352.2 kB / 1.152 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/1.073, allocations: 7.875 kB / 1.152 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/1.073, allocations: 42.31 kB / 1.152 GB, free: 22.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 2.335e-06/1.073, allocations: 0 / 1.152 GB, free: 22.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.0008273/1.074, allocations: 0.4978 MB / 1.153 GB, free: 22.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/1.074, allocations: 59.28 kB / 1.153 GB, free: 22.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/1.074, allocations: 481.2 kB / 1.153 GB, free: 22.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/1.074, allocations: 32.89 kB / 1.153 GB, free: 22.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/1.074, allocations: 275.9 kB / 1.154 GB, free: 22.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.602e-05/1.074, allocations: 146.5 kB / 1.154 GB, free: 22.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/1.074, allocations: 11.06 kB / 1.154 GB, free: 22.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.075, allocations: 367.1 kB / 1.154 GB, free: 21.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/1.075, allocations: 122.7 kB / 1.154 GB, free: 21.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/1.075, allocations: 128.3 kB / 1.154 GB, free: 21.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/1.075, allocations: 304.5 kB / 1.155 GB, free: 21.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.075, allocations: 0 / 1.155 GB, free: 21.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005898/1.076, allocations: 399.4 kB / 1.155 GB, free: 21.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.076, allocations: 7.938 kB / 1.155 GB, free: 21.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.076, allocations: 4 kB / 1.155 GB, free: 21.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.076, allocations: 0 / 1.155 GB, free: 21.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/1.077, allocations: 127 kB / 1.155 GB, free: 21.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.077, allocations: 0 / 1.155 GB, free: 21.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/1.077, allocations: 51.59 kB / 1.155 GB, free: 21.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/1.077, allocations: 11.69 kB / 1.155 GB, free: 21.3 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.0002702/1.077, allocations: 199.5 kB / 1.155 GB, free: 21.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/1.077, allocations: 58.53 kB / 1.156 GB, free: 21.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-05/1.077, allocations: 53.73 kB / 1.156 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.077, allocations: 7.938 kB / 1.156 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/1.077, allocations: 4 kB / 1.156 GB, free: 21.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.077, allocations: 7.984 kB / 1.156 GB, free: 21.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/1.078, allocations: 0.5726 MB / 1.156 GB, free: 20.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.078, allocations: 0 / 1.156 GB, free: 20.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/1.079, allocations: 127.4 kB / 1.156 GB, free: 20.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.079, allocations: 3.938 kB / 1.156 GB, free: 20.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/1.079, allocations: 9.125 kB / 1.156 GB, free: 20.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/1.079, allocations: 3.938 kB / 1.156 GB, free: 20.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.079, allocations: 4 kB / 1.156 GB, free: 20.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009698/1.08, allocations: 0.6704 MB / 1.157 GB, free: 19.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/1.08, allocations: 135.3 kB / 1.157 GB, free: 19.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/1.08, allocations: 11.56 kB / 1.157 GB, free: 19.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/1.08, allocations: 19.67 kB / 1.157 GB, free: 19.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/1.08, allocations: 27.64 kB / 1.157 GB, free: 19.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/1.08, allocations: 11.19 kB / 1.157 GB, free: 19.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003748/1.081, allocations: 346.7 kB / 1.157 GB, free: 19.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.081, allocations: 0 / 1.157 GB, free: 19.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004881/1.081, allocations: 158.7 kB / 1.158 GB, free: 19.33 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.000442/1.081, allocations: 266.5 kB / 1.158 GB, free: 19.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005674/1.082, allocations: 337.6 kB / 1.158 GB, free: 18.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.082, allocations: 0 / 1.158 GB, free: 18.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/1.082, allocations: 185.4 kB / 1.158 GB, free: 18.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/1.083, allocations: 115.2 kB / 1.158 GB, free: 18.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/1.085, allocations: 1.438 MB / 1.16 GB, free: 17.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/1.086, allocations: 0.8706 MB / 1.161 GB, free: 16.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002423/1.086, allocations: 52.36 kB / 1.161 GB, free: 16.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/1.086, allocations: 39.44 kB / 1.161 GB, free: 16.31 MB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/1.086, allocations: 0 / 1.161 GB, free: 16.31 MB / 0.698 GB Notification: Performance of Templates: time 0.01526/1.101, allocations: 7.149 MB / 1.168 GB, free: 9.316 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)