Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 293 MB / 309 MB, free: 4.809 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.001107/0.001106, allocations: 177.5 kB / 378.7 MB, free: 1.027 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.847/1.847, allocations: 205.4 MB / 0.6383 GB, free: 8.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008106/0.0008106, allocations: 93.58 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004101, allocations: 12 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 116.4 MB / 0.9905 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6929/0.9646, allocations: 149.9 MB / 1.137 GB, free: 26.87 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.9649, allocations: 111.1 kB / 1.137 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0558/1.021, allocations: 22.26 MB / 1.159 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.797e-06/1.021, allocations: 0 / 1.159 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.36e-05/1.021, allocations: 15.94 kB / 1.159 GB, free: 9.453 MB / 0.7292 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.001466/1.022, allocations: 0.827 MB / 1.159 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.022, allocations: 12.03 kB / 1.159 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/1.023, allocations: 74.16 kB / 1.16 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006142/1.023, allocations: 457.7 kB / 1.16 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/1.023, allocations: 38.03 kB / 1.16 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/1.023, allocations: 44.38 kB / 1.16 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007002/1.024, allocations: 431 kB / 1.16 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/1.024, allocations: 192 / 1.16 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/1.024, allocations: 23.94 kB / 1.161 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/1.024, allocations: 12 kB / 1.161 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006377/1.025, allocations: 375.8 kB / 1.161 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/1.027, allocations: 1.541 MB / 1.162 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/1.027, allocations: 339.7 kB / 1.163 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/1.027, allocations: 372 kB / 1.163 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/1.028, allocations: 4 kB / 1.163 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/1.028, allocations: 31.33 kB / 1.163 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=42): time 1.943e-06/1.028, allocations: 0 / 1.163 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.0008223/1.028, allocations: 0.5054 MB / 1.164 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/1.028, allocations: 55.41 kB / 1.164 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/1.029, allocations: 481.9 kB / 1.164 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/1.029, allocations: 29.7 kB / 1.164 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/1.029, allocations: 280.3 kB / 1.164 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/1.029, allocations: 149.8 kB / 1.165 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/1.029, allocations: 4 kB / 1.165 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.951e-05/1.029, allocations: 366.7 kB / 1.165 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/1.03, allocations: 128.7 kB / 1.165 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/1.03, allocations: 129.2 kB / 1.165 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/1.03, allocations: 302.3 kB / 1.165 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.03, allocations: 7.938 kB / 1.165 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005359/1.031, allocations: 396.7 kB / 1.166 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.031, allocations: 11.94 kB / 1.166 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.031, allocations: 0 / 1.166 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.031, allocations: 0 / 1.166 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/1.031, allocations: 135.8 kB / 1.166 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.031, allocations: 0 / 1.166 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/1.032, allocations: 51.66 kB / 1.166 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/1.032, allocations: 8 kB / 1.166 GB, free: 1.703 MB / 0.7292 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.0002334/1.032, allocations: 202.1 kB / 1.166 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/1.032, allocations: 55.28 kB / 1.166 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.793e-05/1.032, allocations: 61.09 kB / 1.166 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.032, allocations: 5.875 kB / 1.166 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.032, allocations: 0 / 1.166 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.032, allocations: 7.984 kB / 1.166 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/1.033, allocations: 0.5595 MB / 1.167 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.033, allocations: 4 kB / 1.167 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/1.033, allocations: 131.8 kB / 1.167 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.033, allocations: 3.938 kB / 1.167 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/1.033, allocations: 12 kB / 1.167 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.033, allocations: 3.938 kB / 1.167 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.033, allocations: 4 kB / 1.167 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/1.034, allocations: 0.6582 MB / 1.168 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/1.034, allocations: 136.4 kB / 1.168 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/1.034, allocations: 11.94 kB / 1.168 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/1.034, allocations: 26.17 kB / 1.168 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/1.034, allocations: 23.97 kB / 1.168 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/1.035, allocations: 12 kB / 1.168 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004441/1.035, allocations: 347.1 kB / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.035, allocations: 0 / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005155/1.036, allocations: 155.5 kB / 1.168 GB, free: 15.21 MB / 0.7448 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.0004089/1.036, allocations: 268.7 kB / 1.169 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005811/1.037, allocations: 335.5 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.037, allocations: 4 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/1.037, allocations: 179.8 kB / 1.169 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/1.038, allocations: 121.9 kB / 1.169 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/1.04, allocations: 1.441 MB / 1.171 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/1.04, allocations: 0.8707 MB / 1.171 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002098/1.04, allocations: 52.38 kB / 1.172 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/1.04, allocations: 35.44 kB / 1.172 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/1.04, allocations: 0 / 1.172 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of Templates: time 0.01271/1.053, allocations: 7.143 MB / 1.179 GB, free: 4.906 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)