Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.135/2.135, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001263, allocations: 178.9 kB / 326.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.338/2.338, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009681/0.0009679, allocations: 101.7 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005225, allocations: 11.59 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2022, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.4327, allocations: 140.2 MB / 1.036 GB, free: 5.137 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004126/0.4332, allocations: 119.9 kB / 1.037 GB, free: 5.02 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.08086/0.514, allocations: 18.05 MB / 1.054 GB, free: 2.887 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5141, allocations: 0 / 1.054 GB, free: 2.887 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.5141, allocations: 8 kB / 1.054 GB, free: 2.879 MB / 0.698 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.001329/0.5155, allocations: 0.6501 MB / 1.055 GB, free: 2.172 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5155, allocations: 12.03 kB / 1.055 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.5156, allocations: 40.47 kB / 1.055 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.5163, allocations: 354.7 kB / 1.055 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.5164, allocations: 16.75 kB / 1.055 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.5165, allocations: 28.31 kB / 1.055 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.5171, allocations: 211.8 kB / 1.055 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.5171, allocations: 192 / 1.055 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.5172, allocations: 7.938 kB / 1.055 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.5172, allocations: 7.984 kB / 1.055 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.5179, allocations: 173.7 kB / 1.056 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.5196, allocations: 0.8779 MB / 1.056 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.5201, allocations: 162.6 kB / 1.057 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.5205, allocations: 116.8 kB / 1.057 GB, free: 64 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.5206, allocations: 4 kB / 1.057 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.5206, allocations: 34.55 kB / 1.057 GB, free: 16 kB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.286e-06/0.5206, allocations: 0 / 1.057 GB, free: 16 kB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.5858/1.106, allocations: 262.2 kB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/1.107, allocations: 59.62 kB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007801/1.107, allocations: 416.9 kB / 1.057 GB, free: 148.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/1.107, allocations: 29.64 kB / 1.057 GB, free: 148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/1.108, allocations: 210.2 kB / 1.058 GB, free: 147.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/1.108, allocations: 64.38 kB / 1.058 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/1.108, allocations: 4.812 kB / 1.058 GB, free: 147.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.108, allocations: 347.1 kB / 1.058 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/1.108, allocations: 56.58 kB / 1.058 GB, free: 147.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/1.108, allocations: 65.08 kB / 1.058 GB, free: 147.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/1.109, allocations: 65.73 kB / 1.058 GB, free: 147.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.109, allocations: 0 / 1.058 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006643/1.109, allocations: 220.8 kB / 1.058 GB, free: 147.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.109, allocations: 9.5 kB / 1.058 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.109, allocations: 0 / 1.058 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.109, allocations: 5.844 kB / 1.058 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/1.11, allocations: 56.66 kB / 1.059 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/1.11, allocations: 0 / 1.059 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/1.11, allocations: 22.81 kB / 1.059 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/1.11, allocations: 7.781 kB / 1.059 GB, free: 147.5 MB / 0.698 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.0002559/1.111, allocations: 166 kB / 1.059 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/1.111, allocations: 42.53 kB / 1.059 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.435e-05/1.111, allocations: 41.36 kB / 1.059 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.111, allocations: 5.531 kB / 1.059 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.111, allocations: 0 / 1.059 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.111, allocations: 0 / 1.059 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/1.111, allocations: 373.6 kB / 1.059 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.111, allocations: 0 / 1.059 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/1.112, allocations: 59.78 kB / 1.059 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/1.112, allocations: 6.656 kB / 1.059 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/1.112, allocations: 5.062 kB / 1.059 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/1.112, allocations: 0 / 1.059 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.112, allocations: 3.75 kB / 1.059 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009528/1.113, allocations: 393.7 kB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/1.113, allocations: 125.4 kB / 1.06 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/1.113, allocations: 6.344 kB / 1.06 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/1.113, allocations: 11.41 kB / 1.06 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/1.113, allocations: 15.39 kB / 1.06 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/1.113, allocations: 6.438 kB / 1.06 GB, free: 146.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004736/1.114, allocations: 301.4 kB / 1.06 GB, free: 146.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.8e-07/1.114, allocations: 1.422 kB / 1.06 GB, free: 146.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004965/1.114, allocations: 83.39 kB / 1.06 GB, free: 146.8 MB / 0.698 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.0004613/1.115, allocations: 257.3 kB / 1.06 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000593/1.116, allocations: 161.7 kB / 1.061 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.116, allocations: 0 / 1.061 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/1.116, allocations: 88.09 kB / 1.061 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/1.117, allocations: 90.73 kB / 1.061 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/1.119, allocations: 0.8964 MB / 1.062 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/1.119, allocations: 0.797 MB / 1.062 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002338/1.119, allocations: 35.97 kB / 1.062 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/1.119, allocations: 23.69 kB / 1.062 GB, free: 145.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.605e-06/1.119, allocations: 0 / 1.062 GB, free: 145.6 MB / 0.698 GB Notification: Performance of Templates: time 0.01804/1.137, allocations: 5.249 MB / 1.068 GB, free: 145.2 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)