Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 181.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4949/0.4949, allocations: 92 MB / 108.5 MB, free: 13.12 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 223.2 MB / 354.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009694/0.0009695, allocations: 104.2 kB / 427.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 8 kB / 0.4983 GB, free: 42.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 72.31 MB / 0.5689 GB, free: 1.887 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.274, allocations: 394.1 MB / 0.9538 GB, free: 70.36 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/1.275, allocations: 134 kB / 0.9539 GB, free: 70.28 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.383/5.658, allocations: 1.069 GB / 2.023 GB, free: 51.17 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.338e-06/5.658, allocations: 0.9062 kB / 2.023 GB, free: 51.17 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004689/5.658, allocations: 84.39 kB / 2.023 GB, free: 51.17 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01373/5.672, allocations: 3.608 MB / 2.026 GB, free: 49.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/5.672, allocations: 7.609 kB / 2.026 GB, free: 49.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/5.675, allocations: 371.9 kB / 2.027 GB, free: 49.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008798/5.683, allocations: 2.954 MB / 2.03 GB, free: 49.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/5.684, allocations: 158.8 kB / 2.03 GB, free: 49.26 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/5.684, allocations: 216.9 kB / 2.03 GB, free: 49.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004143/5.688, allocations: 2.118 MB / 2.032 GB, free: 49 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.614e-05/5.688, allocations: 9.406 kB / 2.032 GB, free: 48.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/5.689, allocations: 87.84 kB / 2.032 GB, free: 48.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/5.689, allocations: 57.86 kB / 2.032 GB, free: 48.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/5.691, allocations: 1.602 MB / 2.034 GB, free: 48.96 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/5.707, allocations: 8.85 MB / 2.043 GB, free: 46.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/5.709, allocations: 1.347 MB / 2.044 GB, free: 45.97 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/5.711, allocations: 2.918 MB / 2.047 GB, free: 42.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/5.711, allocations: 57.75 kB / 2.047 GB, free: 42.65 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=148): time 3.767e-06/5.711, allocations: 0 / 2.047 GB, free: 42.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=148): time 0.005287/5.717, allocations: 2.703 MB / 2.049 GB, free: 41.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/5.717, allocations: 94.83 kB / 2.049 GB, free: 41.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003821/5.721, allocations: 2.036 MB / 2.051 GB, free: 41.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/5.721, allocations: 55.33 kB / 2.052 GB, free: 41.49 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008313/5.722, allocations: 1.21 MB / 2.053 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/5.722, allocations: 0.5136 MB / 2.053 GB, free: 40.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/5.722, allocations: 32.22 kB / 2.053 GB, free: 40.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000105/5.722, allocations: 376.7 kB / 2.054 GB, free: 40.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007981/5.723, allocations: 0.5238 MB / 2.054 GB, free: 40.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009798/5.724, allocations: 0.8976 MB / 2.055 GB, free: 40.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009782/5.725, allocations: 0.677 MB / 2.056 GB, free: 40.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/5.725, allocations: 5.188 kB / 2.056 GB, free: 40.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003475/5.729, allocations: 1.963 MB / 2.058 GB, free: 39.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006731/5.729, allocations: 2.728 MB / 2.06 GB, free: 36.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/5.729, allocations: 13.53 kB / 2.06 GB, free: 36.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/5.73, allocations: 234.3 kB / 2.06 GB, free: 36.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/5.731, allocations: 355.8 kB / 2.061 GB, free: 36.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/5.736, allocations: 7.085 MB / 2.068 GB, free: 30.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/5.739, allocations: 272.4 kB / 2.068 GB, free: 30.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/5.739, allocations: 76.92 kB / 2.068 GB, free: 30.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/5.74, allocations: 5.281 kB / 2.068 GB, free: 30.45 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002795/5.742, allocations: 1.702 MB / 2.07 GB, free: 30.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/5.742, allocations: 12.03 kB / 2.07 GB, free: 30.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/5.743, allocations: 216.5 kB / 2.07 GB, free: 30.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/5.744, allocations: 349 kB / 2.07 GB, free: 30.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008493/5.752, allocations: 9.023 MB / 2.079 GB, free: 38.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003704/5.756, allocations: 262.6 kB / 2.079 GB, free: 38.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/5.757, allocations: 70.48 kB / 2.079 GB, free: 38.21 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (191): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002438/5.759, allocations: 0.6427 MB / 2.08 GB, free: 38.02 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009042/5.76, allocations: 257.8 kB / 2.08 GB, free: 37.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/5.763, allocations: 2.047 MB / 2.082 GB, free: 37.69 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/5.764, allocations: 17.38 kB / 2.082 GB, free: 37.69 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/5.764, allocations: 7.625 kB / 2.082 GB, free: 37.69 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002081/5.766, allocations: 1.665 MB / 2.084 GB, free: 37.35 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007654/5.773, allocations: 4.512 MB / 2.088 GB, free: 36.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/5.773, allocations: 3.75 kB / 2.088 GB, free: 36.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/5.774, allocations: 270.5 kB / 2.089 GB, free: 36.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/5.775, allocations: 214.5 kB / 2.089 GB, free: 36.65 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/5.775, allocations: 39.97 kB / 2.089 GB, free: 36.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004675/5.78, allocations: 7.097 MB / 2.096 GB, free: 30.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/5.78, allocations: 7.422 kB / 2.096 GB, free: 30.27 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/5.784, allocations: 2.768 MB / 2.098 GB, free: 29.75 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/5.786, allocations: 0.5762 MB / 2.099 GB, free: 29.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003812/5.786, allocations: 26.78 kB / 2.099 GB, free: 29.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/5.788, allocations: 156 kB / 2.099 GB, free: 29.49 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/5.788, allocations: 111.2 kB / 2.099 GB, free: 29.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/5.788, allocations: 56.83 kB / 2.099 GB, free: 29.48 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002542/5.79, allocations: 1.569 MB / 2.101 GB, free: 29.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/5.79, allocations: 0 / 2.101 GB, free: 29.34 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.007554/5.798, allocations: 1.988 MB / 2.103 GB, free: 29.02 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004243/5.802, allocations: 1.75 MB / 2.105 GB, free: 28.61 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005576/5.808, allocations: 3.6 MB / 2.108 GB, free: 27.38 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/5.808, allocations: 0 / 2.108 GB, free: 27.38 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/5.809, allocations: 1.238 MB / 2.109 GB, free: 26.92 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008599/5.818, allocations: 1.342 MB / 2.111 GB, free: 26.91 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/5.83, allocations: 6.108 MB / 2.117 GB, free: 24.34 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/5.831, allocations: 1.802 MB / 2.118 GB, free: 23.61 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003092/5.834, allocations: 0.5952 MB / 2.119 GB, free: 23.58 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/5.835, allocations: 212.6 kB / 2.119 GB, free: 23.58 MB / 0.6667 GB Notification: Performance of SimCode: time 1.082e-06/5.835, allocations: 3.625 kB / 2.119 GB, free: 23.58 MB / 0.6667 GB Notification: Performance of Templates: time 0.1148/5.95, allocations: 64.57 MB / 2.182 GB, free: 19.42 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)