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.696/1.696, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001311/0.001311, allocations: 185 kB / 377.1 MB, free: 1.531 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.981/1.981, allocations: 205.4 MB / 0.6367 GB, free: 8.539 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.001026/0.001026, allocations: 85.5 kB / 0.751 GB, free: 63.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 15.98 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3051, allocations: 116.3 MB / 0.9884 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8585/1.164, allocations: 147.6 MB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/1.164, allocations: 115.2 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04999/1.214, allocations: 17.98 MB / 1.15 GB, free: 16.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.554e-06/1.214, allocations: 4 kB / 1.15 GB, free: 16.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.428e-05/1.214, allocations: 4 kB / 1.15 GB, free: 16.05 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.00102/1.215, allocations: 0.6564 MB / 1.151 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/1.215, allocations: 12.58 kB / 1.151 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/1.215, allocations: 47.44 kB / 1.151 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/1.216, allocations: 349.5 kB / 1.151 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/1.216, allocations: 16.44 kB / 1.151 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/1.216, allocations: 20 kB / 1.151 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/1.216, allocations: 204.9 kB / 1.152 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.216, allocations: 0.8438 kB / 1.152 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/1.216, allocations: 8 kB / 1.152 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/1.216, allocations: 8 kB / 1.152 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/1.217, allocations: 175.4 kB / 1.152 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/1.218, allocations: 0.8781 MB / 1.153 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/1.218, allocations: 166.6 kB / 1.153 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/1.218, allocations: 4 kB / 1.153 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/1.218, allocations: 34.56 kB / 1.153 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/1.218, allocations: 0 / 1.153 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0006073/1.219, allocations: 269.4 kB / 1.153 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.219, allocations: 59.34 kB / 1.153 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/1.22, allocations: 374.9 kB / 1.153 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/1.22, allocations: 25.7 kB / 1.153 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/1.22, allocations: 206.3 kB / 1.154 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/1.22, allocations: 67.89 kB / 1.154 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/1.22, allocations: 0 / 1.154 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.22, allocations: 346.9 kB / 1.154 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/1.22, allocations: 68.28 kB / 1.154 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/1.22, allocations: 62.97 kB / 1.154 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/1.22, allocations: 70.7 kB / 1.154 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/1.221, allocations: 0 / 1.154 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003395/1.221, allocations: 212.9 kB / 1.154 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.221, allocations: 8 kB / 1.154 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.221, allocations: 1.875 kB / 1.154 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.221, allocations: 4 kB / 1.154 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/1.221, allocations: 61.36 kB / 1.154 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/1.221, allocations: 1.25 kB / 1.154 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/1.221, allocations: 24.06 kB / 1.155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/1.221, allocations: 13.22 kB / 1.155 GB, free: 11.88 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 (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 0.0001685/1.222, allocations: 170.7 kB / 1.155 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/1.222, allocations: 35.53 kB / 1.155 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.337e-05/1.222, allocations: 40.39 kB / 1.155 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.222, allocations: 0 / 1.155 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/1.222, allocations: 1.547 kB / 1.155 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-06/1.222, allocations: 4 kB / 1.155 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/1.222, allocations: 378.9 kB / 1.155 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.222, allocations: 0 / 1.155 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/1.222, allocations: 57.23 kB / 1.155 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.222, allocations: 0 / 1.155 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/1.223, allocations: 7.969 kB / 1.155 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.223, allocations: 4 kB / 1.155 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.223, allocations: 1.406 kB / 1.155 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/1.223, allocations: 392.8 kB / 1.156 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/1.223, allocations: 117 kB / 1.156 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/1.223, allocations: 4 kB / 1.156 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/1.223, allocations: 18.59 kB / 1.156 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/1.224, allocations: 8.219 kB / 1.156 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/1.224, allocations: 5.125 kB / 1.156 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003349/1.224, allocations: 303 kB / 1.156 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.224, allocations: 0 / 1.156 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004061/1.224, allocations: 87.84 kB / 1.156 GB, free: 10.35 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 () * Number of clocked 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.0004923/1.225, allocations: 264.7 kB / 1.156 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000376/1.225, allocations: 147.7 kB / 1.156 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.225, allocations: 4 kB / 1.156 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/1.225, allocations: 80.75 kB / 1.157 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/1.226, allocations: 94.12 kB / 1.157 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/1.227, allocations: 0.8977 MB / 1.158 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/1.228, allocations: 0.7994 MB / 1.158 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001384/1.228, allocations: 35.89 kB / 1.158 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/1.228, allocations: 23.44 kB / 1.158 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/1.228, allocations: 0 / 1.158 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.009638/1.237, allocations: 5.241 MB / 1.163 GB, free: 3.188 MB / 0.7292 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)