Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.783/1.783, allocations: 288.2 MB / 303.2 MB, free: 8.215 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.001305/0.001305, allocations: 185 kB / 371.8 MB, free: 10.26 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.763/1.763, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009469/0.0009469, allocations: 89.11 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005794/0.0005794, allocations: 16.06 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2443, allocations: 115.3 MB / 0.9795 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.35, allocations: 412.2 MB / 1.382 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/1.35, allocations: 129 kB / 1.382 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.055/3.405, allocations: 477.3 MB / 1.848 GB, free: 183.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.475e-06/3.405, allocations: 0 / 1.848 GB, free: 183.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002909/3.405, allocations: 46.69 kB / 1.848 GB, free: 183.6 MB / 0.9323 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.007779/3.413, allocations: 2.262 MB / 1.851 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/3.413, allocations: 14.83 kB / 1.851 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007813/3.414, allocations: 163.5 kB / 1.851 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/3.415, allocations: 212 kB / 1.851 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005985/3.421, allocations: 1.708 MB / 1.853 GB, free: 182 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/3.422, allocations: 82.03 kB / 1.853 GB, free: 182 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000533/3.422, allocations: 112.4 kB / 1.853 GB, free: 182 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/3.425, allocations: 1.075 MB / 1.854 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.481e-05/3.426, allocations: 3.906 kB / 1.854 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/3.426, allocations: 45.28 kB / 1.854 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/3.426, allocations: 28.5 kB / 1.854 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/3.428, allocations: 0.7912 MB / 1.855 GB, free: 181.9 MB / 0.9323 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.01096/3.439, allocations: 6.48 MB / 1.861 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/3.44, allocations: 0.5469 MB / 1.862 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009516/3.441, allocations: 1.277 MB / 1.863 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/3.441, allocations: 45.44 kB / 1.863 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 3.296e-06/3.441, allocations: 0 / 1.863 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.002433/3.443, allocations: 1.154 MB / 1.864 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/3.443, allocations: 84.55 kB / 1.864 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/3.447, allocations: 1.366 MB / 1.865 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/3.447, allocations: 41.05 kB / 1.865 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007029/3.447, allocations: 0.7162 MB / 1.866 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/3.448, allocations: 240 kB / 1.866 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/3.448, allocations: 20.38 kB / 1.866 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001007/3.448, allocations: 346.7 kB / 1.867 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/3.448, allocations: 265.8 kB / 1.867 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/3.449, allocations: 0.4895 MB / 1.867 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/3.45, allocations: 355.3 kB / 1.868 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/3.45, allocations: 3.719 kB / 1.868 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002004/3.452, allocations: 0.9813 MB / 1.869 GB, free: 175 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003688/3.452, allocations: 1.35 MB / 1.87 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/3.452, allocations: 3.781 kB / 1.87 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/3.452, allocations: 80.05 kB / 1.87 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/3.453, allocations: 181.4 kB / 1.87 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/3.455, allocations: 2.995 MB / 1.873 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/3.457, allocations: 151.6 kB / 1.873 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/3.457, allocations: 42.38 kB / 1.873 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/3.457, allocations: 3.125 kB / 1.873 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001455/3.459, allocations: 0.8085 MB / 1.874 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/3.459, allocations: 11.78 kB / 1.874 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/3.459, allocations: 68.59 kB / 1.874 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/3.459, allocations: 177.7 kB / 1.874 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/3.461, allocations: 2.97 MB / 1.877 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/3.463, allocations: 135.7 kB / 1.877 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/3.463, allocations: 35.52 kB / 1.877 GB, free: 168.1 MB / 0.9323 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.001129/3.464, allocations: 453.5 kB / 1.878 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/3.464, allocations: 166.5 kB / 1.878 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/3.467, allocations: 0.9778 MB / 1.879 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/3.467, allocations: 11.44 kB / 1.879 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/3.467, allocations: 3.938 kB / 1.879 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/3.468, allocations: 0.781 MB / 1.88 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/3.473, allocations: 2.646 MB / 1.882 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/3.473, allocations: 7.594 kB / 1.882 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/3.473, allocations: 134.8 kB / 1.883 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/3.474, allocations: 75.72 kB / 1.883 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/3.474, allocations: 20.5 kB / 1.883 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/3.475, allocations: 2.99 MB / 1.886 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/3.476, allocations: 11.11 kB / 1.886 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/3.478, allocations: 1.593 MB / 1.887 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/3.479, allocations: 373.9 kB / 1.887 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004978/3.479, allocations: 21 kB / 1.887 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/3.48, allocations: 59.42 kB / 1.888 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/3.481, allocations: 58.33 kB / 1.888 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/3.481, allocations: 31.75 kB / 1.888 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002194/3.483, allocations: 1.089 MB / 1.889 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.71e-07/3.483, allocations: 5.938 kB / 1.889 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005132/3.488, allocations: 1.199 MB / 1.89 GB, free: 163 MB / 0.9323 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.006483/3.495, allocations: 4.078 MB / 1.894 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002906/3.497, allocations: 1.661 MB / 1.895 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/3.497, allocations: 3.031 kB / 1.895 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007852/3.498, allocations: 0.5907 MB / 1.896 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004286/3.503, allocations: 0.8048 MB / 1.897 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009581/3.512, allocations: 6.791 MB / 1.903 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/3.513, allocations: 1.309 MB / 1.905 GB, free: 155 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001856/3.515, allocations: 367.7 kB / 1.905 GB, free: 155 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009936/3.516, allocations: 0.6231 MB / 1.906 GB, free: 155 MB / 0.9323 GB Notification: Performance of SimCode: time 1.042e-06/3.516, allocations: 0 / 1.906 GB, free: 155 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0933/3.609, allocations: 56.29 MB / 1.961 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/3.61, allocations: 313 kB / 1.961 GB, free: 147 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.135/7.745, allocations: 0 / 1.961 GB, free: 147 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_maint.8.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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)