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.634/1.634, allocations: 285.4 MB / 298 MB, free: 6.02 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.001115/0.001115, allocations: 180.8 kB / 366.4 MB, free: 2.109 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.479/1.479, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0009872/0.0009872, allocations: 101.7 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.499e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7475, allocations: 115.3 MB / 0.9709 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.9668, allocations: 146.6 MB / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.9671, allocations: 111.9 kB / 1.114 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04972/1.017, allocations: 17.99 MB / 1.132 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.693e-06/1.017, allocations: 0 / 1.132 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.22e-05/1.017, allocations: 8 kB / 1.132 GB, free: 3.234 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.001066/1.018, allocations: 0.5759 MB / 1.132 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/1.018, allocations: 11.97 kB / 1.132 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/1.018, allocations: 43.83 kB / 1.132 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/1.019, allocations: 355.6 kB / 1.133 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/1.019, allocations: 12.44 kB / 1.133 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/1.019, allocations: 20 kB / 1.133 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/1.019, allocations: 181.2 kB / 1.133 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.019, allocations: 3.984 kB / 1.133 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/1.02, allocations: 19.94 kB / 1.133 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.02, allocations: 4 kB / 1.133 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/1.02, allocations: 141.7 kB / 1.133 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/1.021, allocations: 0.8624 MB / 1.134 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/1.022, allocations: 150.6 kB / 1.134 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/1.022, allocations: 102.7 kB / 1.134 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/1.022, allocations: 3.984 kB / 1.134 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/1.022, allocations: 34.56 kB / 1.134 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 3.086e-06/1.022, allocations: 0 / 1.134 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0004058/1.022, allocations: 169.2 kB / 1.134 GB, free: 396 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.022, allocations: 55.41 kB / 1.134 GB, free: 328 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/1.023, allocations: 366.9 kB / 1.135 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/1.023, allocations: 33.7 kB / 1.135 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/1.023, allocations: 216.1 kB / 1.135 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/1.023, allocations: 63.09 kB / 1.135 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/1.023, allocations: 4 kB / 1.135 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.023, allocations: 346.8 kB / 1.135 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/1.023, allocations: 40 kB / 1.135 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.359e-05/1.024, allocations: 52.64 kB / 1.135 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.418e-05/1.024, allocations: 45.7 kB / 1.136 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.024, allocations: 0 / 1.136 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000285/1.024, allocations: 182.4 kB / 1.136 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.024, allocations: 8 kB / 1.136 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.024, allocations: 0 / 1.136 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.024, allocations: 4 kB / 1.136 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/1.024, allocations: 59.91 kB / 1.136 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/1.024, allocations: 0 / 1.136 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/1.025, allocations: 23.83 kB / 1.136 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/1.025, allocations: 12 kB / 1.136 GB, free: 14.86 MB / 0.7448 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.032e-05/1.025, allocations: 108.9 kB / 1.136 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/1.025, allocations: 34.25 kB / 1.136 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.055e-05/1.025, allocations: 43.36 kB / 1.136 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.025, allocations: 7.938 kB / 1.136 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.025, allocations: 3.938 kB / 1.136 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.025, allocations: 0 / 1.136 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/1.025, allocations: 380 kB / 1.136 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.025, allocations: 0 / 1.136 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/1.026, allocations: 63.95 kB / 1.136 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.026, allocations: 4 kB / 1.136 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/1.026, allocations: 0 / 1.136 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.026, allocations: 0 / 1.136 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.026, allocations: 0 / 1.136 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/1.026, allocations: 344.7 kB / 1.137 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/1.026, allocations: 116.7 kB / 1.137 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/1.026, allocations: 8.062 kB / 1.137 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/1.026, allocations: 19.98 kB / 1.137 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/1.027, allocations: 7.984 kB / 1.137 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/1.027, allocations: 4 kB / 1.137 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003579/1.027, allocations: 297.2 kB / 1.137 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/1.027, allocations: 4 kB / 1.137 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000395/1.027, allocations: 83.78 kB / 1.137 GB, free: 13.28 MB / 0.7448 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.0004509/1.028, allocations: 256.3 kB / 1.138 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002401/1.028, allocations: 123.8 kB / 1.138 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.028, allocations: 0 / 1.138 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/1.028, allocations: 63.94 kB / 1.138 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/1.029, allocations: 90.02 kB / 1.138 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/1.03, allocations: 0.5358 MB / 1.138 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/1.03, allocations: 0.807 MB / 1.139 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001627/1.03, allocations: 38.95 kB / 1.139 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/1.031, allocations: 23.44 kB / 1.139 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/1.031, allocations: 0 / 1.139 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.01187/1.042, allocations: 5.526 MB / 1.145 GB, free: 5.926 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)