Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 184.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.1 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008858/0.0008859, allocations: 99.31 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.239e-05/4.242e-05, allocations: 4 kB / 0.7881 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2533, allocations: 106.3 MB / 0.8919 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.814/2.067, allocations: 405.9 MB / 1.288 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/2.068, allocations: 121.6 kB / 1.288 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.612/3.68, allocations: 475.6 MB / 1.753 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.805e-06/3.68, allocations: 0 / 1.753 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001573/3.68, allocations: 42.88 kB / 1.753 GB, free: 165.2 MB / 0.8698 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.004153/3.684, allocations: 1.939 MB / 1.755 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/3.684, allocations: 11.03 kB / 1.755 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/3.685, allocations: 168.2 kB / 1.755 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005165/3.685, allocations: 203.1 kB / 1.755 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/3.688, allocations: 1.699 MB / 1.757 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/3.689, allocations: 81.05 kB / 1.757 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/3.689, allocations: 115.3 kB / 1.757 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/3.69, allocations: 1.052 MB / 1.758 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/3.69, allocations: 0 / 1.758 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/3.691, allocations: 45.56 kB / 1.758 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/3.691, allocations: 23.88 kB / 1.758 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/3.692, allocations: 0.774 MB / 1.759 GB, free: 161.2 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.007681/3.7, allocations: 6.492 MB / 1.765 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009156/3.701, allocations: 0.5468 MB / 1.766 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/3.701, allocations: 337.7 kB / 1.766 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009786/3.702, allocations: 1.269 MB / 1.767 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/3.702, allocations: 45.31 kB / 1.767 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=68): time 5.441e-06/3.702, allocations: 0 / 1.767 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68): time 0.001562/3.704, allocations: 0.7157 MB / 1.768 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/3.704, allocations: 84.92 kB / 1.768 GB, free: 153 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/3.706, allocations: 1.361 MB / 1.769 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-05/3.706, allocations: 37.7 kB / 1.769 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000535/3.706, allocations: 0.7115 MB / 1.77 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/3.706, allocations: 247.6 kB / 1.77 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/3.707, allocations: 16 kB / 1.77 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/3.707, allocations: 341.9 kB / 1.771 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/3.707, allocations: 264.5 kB / 1.771 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/3.708, allocations: 496.2 kB / 1.771 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/3.708, allocations: 342.1 kB / 1.772 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/3.708, allocations: 0 / 1.772 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001524/3.71, allocations: 0.9704 MB / 1.773 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003733/3.71, allocations: 1.354 MB / 1.774 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/3.71, allocations: 6.906 kB / 1.774 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/3.71, allocations: 73.64 kB / 1.774 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/3.711, allocations: 183.7 kB / 1.774 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/3.713, allocations: 2.96 MB / 1.777 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/3.714, allocations: 153 kB / 1.777 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/3.714, allocations: 43.92 kB / 1.777 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/3.714, allocations: 7.953 kB / 1.777 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001205/3.716, allocations: 0.7996 MB / 1.778 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/3.716, allocations: 4 kB / 1.778 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/3.716, allocations: 61.7 kB / 1.778 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/3.716, allocations: 178.8 kB / 1.778 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/3.718, allocations: 2.953 MB / 1.781 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/3.719, allocations: 128.8 kB / 1.781 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/3.719, allocations: 47.5 kB / 1.781 GB, free: 139.1 MB / 0.8698 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 () * 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.0002487/3.72, allocations: 151.7 kB / 1.782 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/3.72, allocations: 162 kB / 1.782 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/3.722, allocations: 0.9666 MB / 1.783 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/3.722, allocations: 8 kB / 1.783 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/3.722, allocations: 4 kB / 1.783 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000897/3.722, allocations: 0.7724 MB / 1.783 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003946/3.726, allocations: 2.631 MB / 1.786 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/3.726, allocations: 3.953 kB / 1.786 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/3.727, allocations: 139.8 kB / 1.786 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/3.727, allocations: 72.66 kB / 1.786 GB, free: 134 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/3.727, allocations: 20 kB / 1.786 GB, free: 134 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/3.729, allocations: 2.976 MB / 1.789 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/3.729, allocations: 3.938 kB / 1.789 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/3.731, allocations: 1.584 MB / 1.791 GB, free: 129 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009986/3.732, allocations: 366.8 kB / 1.791 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004954/3.733, allocations: 23.98 kB / 1.791 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/3.734, allocations: 51.19 kB / 1.791 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/3.734, allocations: 59.5 kB / 1.791 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/3.734, allocations: 35.98 kB / 1.791 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002104/3.736, allocations: 1.064 MB / 1.792 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.61e-07/3.736, allocations: 0 / 1.792 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005754/3.742, allocations: 1.205 MB / 1.793 GB, free: 126.2 MB / 0.8698 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 () * 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.007315/3.749, allocations: 4.065 MB / 1.797 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003969/3.753, allocations: 1.692 MB / 1.799 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/3.753, allocations: 0 / 1.799 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009901/3.754, allocations: 0.5895 MB / 1.8 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005638/3.76, allocations: 0.8154 MB / 1.8 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008945/3.769, allocations: 2.811 MB / 1.803 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/3.77, allocations: 1.311 MB / 1.804 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002723/3.773, allocations: 0.4974 MB / 1.805 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008156/3.774, allocations: 0.5968 MB / 1.805 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.873e-06/3.774, allocations: 0 / 1.805 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/3.878, allocations: 59.81 MB / 1.864 GB, free: 54.86 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/3.879, allocations: 269.6 kB / 1.864 GB, free: 54.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.716/8.595, allocations: 4 kB / 1.864 GB, free: 54.52 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)