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.601/1.601, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001057/0.001057, allocations: 180.8 kB / 366.7 MB, free: 1.656 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.599/1.599, allocations: 205.2 MB / 0.626 GB, free: 7.195 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.0008915/0.0008916, allocations: 91.59 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.841e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6888/0.6888, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2119/0.9007, allocations: 149 MB / 1.119 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.9011, allocations: 115.9 kB / 1.119 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05749/0.9586, allocations: 21.93 MB / 1.14 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9586, allocations: 0 / 1.14 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.555e-05/0.9587, allocations: 12 kB / 1.14 GB, free: 11.2 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.001398/0.9601, allocations: 0.7517 MB / 1.141 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.9601, allocations: 8.031 kB / 1.141 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.9603, allocations: 75.09 kB / 1.141 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007607/0.9611, allocations: 442.9 kB / 1.142 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.9611, allocations: 12 kB / 1.142 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.17e-05/0.9612, allocations: 28 kB / 1.142 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005953/0.9618, allocations: 306.6 kB / 1.142 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.9625, allocations: 340 kB / 1.142 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.9625, allocations: 0 / 1.142 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.9625, allocations: 0 / 1.142 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.9626, allocations: 12 kB / 1.142 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.9649, allocations: 1.438 MB / 1.144 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.9653, allocations: 295 kB / 1.144 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.9658, allocations: 279.9 kB / 1.144 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.9658, allocations: 4 kB / 1.144 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.9658, allocations: 38.56 kB / 1.144 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/0.9659, allocations: 4 kB / 1.144 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0005956/0.9665, allocations: 313.3 kB / 1.145 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.9665, allocations: 55.41 kB / 1.145 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/0.967, allocations: 369.3 kB / 1.145 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.9671, allocations: 29.64 kB / 1.145 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.9673, allocations: 272.1 kB / 1.145 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.9674, allocations: 145.8 kB / 1.145 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.9674, allocations: 0 / 1.145 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.9676, allocations: 362.8 kB / 1.146 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.9678, allocations: 96.75 kB / 1.146 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.968, allocations: 102.9 kB / 1.146 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.9681, allocations: 121.8 kB / 1.146 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9682, allocations: 0 / 1.146 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004857/0.9686, allocations: 329.1 kB / 1.146 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.9687, allocations: 8 kB / 1.146 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9687, allocations: 0 / 1.146 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.9687, allocations: 0 / 1.146 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.9692, allocations: 131.9 kB / 1.146 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.9692, allocations: 0 / 1.146 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.9695, allocations: 36.44 kB / 1.147 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.9695, allocations: 16 kB / 1.147 GB, free: 4.652 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 0.0001211/0.9697, allocations: 120.8 kB / 1.147 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.9697, allocations: 43.44 kB / 1.147 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.9699, allocations: 48.97 kB / 1.147 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.9699, allocations: 4 kB / 1.147 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.9699, allocations: 3.438 kB / 1.147 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.9699, allocations: 7.922 kB / 1.147 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.9705, allocations: 0.4976 MB / 1.147 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9705, allocations: 0 / 1.147 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.971, allocations: 127.9 kB / 1.147 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.9711, allocations: 4 kB / 1.147 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.9711, allocations: 4 kB / 1.147 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.9711, allocations: 3.469 kB / 1.147 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9711, allocations: 0 / 1.147 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.9719, allocations: 0.565 MB / 1.148 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.972, allocations: 136.4 kB / 1.148 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.9721, allocations: 0 / 1.148 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.9723, allocations: 20.06 kB / 1.148 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.9724, allocations: 31.89 kB / 1.148 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.9724, allocations: 12 kB / 1.148 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003262/0.9727, allocations: 295 kB / 1.148 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9727, allocations: 8 kB / 1.148 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004112/0.9732, allocations: 139.4 kB / 1.149 GB, free: 2.531 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.0004008/0.9736, allocations: 261.9 kB / 1.149 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.974, allocations: 275.8 kB / 1.149 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.974, allocations: 4 kB / 1.149 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.9742, allocations: 155.7 kB / 1.149 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.9747, allocations: 75.3 kB / 1.149 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.9763, allocations: 0.8967 MB / 1.15 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.9768, allocations: 0.8783 MB / 1.151 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.977, allocations: 47.39 kB / 1.151 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.08e-05/0.9771, allocations: 31.44 kB / 1.151 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of SimCode: time 2.21e-07/0.9771, allocations: 3.844 kB / 1.151 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of Templates: time 0.01088/0.988, allocations: 4.833 MB / 1.156 GB, free: 11.19 MB / 0.7605 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)