Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.001098/0.001098, allocations: 182.8 kB / 371.6 MB, free: 3.398 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.595/1.595, allocations: 205.2 MB / 0.6309 GB, free: 11.79 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.0008998/0.0009002, allocations: 92.41 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.471e-05, allocations: 4 kB / 0.8663 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2575, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8039/1.062, allocations: 149.7 MB / 1.126 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/1.062, allocations: 111 kB / 1.126 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05563/1.118, allocations: 22.19 MB / 1.148 GB, free: 24.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.753e-06/1.118, allocations: 0 / 1.148 GB, free: 24.44 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.487e-05/1.118, allocations: 12 kB / 1.148 GB, free: 24.43 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001074/1.119, allocations: 0.7534 MB / 1.149 GB, free: 23.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.119, allocations: 11.97 kB / 1.149 GB, free: 23.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/1.119, allocations: 78.42 kB / 1.149 GB, free: 23.65 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/1.119, allocations: 434 kB / 1.149 GB, free: 23.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/1.119, allocations: 36.94 kB / 1.149 GB, free: 23.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/1.12, allocations: 49.39 kB / 1.149 GB, free: 23.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/1.12, allocations: 398.4 kB / 1.149 GB, free: 23.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/1.12, allocations: 3.953 kB / 1.149 GB, free: 23.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/1.12, allocations: 20.44 kB / 1.15 GB, free: 23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/1.12, allocations: 12.75 kB / 1.15 GB, free: 22.99 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/1.121, allocations: 328 kB / 1.15 GB, free: 22.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/1.123, allocations: 1.538 MB / 1.151 GB, free: 21.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/1.124, allocations: 318.8 kB / 1.152 GB, free: 21.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/1.124, allocations: 336 kB / 1.152 GB, free: 21.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/1.124, allocations: 8.562 kB / 1.152 GB, free: 21.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/1.124, allocations: 34.17 kB / 1.152 GB, free: 21.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 1.664e-06/1.124, allocations: 0.9375 kB / 1.152 GB, free: 21.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0005452/1.125, allocations: 341.3 kB / 1.152 GB, free: 21.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/1.125, allocations: 63.36 kB / 1.152 GB, free: 21.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/1.125, allocations: 428.9 kB / 1.153 GB, free: 20.81 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.125, allocations: 33.31 kB / 1.153 GB, free: 20.78 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/1.126, allocations: 275 kB / 1.153 GB, free: 20.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/1.126, allocations: 142.1 kB / 1.153 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/1.126, allocations: 11.69 kB / 1.153 GB, free: 20.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/1.126, allocations: 360 kB / 1.154 GB, free: 20.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/1.126, allocations: 104.6 kB / 1.154 GB, free: 20.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/1.126, allocations: 112.1 kB / 1.154 GB, free: 20.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/1.126, allocations: 127.9 kB / 1.154 GB, free: 19.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.126, allocations: 8 kB / 1.154 GB, free: 19.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004569/1.127, allocations: 366.5 kB / 1.154 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.127, allocations: 4 kB / 1.154 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.127, allocations: 0.6094 kB / 1.154 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.127, allocations: 0 / 1.154 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/1.127, allocations: 130.3 kB / 1.154 GB, free: 19.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.127, allocations: 1.562 kB / 1.154 GB, free: 19.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/1.128, allocations: 52.91 kB / 1.154 GB, free: 19.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/1.128, allocations: 11.38 kB / 1.154 GB, free: 19.57 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 (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 7.504e-05/1.128, allocations: 121.6 kB / 1.155 GB, free: 19.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/1.128, allocations: 52 kB / 1.155 GB, free: 19.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/1.128, allocations: 65.53 kB / 1.155 GB, free: 19.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/1.128, allocations: 4.656 kB / 1.155 GB, free: 19.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/1.128, allocations: 3.938 kB / 1.155 GB, free: 19.37 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.128, allocations: 1.969 kB / 1.155 GB, free: 19.37 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/1.129, allocations: 0.5726 MB / 1.155 GB, free: 19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.129, allocations: 0 / 1.155 GB, free: 19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/1.129, allocations: 128.3 kB / 1.155 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.129, allocations: 1.641 kB / 1.155 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/1.129, allocations: 14.89 kB / 1.155 GB, free: 18.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/1.129, allocations: 5.422 kB / 1.155 GB, free: 18.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.129, allocations: 0 / 1.155 GB, free: 18.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/1.13, allocations: 0.6071 MB / 1.156 GB, free: 18.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/1.13, allocations: 139.8 kB / 1.156 GB, free: 18.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/1.13, allocations: 8.359 kB / 1.156 GB, free: 18.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/1.13, allocations: 31.77 kB / 1.156 GB, free: 18.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/1.131, allocations: 20.56 kB / 1.156 GB, free: 18.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/1.131, allocations: 8 kB / 1.156 GB, free: 18.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003802/1.131, allocations: 347.8 kB / 1.157 GB, free: 18.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/1.131, allocations: 0 / 1.157 GB, free: 18.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004759/1.131, allocations: 160.6 kB / 1.157 GB, free: 17.9 MB / 0.7448 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 () * 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.0004703/1.132, allocations: 267.9 kB / 1.157 GB, free: 17.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004112/1.132, allocations: 293.5 kB / 1.157 GB, free: 17.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.132, allocations: 1.219 kB / 1.157 GB, free: 17.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/1.133, allocations: 165 kB / 1.157 GB, free: 17.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/1.133, allocations: 129.2 kB / 1.157 GB, free: 17.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/1.135, allocations: 0.9194 MB / 1.158 GB, free: 16.53 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/1.135, allocations: 0.876 MB / 1.159 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001951/1.135, allocations: 61.88 kB / 1.159 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/1.135, allocations: 35.44 kB / 1.159 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/1.135, allocations: 0 / 1.159 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of Templates: time 0.01254/1.148, allocations: 7.341 MB / 1.167 GB, free: 11.31 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)