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.638/1.638, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001122/0.001122, allocations: 179.8 kB / 371.6 MB, free: 3.406 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.57/1.57, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0008234/0.0008235, allocations: 88.3 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.236e-05/4.24e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.264, allocations: 116.3 MB / 0.9798 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8815/1.146, allocations: 147.5 MB / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/1.146, allocations: 115.9 kB / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04541/1.191, allocations: 17.98 MB / 1.142 GB, free: 28.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.013e-06/1.192, allocations: 0 / 1.142 GB, free: 28.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.261e-05/1.192, allocations: 8 kB / 1.142 GB, free: 28.01 MB / 0.7448 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.0006902/1.192, allocations: 0.5685 MB / 1.142 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/1.192, allocations: 8.031 kB / 1.142 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/1.192, allocations: 44.38 kB / 1.142 GB, free: 27.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/1.193, allocations: 362.1 kB / 1.143 GB, free: 27.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/1.193, allocations: 19.31 kB / 1.143 GB, free: 27.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/1.193, allocations: 23.12 kB / 1.143 GB, free: 27.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/1.193, allocations: 179 kB / 1.143 GB, free: 26.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.193, allocations: 224 / 1.143 GB, free: 26.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/1.193, allocations: 10.7 kB / 1.143 GB, free: 26.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.193, allocations: 12.73 kB / 1.143 GB, free: 26.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/1.194, allocations: 136.6 kB / 1.143 GB, free: 26.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/1.195, allocations: 0.8725 MB / 1.144 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/1.195, allocations: 140.5 kB / 1.144 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/1.195, allocations: 97.58 kB / 1.144 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/1.195, allocations: 7.984 kB / 1.144 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/1.195, allocations: 36.19 kB / 1.144 GB, free: 26.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/1.195, allocations: 4 kB / 1.144 GB, free: 26.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0002935/1.195, allocations: 170.6 kB / 1.144 GB, free: 25.9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/1.195, allocations: 51.41 kB / 1.144 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/1.196, allocations: 371 kB / 1.145 GB, free: 25.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/1.196, allocations: 26.27 kB / 1.145 GB, free: 25.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.196, allocations: 209.2 kB / 1.145 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/1.196, allocations: 61.75 kB / 1.145 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/1.196, allocations: 2.875 kB / 1.145 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.196, allocations: 351.4 kB / 1.145 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.609e-05/1.196, allocations: 45.12 kB / 1.145 GB, free: 25.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/1.196, allocations: 44.72 kB / 1.145 GB, free: 24.99 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.663e-05/1.196, allocations: 51.45 kB / 1.145 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.196, allocations: 4 kB / 1.145 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002296/1.197, allocations: 182.8 kB / 1.146 GB, free: 24.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.197, allocations: 4 kB / 1.146 GB, free: 24.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.197, allocations: 0.7969 kB / 1.146 GB, free: 24.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.197, allocations: 0 / 1.146 GB, free: 24.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/1.197, allocations: 59.53 kB / 1.146 GB, free: 24.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.197, allocations: 4.797 kB / 1.146 GB, free: 24.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/1.197, allocations: 23.3 kB / 1.146 GB, free: 24.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/1.197, allocations: 4 kB / 1.146 GB, free: 24.75 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 5.48e-05/1.197, allocations: 120.6 kB / 1.146 GB, free: 24.63 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/1.197, allocations: 32.42 kB / 1.146 GB, free: 24.6 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/1.197, allocations: 42.59 kB / 1.146 GB, free: 24.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.197, allocations: 0.6562 kB / 1.146 GB, free: 24.58 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.197, allocations: 7.938 kB / 1.146 GB, free: 24.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.197, allocations: 1.125 kB / 1.146 GB, free: 24.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/1.198, allocations: 379.9 kB / 1.146 GB, free: 24.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.198, allocations: 0 / 1.146 GB, free: 24.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/1.198, allocations: 61.69 kB / 1.146 GB, free: 24.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.198, allocations: 0.7969 kB / 1.146 GB, free: 24.24 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.198, allocations: 2.25 kB / 1.146 GB, free: 24.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.198, allocations: 8 kB / 1.146 GB, free: 24.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.198, allocations: 0.7969 kB / 1.146 GB, free: 24.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/1.198, allocations: 343.6 kB / 1.147 GB, free: 23.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/1.199, allocations: 119 kB / 1.147 GB, free: 23.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/1.199, allocations: 2.25 kB / 1.147 GB, free: 23.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/1.199, allocations: 13.86 kB / 1.147 GB, free: 23.83 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/1.199, allocations: 15.66 kB / 1.147 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/1.199, allocations: 4.703 kB / 1.147 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000273/1.199, allocations: 298.3 kB / 1.147 GB, free: 23.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.322e-06/1.199, allocations: 0 / 1.147 GB, free: 23.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003388/1.2, allocations: 95.31 kB / 1.147 GB, free: 23.52 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.0003685/1.2, allocations: 269.5 kB / 1.147 GB, free: 23.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002303/1.2, allocations: 118.6 kB / 1.147 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.2, allocations: 0 / 1.147 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/1.2, allocations: 70.47 kB / 1.148 GB, free: 23.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/1.201, allocations: 93.22 kB / 1.148 GB, free: 23.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/1.202, allocations: 0.5217 MB / 1.148 GB, free: 22.67 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/1.202, allocations: 0.8144 MB / 1.149 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001285/1.202, allocations: 33.16 kB / 1.149 GB, free: 21.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/1.202, allocations: 27.44 kB / 1.149 GB, free: 21.83 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.202, allocations: 0 / 1.149 GB, free: 21.83 MB / 0.7448 GB Notification: Performance of Templates: time 0.01072/1.213, allocations: 5.517 MB / 1.154 GB, free: 18.62 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)