Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7809/0.7809, allocations: 140.1 MB / 156 MB, free: 5.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 182.3 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 426.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 86.34 kB / 0.4945 GB, free: 8.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001637/0.001637, allocations: 267.5 kB / 0.5728 GB, free: 66.25 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004549, allocations: 19.98 kB / 0.6621 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3762, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7242/1.101, allocations: 381.5 MB / 1.112 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/1.101, allocations: 133.4 kB / 1.112 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.549/2.65, allocations: 473.8 MB / 1.575 GB, free: 82.77 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.874e-06/2.65, allocations: 0 / 1.575 GB, free: 82.77 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002439/2.65, allocations: 43.98 kB / 1.575 GB, free: 82.72 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.006107/2.656, allocations: 2.25 MB / 1.577 GB, free: 80.41 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/2.656, allocations: 8.031 kB / 1.577 GB, free: 80.41 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009034/2.657, allocations: 210.6 kB / 1.577 GB, free: 80.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/2.661, allocations: 1.697 MB / 1.579 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/2.661, allocations: 88.36 kB / 1.579 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/2.661, allocations: 115.9 kB / 1.579 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/2.663, allocations: 1.083 MB / 1.58 GB, free: 77.12 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/2.663, allocations: 3.938 kB / 1.58 GB, free: 77.11 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/2.663, allocations: 40 kB / 1.58 GB, free: 77.07 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/2.663, allocations: 28 kB / 1.58 GB, free: 77.05 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/2.664, allocations: 0.7966 MB / 1.581 GB, free: 76.24 MB / 0.6667 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.006654/2.671, allocations: 6.453 MB / 1.587 GB, free: 69.19 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/2.672, allocations: 0.5595 MB / 1.588 GB, free: 68.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/2.672, allocations: 344.7 kB / 1.588 GB, free: 68.28 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008256/2.673, allocations: 1.267 MB / 1.59 GB, free: 66.74 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/2.673, allocations: 47.12 kB / 1.59 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 4.438e-06/2.673, allocations: 0 / 1.59 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.001871/2.675, allocations: 1.157 MB / 1.591 GB, free: 65.48 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/2.675, allocations: 85.67 kB / 1.591 GB, free: 65.38 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/2.677, allocations: 1.493 MB / 1.592 GB, free: 63.88 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.399e-05/2.677, allocations: 45.7 kB / 1.592 GB, free: 63.83 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/2.677, allocations: 0.7207 MB / 1.593 GB, free: 63.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/2.677, allocations: 240.5 kB / 1.593 GB, free: 62.86 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/2.678, allocations: 20 kB / 1.593 GB, free: 62.84 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.869e-05/2.678, allocations: 345.8 kB / 1.594 GB, free: 62.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/2.678, allocations: 265.9 kB / 1.594 GB, free: 62.23 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/2.678, allocations: 0.4997 MB / 1.594 GB, free: 61.65 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/2.679, allocations: 0.6945 MB / 1.595 GB, free: 60.91 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/2.679, allocations: 4 kB / 1.595 GB, free: 60.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001339/2.681, allocations: 0.9738 MB / 1.596 GB, free: 59.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/2.681, allocations: 191.8 kB / 1.596 GB, free: 59.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/2.681, allocations: 4 kB / 1.596 GB, free: 59.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/2.681, allocations: 81.67 kB / 1.596 GB, free: 59.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/2.682, allocations: 179.7 kB / 1.596 GB, free: 59.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/2.683, allocations: 2.991 MB / 1.599 GB, free: 56.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/2.684, allocations: 143 kB / 1.599 GB, free: 56.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/2.685, allocations: 39.98 kB / 1.599 GB, free: 55.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/2.685, allocations: 5.719 kB / 1.599 GB, free: 55.98 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001132/2.686, allocations: 0.8173 MB / 1.6 GB, free: 55.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/2.686, allocations: 8 kB / 1.6 GB, free: 55.15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/2.686, allocations: 62.06 kB / 1.6 GB, free: 55.08 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/2.686, allocations: 179.8 kB / 1.601 GB, free: 54.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/2.688, allocations: 2.96 MB / 1.603 GB, free: 51.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/2.689, allocations: 135 kB / 1.604 GB, free: 51.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/2.689, allocations: 36 kB / 1.604 GB, free: 51.52 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008569/2.69, allocations: 448.9 kB / 1.604 GB, free: 51.07 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/2.69, allocations: 158 kB / 1.604 GB, free: 50.91 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/2.692, allocations: 0.9848 MB / 1.605 GB, free: 49.91 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/2.692, allocations: 11.98 kB / 1.605 GB, free: 49.89 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/2.692, allocations: 0 / 1.605 GB, free: 49.89 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008375/2.692, allocations: 0.7849 MB / 1.606 GB, free: 49.07 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/2.696, allocations: 2.627 MB / 1.608 GB, free: 46.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/2.696, allocations: 4 kB / 1.608 GB, free: 46.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/2.696, allocations: 135.8 kB / 1.609 GB, free: 46.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/2.697, allocations: 76.72 kB / 1.609 GB, free: 46.08 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/2.697, allocations: 16.34 kB / 1.609 GB, free: 46.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/2.698, allocations: 2.98 MB / 1.612 GB, free: 42.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.698, allocations: 4 kB / 1.612 GB, free: 42.82 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/2.7, allocations: 1.398 MB / 1.613 GB, free: 41.36 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/2.7, allocations: 362.8 kB / 1.613 GB, free: 40.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/2.701, allocations: 19.98 kB / 1.613 GB, free: 40.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/2.701, allocations: 55.88 kB / 1.613 GB, free: 40.91 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/2.701, allocations: 64.36 kB / 1.613 GB, free: 40.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/2.701, allocations: 31.98 kB / 1.613 GB, free: 40.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001301/2.703, allocations: 1.049 MB / 1.614 GB, free: 39.77 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/2.703, allocations: 0 / 1.614 GB, free: 39.77 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004372/2.707, allocations: 1.193 MB / 1.616 GB, free: 38.58 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003524/2.711, allocations: 1.247 MB / 1.617 GB, free: 37.38 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002522/2.713, allocations: 1.674 MB / 1.618 GB, free: 35.64 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/2.713, allocations: 0 / 1.618 GB, free: 35.64 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005886/2.714, allocations: 0.5875 MB / 1.619 GB, free: 35.03 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004132/2.718, allocations: 0.8126 MB / 1.62 GB, free: 34.24 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/2.722, allocations: 3.475 MB / 1.623 GB, free: 30.74 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/2.723, allocations: 1.278 MB / 1.625 GB, free: 29.43 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001436/2.724, allocations: 372.1 kB / 1.625 GB, free: 29.07 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/2.724, allocations: 127.4 kB / 1.625 GB, free: 28.95 MB / 0.6667 GB Notification: Performance of SimCode: time 7.81e-07/2.724, allocations: 0 / 1.625 GB, free: 28.95 MB / 0.6667 GB Notification: Performance of Templates: time 0.06125/2.786, allocations: 41.35 MB / 1.665 GB, free: 3.918 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)