Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",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.347/1.347, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 189.4 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.000943/0.0009429, allocations: 87.86 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003527, allocations: 10.22 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2447, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8841/1.129, allocations: 414 MB / 1.304 GB, free: 2.156 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/1.129, allocations: 107.4 kB / 1.305 GB, free: 2.094 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.944/3.074, allocations: 0.5401 GB / 1.845 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.976e-06/3.074, allocations: 2.625 kB / 1.845 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001164/3.074, allocations: 32.8 kB / 1.845 GB, free: 206.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003506/3.077, allocations: 1.637 MB / 1.846 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/3.077, allocations: 7.812 kB / 1.846 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/3.077, allocations: 135.1 kB / 1.846 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003404/3.078, allocations: 146.9 kB / 1.847 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/3.08, allocations: 1.397 MB / 1.848 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/3.08, allocations: 68.12 kB / 1.848 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/3.081, allocations: 93.28 kB / 1.848 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/3.082, allocations: 0.8763 MB / 1.849 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/3.082, allocations: 3.469 kB / 1.849 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/3.082, allocations: 38.52 kB / 1.849 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/3.082, allocations: 29.34 kB / 1.849 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008957/3.083, allocations: 0.6153 MB / 1.85 GB, free: 205.1 MB / 0.8855 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.004433/3.087, allocations: 4.304 MB / 1.854 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008253/3.088, allocations: 0.5279 MB / 1.854 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/3.089, allocations: 0.6002 MB / 1.855 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/3.089, allocations: 41.91 kB / 1.855 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 2.955e-06/3.089, allocations: 3.656 kB / 1.855 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.002096/3.091, allocations: 1.241 MB / 1.856 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/3.091, allocations: 62.78 kB / 1.856 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009312/3.092, allocations: 0.799 MB / 1.857 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/3.092, allocations: 39.52 kB / 1.857 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/3.092, allocations: 0.507 MB / 1.858 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/3.092, allocations: 202.8 kB / 1.858 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/3.092, allocations: 10.56 kB / 1.858 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/3.092, allocations: 334.8 kB / 1.858 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/3.093, allocations: 199.6 kB / 1.858 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/3.093, allocations: 396.4 kB / 1.859 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/3.094, allocations: 262.6 kB / 1.859 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/3.094, allocations: 3.906 kB / 1.859 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001156/3.095, allocations: 0.8079 MB / 1.86 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002727/3.095, allocations: 1.313 MB / 1.861 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/3.095, allocations: 6.422 kB / 1.861 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003782/3.095, allocations: 136.9 kB / 1.861 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/3.096, allocations: 128 kB / 1.861 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/3.098, allocations: 4.974 MB / 1.866 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/3.1, allocations: 119.7 kB / 1.866 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/3.1, allocations: 27.38 kB / 1.866 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/3.1, allocations: 3.938 kB / 1.866 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/3.101, allocations: 0.6803 MB / 1.867 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/3.101, allocations: 5.375 kB / 1.867 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/3.101, allocations: 134.1 kB / 1.867 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/3.101, allocations: 127.7 kB / 1.867 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/3.105, allocations: 6.008 MB / 1.873 GB, free: 189 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/3.106, allocations: 109.2 kB / 1.873 GB, free: 189 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/3.106, allocations: 25.91 kB / 1.873 GB, free: 189 MB / 0.8855 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 (70): * Single equations (assignments): 65 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007292/3.106, allocations: 375.7 kB / 1.874 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/3.107, allocations: 101.8 kB / 1.874 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/3.108, allocations: 0.725 MB / 1.874 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/3.108, allocations: 5.984 kB / 1.874 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/3.108, allocations: 3.031 kB / 1.874 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008044/3.109, allocations: 0.6723 MB / 1.875 GB, free: 188.4 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.002542/3.111, allocations: 1.851 MB / 1.877 GB, free: 188 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/3.111, allocations: 0 / 1.877 GB, free: 188 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/3.112, allocations: 92.41 kB / 1.877 GB, free: 188 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002826/3.112, allocations: 128.4 kB / 1.877 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/3.112, allocations: 15.11 kB / 1.877 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/3.114, allocations: 4.988 MB / 1.882 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/3.114, allocations: 0 / 1.882 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/3.116, allocations: 1.113 MB / 1.883 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/3.116, allocations: 268.6 kB / 1.883 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/3.116, allocations: 18.94 kB / 1.883 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/3.117, allocations: 61.28 kB / 1.883 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/3.117, allocations: 46.59 kB / 1.883 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/3.117, allocations: 20.8 kB / 1.883 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008087/3.118, allocations: 0.6258 MB / 1.884 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/3.118, allocations: 0 / 1.884 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002687/3.121, allocations: 0.7769 MB / 1.885 GB, free: 182.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002862/3.124, allocations: 2.493 MB / 1.887 GB, free: 181.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00223/3.126, allocations: 1.756 MB / 1.889 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/3.126, allocations: 0 / 1.889 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006506/3.127, allocations: 0.6219 MB / 1.89 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/3.129, allocations: 0.5459 MB / 1.89 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/3.134, allocations: 5.256 MB / 1.895 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/3.135, allocations: 1.116 MB / 1.896 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00103/3.136, allocations: 221.5 kB / 1.896 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/3.136, allocations: 427.1 kB / 1.897 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.203e-06/3.136, allocations: 0 / 1.897 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06411/3.2, allocations: 35.76 MB / 1.932 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/3.201, allocations: 292.8 kB / 1.932 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/6.298, allocations: 0 / 1.932 GB, free: 157.9 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)