Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001151/0.001151, allocations: 180.9 kB / 366.7 MB, free: 1.648 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.541/1.541, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.000842/0.0008418, allocations: 97.88 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.806e-05, allocations: 4 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6991/0.6991, allocations: 116.3 MB / 0.9733 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.9063, allocations: 146.9 MB / 1.117 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.9067, allocations: 111.9 kB / 1.117 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04631/0.953, allocations: 17.76 MB / 1.134 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.493e-06/0.953, allocations: 0 / 1.134 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.953, allocations: 8 kB / 1.134 GB, free: 1.496 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.0007181/0.9538, allocations: 0.568 MB / 1.135 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9538, allocations: 9.438 kB / 1.135 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.9539, allocations: 47.83 kB / 1.135 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.9544, allocations: 355.6 kB / 1.135 GB, free: 452 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.9544, allocations: 8 kB / 1.135 GB, free: 444 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.9544, allocations: 12 kB / 1.135 GB, free: 432 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002362/0.9547, allocations: 126 kB / 1.135 GB, free: 308 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.955, allocations: 158.7 kB / 1.135 GB, free: 144 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.955, allocations: 0 / 1.135 GB, free: 144 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.955, allocations: 7.922 kB / 1.135 GB, free: 136 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.955, allocations: 8 kB / 1.135 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.9561, allocations: 0.8075 MB / 1.136 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.9563, allocations: 142.6 kB / 1.136 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.9565, allocations: 93.2 kB / 1.136 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.9565, allocations: 0 / 1.136 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.9565, allocations: 38.56 kB / 1.136 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 9.62e-07/0.9565, allocations: 1.875 kB / 1.136 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0003128/0.9568, allocations: 159.6 kB / 1.137 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.9569, allocations: 55.41 kB / 1.137 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.9573, allocations: 326.4 kB / 1.137 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.9573, allocations: 29.7 kB / 1.137 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.9574, allocations: 208 kB / 1.137 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.9575, allocations: 59.11 kB / 1.137 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.9575, allocations: 0 / 1.137 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.9576, allocations: 346.8 kB / 1.138 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.9577, allocations: 40 kB / 1.138 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.9578, allocations: 37.2 kB / 1.138 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.851e-05/0.9579, allocations: 54.17 kB / 1.138 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.9579, allocations: 0 / 1.138 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002227/0.9581, allocations: 173.2 kB / 1.138 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9581, allocations: 4 kB / 1.138 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.9581, allocations: 0 / 1.138 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.9581, allocations: 0 / 1.138 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.9584, allocations: 60.83 kB / 1.138 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9584, allocations: 4 kB / 1.138 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.9586, allocations: 23.83 kB / 1.138 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.9586, allocations: 11.19 kB / 1.138 GB, free: 13.37 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 7.342e-05/0.9587, allocations: 104.9 kB / 1.138 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.9587, allocations: 39.48 kB / 1.138 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.389e-05/0.9588, allocations: 35.25 kB / 1.138 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9588, allocations: 0 / 1.138 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.9588, allocations: 4 kB / 1.138 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.9588, allocations: 3.938 kB / 1.138 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.9592, allocations: 327.8 kB / 1.138 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.9592, allocations: 8 kB / 1.139 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.9595, allocations: 59.95 kB / 1.139 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.9595, allocations: 3.953 kB / 1.139 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.9595, allocations: 0 / 1.139 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.9595, allocations: 0 / 1.139 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9595, allocations: 0 / 1.139 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.9599, allocations: 324.3 kB / 1.139 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.133e-05/0.96, allocations: 112.8 kB / 1.139 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.96, allocations: 11.95 kB / 1.139 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.9602, allocations: 11.98 kB / 1.139 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.9603, allocations: 7.984 kB / 1.139 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.9603, allocations: 4 kB / 1.139 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002476/0.9605, allocations: 264.6 kB / 1.139 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9605, allocations: 0 / 1.139 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003154/0.9609, allocations: 83.67 kB / 1.139 GB, free: 11.91 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.0003599/0.9612, allocations: 258.2 kB / 1.14 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.9614, allocations: 107.9 kB / 1.14 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9615, allocations: 4 kB / 1.14 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.53e-05/0.9615, allocations: 63.94 kB / 1.14 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.962, allocations: 68.66 kB / 1.14 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008808/0.9628, allocations: 0.5227 MB / 1.14 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.9632, allocations: 0.799 MB / 1.141 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.9633, allocations: 31.28 kB / 1.141 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.9634, allocations: 27.44 kB / 1.141 GB, free: 10 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/0.9634, allocations: 7.875 kB / 1.141 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.007504/0.9709, allocations: 3.56 MB / 1.145 GB, free: 6.551 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)