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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.894/1.894, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.00111/0.00111, allocations: 183.5 kB / 371.8 MB, free: 10.27 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.587/1.587, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008218/0.0008219, allocations: 82.92 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004324, allocations: 11.59 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7956/1.038, allocations: 148.8 MB / 1.125 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.038, allocations: 108.9 kB / 1.125 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05158/1.09, allocations: 22.18 MB / 1.147 GB, free: 25.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.09, allocations: 0 / 1.147 GB, free: 25.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.605e-05/1.09, allocations: 15.34 kB / 1.147 GB, free: 25.09 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001168/1.091, allocations: 0.8406 MB / 1.147 GB, free: 24.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.091, allocations: 15.48 kB / 1.147 GB, free: 24.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/1.091, allocations: 69.88 kB / 1.147 GB, free: 24.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/1.092, allocations: 442.5 kB / 1.148 GB, free: 24.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/1.092, allocations: 33.44 kB / 1.148 GB, free: 24.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/1.092, allocations: 47.22 kB / 1.148 GB, free: 24.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/1.093, allocations: 425.1 kB / 1.148 GB, free: 24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/1.093, allocations: 3.953 kB / 1.148 GB, free: 23.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/1.093, allocations: 21.44 kB / 1.148 GB, free: 23.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.093, allocations: 11.5 kB / 1.148 GB, free: 23.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/1.093, allocations: 370.5 kB / 1.149 GB, free: 23.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/1.095, allocations: 1.542 MB / 1.15 GB, free: 23.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/1.095, allocations: 346.6 kB / 1.151 GB, free: 23.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/1.095, allocations: 7.828 kB / 1.151 GB, free: 23.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/1.095, allocations: 34.5 kB / 1.151 GB, free: 23.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 1.753e-06/1.095, allocations: 0 / 1.151 GB, free: 23.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.0008425/1.096, allocations: 0.506 MB / 1.151 GB, free: 22.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/1.096, allocations: 55.25 kB / 1.151 GB, free: 22.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/1.097, allocations: 429.4 kB / 1.152 GB, free: 22.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/1.097, allocations: 33.16 kB / 1.152 GB, free: 22.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/1.097, allocations: 274.4 kB / 1.152 GB, free: 22.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.912e-05/1.097, allocations: 151.4 kB / 1.152 GB, free: 22.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/1.097, allocations: 7.75 kB / 1.152 GB, free: 22.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.097, allocations: 372 kB / 1.152 GB, free: 22.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/1.098, allocations: 116.7 kB / 1.152 GB, free: 22.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/1.098, allocations: 132.9 kB / 1.153 GB, free: 22.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/1.098, allocations: 150.4 kB / 1.153 GB, free: 22.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.098, allocations: 0 / 1.153 GB, free: 22.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000571/1.099, allocations: 398.9 kB / 1.153 GB, free: 21.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.099, allocations: 7.844 kB / 1.153 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.099, allocations: 0 / 1.153 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.099, allocations: 3.844 kB / 1.153 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/1.099, allocations: 124.3 kB / 1.153 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.099, allocations: 3.875 kB / 1.153 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/1.099, allocations: 58.03 kB / 1.153 GB, free: 21.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/1.099, allocations: 7.812 kB / 1.153 GB, free: 21.88 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 (46): * Single equations (assignments): 46 * 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.0002123/1.1, allocations: 196.6 kB / 1.154 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/1.1, allocations: 50.48 kB / 1.154 GB, free: 21.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/1.1, allocations: 61.17 kB / 1.154 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.1, allocations: 3.812 kB / 1.154 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.1, allocations: 4 kB / 1.154 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.1, allocations: 3.984 kB / 1.154 GB, free: 21.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/1.1, allocations: 0.5742 MB / 1.154 GB, free: 21.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.1, allocations: 3.984 kB / 1.154 GB, free: 21.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/1.101, allocations: 130.7 kB / 1.154 GB, free: 21.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.101, allocations: 0 / 1.154 GB, free: 21.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/1.101, allocations: 11.56 kB / 1.154 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.101, allocations: 0 / 1.154 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.101, allocations: 7.938 kB / 1.154 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/1.102, allocations: 0.6688 MB / 1.155 GB, free: 20.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/1.102, allocations: 130.7 kB / 1.155 GB, free: 20.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/1.102, allocations: 10.56 kB / 1.155 GB, free: 20.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/1.102, allocations: 23.36 kB / 1.155 GB, free: 20.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/1.102, allocations: 23.47 kB / 1.155 GB, free: 20.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/1.102, allocations: 15.5 kB / 1.155 GB, free: 20.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003456/1.103, allocations: 353.2 kB / 1.156 GB, free: 20.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.103, allocations: 0 / 1.156 GB, free: 20.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004529/1.103, allocations: 154.1 kB / 1.156 GB, free: 20 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0004081/1.104, allocations: 265.9 kB / 1.156 GB, free: 19.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000532/1.104, allocations: 331.5 kB / 1.156 GB, free: 19.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.104, allocations: 0 / 1.156 GB, free: 19.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/1.105, allocations: 182.2 kB / 1.156 GB, free: 19.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/1.105, allocations: 120.8 kB / 1.157 GB, free: 19.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/1.107, allocations: 1.435 MB / 1.158 GB, free: 17.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/1.107, allocations: 0.8855 MB / 1.159 GB, free: 17.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001845/1.107, allocations: 44.38 kB / 1.159 GB, free: 17.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/1.107, allocations: 35.44 kB / 1.159 GB, free: 16.99 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/1.107, allocations: 4 kB / 1.159 GB, free: 16.98 MB / 0.698 GB Notification: Performance of Templates: time 0.01191/1.119, allocations: 7.06 MB / 1.166 GB, free: 10.07 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)