Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 285.4 MB / 298 MB, free: 5.992 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.001062/0.001062, allocations: 173 kB / 366.4 MB, free: 2.082 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.611/1.611, allocations: 205.1 MB / 0.6248 GB, free: 7.723 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 89.84 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.339e-05/5.364e-05, allocations: 4 kB / 0.8584 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7256/0.7257, allocations: 115.3 MB / 0.971 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.873, allocations: 421.6 MB / 1.383 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.873, allocations: 105.2 kB / 1.383 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.725/3.598, allocations: 0.5536 GB / 1.936 GB, free: 59.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/3.598, allocations: 4 kB / 1.936 GB, free: 59.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001055/3.598, allocations: 32 kB / 1.936 GB, free: 59.68 MB / 0.948 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.002577/3.6, allocations: 1.41 MB / 1.938 GB, free: 58.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/3.6, allocations: 16.03 kB / 1.938 GB, free: 58.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/3.601, allocations: 135.3 kB / 1.938 GB, free: 58.06 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/3.601, allocations: 150.3 kB / 1.938 GB, free: 57.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/3.603, allocations: 1.382 MB / 1.939 GB, free: 56.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/3.603, allocations: 66 kB / 1.939 GB, free: 56.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/3.603, allocations: 88.69 kB / 1.94 GB, free: 56.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/3.605, allocations: 0.8701 MB / 1.94 GB, free: 55.43 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/3.605, allocations: 3.938 kB / 1.94 GB, free: 55.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/3.605, allocations: 36 kB / 1.94 GB, free: 55.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/3.605, allocations: 24 kB / 1.94 GB, free: 55.37 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008542/3.606, allocations: 0.6013 MB / 1.941 GB, free: 54.77 MB / 0.948 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.004071/3.61, allocations: 4.328 MB / 1.945 GB, free: 50.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/3.611, allocations: 0.5207 MB / 1.946 GB, free: 49.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/3.611, allocations: 314.3 kB / 1.946 GB, free: 49.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005349/3.611, allocations: 0.6018 MB / 1.947 GB, free: 48.58 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/3.612, allocations: 47.12 kB / 1.947 GB, free: 48.53 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.955e-06/3.612, allocations: 0 / 1.947 GB, free: 48.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001093/3.613, allocations: 0.6229 MB / 1.947 GB, free: 47.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/3.613, allocations: 55.97 kB / 1.947 GB, free: 47.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/3.614, allocations: 0.7966 MB / 1.948 GB, free: 47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/3.614, allocations: 41.7 kB / 1.948 GB, free: 46.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/3.614, allocations: 0.5073 MB / 1.949 GB, free: 46.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/3.614, allocations: 205 kB / 1.949 GB, free: 46.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/3.614, allocations: 16 kB / 1.949 GB, free: 46.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.094e-05/3.614, allocations: 330 kB / 1.949 GB, free: 45.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/3.614, allocations: 189.5 kB / 1.949 GB, free: 45.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/3.615, allocations: 385.9 kB / 1.95 GB, free: 45.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/3.615, allocations: 265.8 kB / 1.95 GB, free: 44.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/3.615, allocations: 3.953 kB / 1.95 GB, free: 44.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001058/3.616, allocations: 0.7992 MB / 1.951 GB, free: 44.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002318/3.616, allocations: 1.314 MB / 1.952 GB, free: 42.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/3.616, allocations: 8 kB / 1.952 GB, free: 42.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/3.617, allocations: 131.3 kB / 1.952 GB, free: 42.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/3.617, allocations: 127.8 kB / 1.952 GB, free: 42.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/3.62, allocations: 4.818 MB / 1.957 GB, free: 37.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/3.621, allocations: 107.3 kB / 1.957 GB, free: 37.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/3.621, allocations: 32 kB / 1.957 GB, free: 37.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/3.621, allocations: 4.781 kB / 1.957 GB, free: 37.09 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001001/3.622, allocations: 0.6721 MB / 1.958 GB, free: 36.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/3.622, allocations: 8.109 kB / 1.958 GB, free: 36.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/3.622, allocations: 127.2 kB / 1.958 GB, free: 36.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/3.622, allocations: 132.1 kB / 1.958 GB, free: 36.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/3.626, allocations: 5.81 MB / 1.964 GB, free: 29.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009823/3.627, allocations: 111.3 kB / 1.964 GB, free: 29.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/3.627, allocations: 27.98 kB / 1.964 GB, free: 29.64 MB / 0.948 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 (71): * Single equations (assignments): 66 * 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%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002223/3.627, allocations: 150.9 kB / 1.964 GB, free: 29.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/3.627, allocations: 102.8 kB / 1.964 GB, free: 29.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/3.628, allocations: 0.715 MB / 1.965 GB, free: 28.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/3.628, allocations: 8 kB / 1.965 GB, free: 28.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/3.628, allocations: 4 kB / 1.965 GB, free: 28.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007708/3.629, allocations: 0.6611 MB / 1.966 GB, free: 27.93 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.002412/3.631, allocations: 1.85 MB / 1.967 GB, free: 25.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/3.631, allocations: 0 / 1.967 GB, free: 25.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/3.632, allocations: 91.89 kB / 1.967 GB, free: 25.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/3.632, allocations: 131.3 kB / 1.968 GB, free: 25.76 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/3.632, allocations: 20 kB / 1.968 GB, free: 25.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/3.634, allocations: 4.804 MB / 1.972 GB, free: 20.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/3.634, allocations: 8.156 kB / 1.972 GB, free: 20.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/3.636, allocations: 1.096 MB / 1.973 GB, free: 19.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/3.636, allocations: 275.5 kB / 1.974 GB, free: 19.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/3.636, allocations: 12 kB / 1.974 GB, free: 19.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/3.637, allocations: 67.88 kB / 1.974 GB, free: 18.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/3.637, allocations: 44.5 kB / 1.974 GB, free: 18.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.562e-05/3.637, allocations: 23.98 kB / 1.974 GB, free: 18.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008671/3.638, allocations: 0.6141 MB / 1.974 GB, free: 18.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.6e-07/3.638, allocations: 0 / 1.974 GB, free: 18.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002872/3.641, allocations: 0.7757 MB / 1.975 GB, free: 17.5 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * 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%) 2,(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.003328/3.644, allocations: 2.483 MB / 1.978 GB, free: 14.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002211/3.646, allocations: 1.741 MB / 1.979 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/3.646, allocations: 0 / 1.979 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005822/3.647, allocations: 0.6132 MB / 1.98 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/3.65, allocations: 0.5459 MB / 1.98 GB, free: 11.91 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/3.654, allocations: 1.861 MB / 1.982 GB, free: 10 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/3.654, allocations: 1.118 MB / 1.983 GB, free: 8.852 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001323/3.655, allocations: 280.2 kB / 1.984 GB, free: 8.574 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/3.656, allocations: 411.2 kB / 1.984 GB, free: 8.176 MB / 0.948 GB Notification: Performance of SimCode: time 1.233e-06/3.656, allocations: 0 / 1.984 GB, free: 8.176 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6339/4.29, allocations: 38.1 MB / 2.021 GB, free: 183 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/4.29, allocations: 260.8 kB / 2.021 GB, free: 182.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/7.547, allocations: 0 / 2.021 GB, free: 182.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)