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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.00108/0.00108, allocations: 184.8 kB / 361.4 MB, free: 6.848 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.482/1.482, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0008346/0.0008345, allocations: 91.2 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.731e-05, allocations: 4 kB / 0.8518 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7195, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.9159, allocations: 145.9 MB / 1.107 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.9163, allocations: 109.8 kB / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0485/0.9648, allocations: 17.75 MB / 1.124 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9648, allocations: 0 / 1.124 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.9649, allocations: 4 kB / 1.124 GB, free: 8.129 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009766/0.9658, allocations: 0.5797 MB / 1.125 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.9659, allocations: 8.031 kB / 1.125 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.966, allocations: 47.83 kB / 1.125 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.9666, allocations: 351.5 kB / 1.125 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.9667, allocations: 8 kB / 1.125 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.9667, allocations: 24.2 kB / 1.125 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00028/0.967, allocations: 120.9 kB / 1.125 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.9673, allocations: 150.4 kB / 1.126 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.9674, allocations: 0 / 1.126 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.9674, allocations: 0 / 1.126 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.9674, allocations: 4 kB / 1.126 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.9686, allocations: 0.823 MB / 1.126 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.9688, allocations: 130.8 kB / 1.127 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.969, allocations: 96.81 kB / 1.127 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.969, allocations: 2.25 kB / 1.127 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.969, allocations: 30.56 kB / 1.127 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.943e-06/0.969, allocations: 4 kB / 1.127 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003345/0.9694, allocations: 158.5 kB / 1.127 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.9694, allocations: 63.31 kB / 1.127 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.9699, allocations: 330.4 kB / 1.127 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.9699, allocations: 25.7 kB / 1.127 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.9701, allocations: 204.1 kB / 1.127 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.9701, allocations: 59.11 kB / 1.127 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.9702, allocations: 0 / 1.127 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9703, allocations: 346.8 kB / 1.128 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.9704, allocations: 36 kB / 1.128 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.9705, allocations: 48.52 kB / 1.128 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.9706, allocations: 49.31 kB / 1.128 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9706, allocations: 0 / 1.128 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002367/0.9708, allocations: 166.9 kB / 1.128 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.9708, allocations: 8 kB / 1.128 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9708, allocations: 0 / 1.128 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.9709, allocations: 3.938 kB / 1.128 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.9711, allocations: 55.97 kB / 1.128 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9711, allocations: 0 / 1.128 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.9713, allocations: 27.83 kB / 1.128 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.9714, allocations: 4 kB / 1.128 GB, free: 4.004 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.028e-05/0.9714, allocations: 108.7 kB / 1.128 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.9715, allocations: 41.55 kB / 1.128 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.139e-05/0.9716, allocations: 43.23 kB / 1.128 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.9716, allocations: 3.938 kB / 1.128 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.9716, allocations: 4 kB / 1.128 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9716, allocations: 0 / 1.128 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.972, allocations: 325.9 kB / 1.129 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.972, allocations: 0 / 1.129 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.9723, allocations: 55.97 kB / 1.129 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.9723, allocations: 4 kB / 1.129 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.9723, allocations: 3.953 kB / 1.129 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.9723, allocations: 1.719 kB / 1.129 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9723, allocations: 0 / 1.129 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.9727, allocations: 332.3 kB / 1.129 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/0.9728, allocations: 108.7 kB / 1.129 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.9729, allocations: 7.938 kB / 1.129 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.9731, allocations: 8 kB / 1.129 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.9731, allocations: 11.98 kB / 1.129 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.9731, allocations: 11.98 kB / 1.129 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002913/0.9734, allocations: 260.7 kB / 1.129 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9735, allocations: 4 kB / 1.129 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003371/0.9738, allocations: 75.69 kB / 1.13 GB, free: 2.551 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0003877/0.9742, allocations: 261.9 kB / 1.13 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.9744, allocations: 108 kB / 1.13 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9744, allocations: 0 / 1.13 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.9745, allocations: 64.72 kB / 1.13 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.975, allocations: 68.06 kB / 1.13 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.976, allocations: 0.5224 MB / 1.13 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.9764, allocations: 0.8029 MB / 1.131 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.9766, allocations: 43.2 kB / 1.131 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.9766, allocations: 19.44 kB / 1.131 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.9766, allocations: 0 / 1.131 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of Templates: time 0.007566/0.9842, allocations: 3.576 MB / 1.135 GB, free: 13.19 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)